believe me i have been trying to setup cocos2dx on windows machine for about 2 weeks and i wasnt successful at all. there were lot of problems i faced still had issues to compile cpp code and othe build path issues. switch to mac its easier and most of all making cross platform app windows doesnt make any sense since you cant run ios simulator on windows machine
set environment variables（c:/cygwin/bin）, then the problem is solved
all the environment variable set properly. list of environment variable is :android sdk path,python and apache ant. then try to run ./build_native.sh on command promt. reference link:here
you need a proper all version
cocos2d-x 3.6 apache ant python 2.7 eclipse java
1.set java and apache path in global environment 2.extract cocos2d-x 3.6 download version 3.open the setup.py file 4. add this all in environment file cocos_console_root = 'cocos_console_root' => here is your file where you are add cocos_x_root = 'cocos_x_root' => you get this in cocos2dx folder cocos_templates_root = 'cocos_templates_root'=> you get this in cocos2dx folder ndk_root = 'ndk_root' => download ndk 9.2 android_sdk_root = 'android_sdk_root'=> your eclipse root ant_root = 'ant_root' => apache ant root`enter code here`
add above all proper in environment then run into cmd, cheers :)!
- Cocos2dx bash Error build_native.sh
- FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
- Eclipse on Mac, getting "Specified VM install not found" error when trying to build
- getting JRE system library unbound error in build path
- Eclipse c++ Type could not be resolved error even though build is successful
- Eclipse Error: 'Setting build path' has encountered error
- ant junit build error inside eclipse
- Eclipse Build Error "A class file was not written. The project may be inconsistent, if so try refreshing this project and building it"
- VM error while Build Cordova PhoneGap
- Error in Eclipse: "The project cannot be built until build path errors are resolved"
- Eclipse Juno build error with "Maven Project Builder"
- Export APK from Eclipse produces error "No Build Tools installed in the SDK"
- Subclipse error -- Subversion Native Library not available
- Ant Build Error in Eclipse IDE for Java
- Eclipse Mac OS X Debug Error: "FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)"
- Absent Code attribute in method that is not native or abstract in class file javax/faces/webapp/FacesServlet error in compilation
- Maven: Project build error 'modelVersion' is missing
- Eclipse: Error (Bytecode Outline) SOURCE FILE [in PROJECT] is not on its project's build path
- Build error in eclipse
- Error in pom.xml Maven build
- Pom.xml project build error
- Avoid error exit status when running eclipse in headless build mode
- Appengine Endpoints Maven Build Error with /generated-sources
- Junit maven build error (maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process)
- Maven build fails with error message Plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 or one of its dependencies could not be resolved
- Maven build Error - Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy)
- Error running gradle build
- Android project build with native libraries inside using maven
- NeoMAD build example for Android - reference error
- Android libraries in ADT r14 in Eclipse - build error
More Query from same tag
- Where can I obtain the maven-source-plugin?
- what to edit in the android app working folder
- Cant load maven projects in eclipse on Ubuntu 16.04
- Using one JavaFX method for multiple Buttons
- If statement with booleans android
- Issue Creating simple WebView Android
- Spring JS - input field
- Eclipse Helios for RCP and RAD developers won't update to 3.6.2
- Is there a way to suppress the "The type (...) collides with a package" warning in Eclipse?
- Android App with Google Map is only showing map of Africa and will not load users current location?
- Eclipse Organize Imports shortcut not working on Mac
- Why cant I change the the file extension of a desired file in java?
- How can I get html source in Android?
- Android AVD wifi error
- Ctrl + W shortcut of IntelliJ idea equivalent in MyEclipse
- Search and Replace in a Class file in Eclipse
- using cargo maven plugin to deploy spring project to remote server
- moving eclipse (not the workspace) to a different directory
- Eclipse - Force Refresh of IDs
- How many projects/folders/files can eclipse (the editor) safely handle?
- how can I test my published restful web service in azure
- Correctly import Gradle projects in Eclipse
- Change 'fixes' background color in eclipse
- Refactor method header parameter order
- the correct exception for my program
- Multiply two columns in BIRT
- I need Eclipse to deploy the WAR file my ANT script builds, not what it builds internally
- Imported class files are shown under default package in Eclipse, how can i access them?
- Compiling JS-Test-Driver Plugin and Installing it on Eclipse 3.5.1 Galileo?
- How to configure properly Jython project in IntelliJ IDEA