Your program can't find the functions located in the .lib.
A common mistake with both SFML and SDL is that 64 bit users link the 64 bit libraries, when they actually should link the 32 bit libraries.
Unless your specifically developing for only 64 bit systems which really no one does.
I just want to know why 64 users have to link with 32 bit libraries
I have just set up SFML to see what it is like and did the same thing that Lumpkin was talking about. Once I got that fixed it worked fine.
Its not that you have to use 32 bit libs, its that if you use the 64 bit libs you need to change the project configuration to match (x64).
If it isn't to do with 64-bit versus 32-bit libraires...
You mention the paths, but not the libs themselves. Have you also added the necessary libraries to you project?
I have to add the following to get your code to link (debug target, using SFML DLLs).
PS Did you create a console app or a Windows app to start off with? I also get
error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
before I add the above libraries to my Windows (GUI) project.
Last edited on
I had to put a few of the .dll's in the same folder as the .exe to get it to work too.