-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
LNK2019 / LNK2001 / LNK1120 Error [VS2017] #206
Comments
I don't have VS, and an internal compiler error isn't something I can do a lot about... |
Have you installed all of the latest SV updates, including spot patches? |
It looks like you don't have EntityX .cpp files (all those functions are defined in them). |
If you want the .lib files, build with cmake ENTITYX_BUILD_SHARED disabled So now you go back in your project and: [All Configuration] C/C++ / Additional Include Directories entityx folder where .h files are. [DEBUG] Linker / input add entityx-d.lib And there you go. I can attach mine here but are compiled with /MT and /MTd because i need the project work with RakNet files, so if you want to use them you have to change these flag under C/C++ / Code generation / runetime lib. lib.zip P.s.: No need to define M_PI, just |
Thanks, that worked! |
Thanks @gale93 . |
After installing entityx and adding the SFML sample file found here: https://github.com/alecthomas/entityx/blob/master/examples/example.cc
I get this error:
When I double click it, it leads me to the Entity.h file and to line 464:
The text was updated successfully, but these errors were encountered: