SFML community forums
Help => General => Topic started by: Wurstinator on September 28, 2011, 06:14:42 pm
-
Hi,
last time I tried installing SFML 2 I already gave up at CMake so I am proud that I got this far :lol:
I "cmake"d it and used the MSVS-Solution file. Now I have a lib/MinSizeRel folder which includes 15 files.
I also compiled the examples and now wanted to try one so I copied libsnd and the 5 SFML-DLLs to it. Problem is, that it gives me a 0xc000007b error when I try to start the exe.
:(
-
If you use sfml-audio you also need openal32.dll. You should check the dependencies of your executable with Dependency Walker (depends.exe). If something is missing you'll see it instantly.
-
Dependency Walker tells me:
Error: Modules with different CPU types were found.
libsndfile-1.dll and ieshims.dll are x86 while the others are x64. Is there a way to fix this?
-
Yes. Use the x64 version of libsndfile-1.dll (the other is ok, it's a system DLL) ;)
-
I am able to execute it now but the window instantly closes. Is this another ATI bug? :(
-
Nop. Is there any error message?
-
No, nothing.
-
bump
-
bump
-
I dunno if this fully answers your question or not, but heres a video on how to set up SFML with VS 2010:
http://www.youtube.com/watch?v=PtSDrLpV74M&annotation_id=annotation_175195&feature=iv&src_vid=cDNo4bzrFW8
Good luck!
-
Sorry, but did you even read my starting post?
I skipped to the end of the video and it seems like the only thing it covers is how to build the library files of SFML. I already did that before starting this topic.
-
Hi
Can you just paste your code in, so we can have a look?
Thanks
-
I also compiled the examples and now wanted to try one so I copied libsnd and the 5 SFML-DLLs to it. Problem is, that it gives me a 0xc000007b error when I try to start the exe.
I am using the "pong" example.
-
bump
-
bump
-
Make sure that the "resources" directory and the pong executable are in the same directory. By default they are not, you need to install SFML to get something that works out of the box.