-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "Definition of dllimport function not allowed" for clear project #20400
Comments
If you used the default Visual Studio project in the proj.win32 folder, then that may be the problem. Create a new project with CMake. Install CMake on your system, then follow the instructions here: For VS2019, you can use this to generate the Win32 project:
|
I use now cocos2d-x v 4.0 as it outperforms v 3.17. Creating a clear win 32 project with Cmake displays now other default errors in error log. Windows 10
|
Do a test:
See if that works. If it does, then the issue you're having is in your own code. |
Steps to Reproduce:
First error of 3 leads to https://github.com/irontec/Ikasesteka/blob/master/Ikasesteka/cocos2d/cocos/base/CCConsole.h#L60
The text was updated successfully, but these errors were encountered: