Frictional Games Forum (read-only)
compiling under Visual Studio 2012 - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html)
+--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html)
+--- Thread: compiling under Visual Studio 2012 (/thread-22527.html)



compiling under Visual Studio 2012 - Dash213 - 08-21-2013

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:
Code:
#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.


RE: compiling under Visual Studio 2012 - Urkle - 08-21-2013

feel free to send a pull request and I'll merge it in.