开发者

Build Problems when moving from VS2008 Prof to VC++ Express 2008

开发者 https://www.devze.com 2023-02-10 02:18 出处:网络
I have just taken over game development from my friend. The development is done using VC++. The Code worked perfectly when it was build on Visual Studio 2008 Professional Edition.

I have just taken over game development from my friend. The development is done using VC++.

The Code worked perfectly when it was build on Visual Studio 2008 Professional Edition.

Without any changes, I tried to build the code in VC++ Express 2008 Edition and its throwing numerous errors (more than 100). All ar开发者_如何学Pythone either:

 error C2953: 'std::tr1::_Result_of1<Rx(_thiscall _Arg0::* )(void),_Farg0&>' : class template has already been defined C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xxresult  106 
or
error C2995: 'std::tr1::_Mem_fn1<_Rx,Rx(_thiscall _Arg0::* )(void),_Arg0> std::tr1::mem_fn(Rx (_thiscall _Arg0::* )(void))' : function template has already been defined C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xxmem_fn  47
Since all the errors seem due to the include files and not from the Code written, I am stuck.

Any help in the right direction would be appreciated. Thank you for your time.


Looks like you are using Nebula2 :)
In nsystem.h remove "#define __cdecl"
This error can also occur if somewhere appears defines like:

#define __cdecl

#define volatile

#define const

0

精彩评论

暂无评论...
验证码 换一张
取 消