SFML community forums
Help => General => Topic started by: dwarfman78 on May 27, 2014, 10:56:18 pm
-
under windows :
I switched to mingw 4.8 so i had to recompile SFML, got the last revision from github repo in the meantime too (to check if the sf::Music pause problem is fixed).
Building sfml is fine but when i build my project (linking statically to SFML which was ok with the release version built with mingw 4.7), i have undefined references to openal, when i add extlib to linker directory and openal32 in lib dependencies these errors disapear but then i have linking problem with libsndfile then guess what ? With glew...
What's wrong ? never had to link to these shit before and by the way i never quite understood why i needn't link to openal but need to put that damn dll next to my exe.
So can anybody enlight me with the logic behind so i can build my project ?
Thanks.
-
When statically linking with > 2.1
https://github.com/SFML/SFML/wiki/FAQ#build-link-static
-
thanks buddy that was almost painless,
i had to add -static to linker options too to avoid libstdwhatever.dll to be added next to the exe.