1
Window / LNK2019 : unresolved external symbol
« on: September 01, 2011, 11:06:01 am »
Thanks for the answers
@Ricky
I linked these libraries:
sfml-window.lib (release mode)
sfml-window-d.lib (debug mode)
I added SFML_DYNAMIC in the preprocessor (release mode).
About sfml directories, I followed the first tutorial and everything is working properly.
@Laurent
I know that sf::Clock is in sfml-system, but it's not necessary to link because Window.hpp already does it.
I put .dll files (sfml-window.dll and sfml-system.dll and -d versions) in the directory of the project.
...
I'm stupid. I'm very stupid... :oops:
While I'm writing this post I try to redefine libraries in the linker... I used ';' to separate .lib files when I don't have to do it!
Sorry for the lost time :lol:
Now everything works properly!
@Ricky
I linked these libraries:
sfml-window.lib (release mode)
sfml-window-d.lib (debug mode)
I added SFML_DYNAMIC in the preprocessor (release mode).
About sfml directories, I followed the first tutorial and everything is working properly.
@Laurent
I know that sf::Clock is in sfml-system, but it's not necessary to link because Window.hpp already does it.
I put .dll files (sfml-window.dll and sfml-system.dll and -d versions) in the directory of the project.
...
I'm stupid. I'm very stupid... :oops:
While I'm writing this post I try to redefine libraries in the linker... I used ';' to separate .lib files when I don't have to do it!
Sorry for the lost time :lol:
Now everything works properly!