Hello! First of all I would like to say how great of a tool SFML is, I have thoroughly enjoyed using it. Next, I am developing a 3D RTS game called Galactic Vice using SFML (
screenshot). I recently took upon me the task of porting Gv to windows 7, but encountered some rather strange issues.
Compiling Gv on windows XP 32-bit or ubuntu 64-bit it runs perfectly without flaw. But, taking a (working) version compiled on XP doesn't even make it to main() on windows 7. I then tried compiling Gv on windows 7--same result. Next step, compile SFML and Gv on windows 7--same result.
The fact that Gv completely hangs before getting to main() suggested it was a problem with a dll, which was later comfirmed to be a deadlocked DLL by Application Verifier. Gv only uses SFML, so only SFML or one of its dependencies can be causing this deadlock from DllMain (I suspect what is happening is illustrated right
here). I then tried compiling SFML and many of its sample apps on Windows 7 to help find the issue, but stopped when each of them happily returned -1 before making it to main().
Has anyone encountered problems like this? Perhaps with SFML and windows 7? If so, is there a fix? For reference, I am using the latest version of Code::Blocks and the MinGW package provided by it on Windows 7 Home Premium.
Thanks beforehand!