Frictional Games Forum (read-only)

Full Version: compiling under Visual Studio 2012
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i just tried to compile the source under VS2012, and i got 600 errors, after a little digging i managed to solve the problem. apperently microsoft moved some std functionalty and you need to include a new header in two files.

so in the penumbra project, open up TriggerHandler.h and MainMenu.cpp, and at the top of both files put this line:
#include <functional>

and it should compile successfully.

the other two projects were able to compile for me after updating the projects from VS2010 to VS2012, at least in release it compiled successfully.

i hope this helps someone.
feel free to send a pull request and I'll merge it in.