SFML community forums
Help => General => Topic started by: bengy2 on November 11, 2007, 09:06:34 am
-
I have a sample pong game from a university gaming and developers club. It compiles but when it goes to runt he cmd window pops up and I also get an error window that says: "This application has failed to start because DevIL.dll was not found. Re-installing the application may fix this problem. I have the DevIL.dll int he windows/system32 folder and also int he debug folder. I don't know what else I can do or how to tell visual studio's 2005 where the .dll is. Any help would be greatly appreciated!
-
Afaik under windows you have to put the DLL somewhere in you PATH or into the execution folder(which is the same if you doubleklick the file, but in IDE's it's not the folder where you store your executable, as this would make it impossible to have release/debug versions at the same time)
if you have /bin/Debug/app.exe(or just /_DEBUG/app.exe, depends on IDE) the DevIL.dll has to be in /.
Thats anyways a good idea under windows as this os lacks a system that can install dependencies for you:)
hope I could help you.