I was trying to build my app in Android using Cygwin.
One of my source files contain the line #if (CC_TARGET_PLATFORM!=CC_PLATFORM_WIN32) to properly use includes as I code on Visual Studio. It was workign fine before but for some unknown reason, it always goes to the #else branch, even though it’s compiling for Android.
Same happened to me right now. Not sure why yet.
Using Virtual Studio 2010 and cocos2d-x 2.1.5.
The project I’m building was created with version “2.1.4”’s project creator python script; don’t know if this has something to do or not, but I think it shouldn’t.