Compiling cocos2d-x on Windows 10 (win32)

Just a quick tip here to share somethingĀ that neededĀ setting to get cocos2d-x to compile properly for win32. I’m on Windows 10 pro, with Visual Studio Community 2015.

If you see a Timespec redefinition error, add HAVE_STRUCT_TIMESPEC to the preprocessor directives found here:

Project->Properties->C/C++->Preprocessor->Preprocessor Definitions


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>