Home > other >  Use VS2015 try to cocos2dx project for the first time, the error "timespec" : "struct
Use VS2015 try to cocos2dx project for the first time, the error "timespec" : "struct

Time:09-22

C2011 "timespec" : "struct" type redefine libExtensions d: \ studyapp \ cocos2d - x - 2.2.6 \ cocos2d - x - 2.2.6 \ cocos2dx/platform/third_party \ win32 \ pthread \ pthread h 309
C2011 "timespec" : "struct" type redefine libExtensions d: \ studyapp \ cocos2d - x - 2.2.6 \ cocos2d - x - 2.2.6 \ cocos2dx/platform/third_party \ win32 \ pthread \ pthread h 309
C2011 "timespec" : "struct" type redefine libExtensions d: \ studyapp \ cocos2d - x - 2.2.6 \ cocos2d - x - 2.2.6 \ cocos2dx/platform/third_party \ win32 \ pthread \ pthread h 309
C1189 # error: Macro definition of snprintf conflicts with the Standard Library function declaration T0718 c: \ program files \ Windows (x86) kits 10 \ \ include \ 10.0.10150.0 \ ucrt \ stdio h 1927
# error instructions: Macro definition of snprintf conflicts with the Standard Library function declaration T0718 c: \ Program Files \ Windows (x86) Kits 10 \ \ Include \ 10.0.10150.0 \ ucrt \ stdio h 1927
This statement does not allow the use of "__inline" modifier T0718 c: \ Program Files \ Windows (x86) Kits 10 \ \ Include \ 10.0.10150.0 \ ucrt \ stdio h 1932
Should input ";" VC T0718 d: \ studyapp \ VS2015 \ \ include \ cstdio 55

Just set up an empty project, so many mistakes, because related to compile environment?
The tutorial on using vs2013

CodePudding user response:

The same problem
  • Related