The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error

Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee

compiling under Visual Studio 2012
Dash213 Offline
Junior Member

Posts: 20
Threads: 2
Joined: Mar 2010
Reputation: 1
compiling under Visual Studio 2012

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.
(This post was last modified: 08-21-2013, 06:24 AM by Dash213.)
08-21-2013, 06:23 AM

Messages In This Thread
compiling under Visual Studio 2012 - by Dash213 - 08-21-2013, 06:23 AM
RE: compiling under Visual Studio 2012 - by Urkle - 08-21-2013, 02:34 PM

Users browsing this thread: 1 Guest(s)