

- Eclipse c++ for mac install#
- Eclipse c++ for mac update#
- Eclipse c++ for mac upgrade#
- Eclipse c++ for mac android#
One useful trick is to drag the folder where each is located from Finer into Terminal. bash_profile reference the correct folders.
Eclipse c++ for mac upgrade#
bash_profile to point to the correct locations.Īlso note that each time you upgrade Cocos2d-x you will want to run setup.py from the new cocos2d-x folder and be sure that each system variable in your.

Alternatively, you could manually edit the.
Eclipse c++ for mac update#
If you move any of the folders pointed to by the above system variables, you will need to run setup.py again to update their location. Alternatively, you could just close Terminal and open a new one to make the settings take effect. You can run setup.py multiple times if need be to verify that the setup script properly set the system variables for:Īfter setup completes and you verified that all paths are setup, you will then need to execute source /MY_PATH/TO/.bash_profile to make the new settings active in the open terminal.
Eclipse c++ for mac android#
You will need to point out where your Android SDK folder, NDK folder, Ant and Cocos2d-x root are located. You can also define this by clicking on Eclipse -> Preferences -> Android and then enter the path to the SDK in the SDK Location field.ġ3) Download and unzip Cocos2d-x 3.8.1 or newer.ġ4) Setup Cocos2d-x by executing python setup.py from inside of the unzipped Cocos2d-x folder. You should be prompted for this location. This is the location of the stand-alone sdk tools that you unzipped above. When it completes, then restart Eclipse.ġ2) After restarting Eclipse, you will need to define where your Android SDK is located.
Eclipse c++ for mac install#
The install progress can be seen in the bottom right corner of Eclipse. Review the license agreement and if you agree then do so and finish the install process. You can choose ADT Plugin for the name.ġ1) Select the checkbox next to developer tools and then click next and finish. Then you can easily install Ant executing this from Terminal: brew install antĨ) Open Eclipse and select a location where you will save your workspace.ĩ) In Eclipse, click on Help -> Install New Software -> Addġ0) Enter the https repository location for the Android plugin: and then give this repository a name for your reference. The easiest way to do this is to go to the Homebrew site and first install Homebrew. Since I use Google Play Game Services and the Google Play Billing Library, I also install those latest versions.Ħ) Click Install Packages, accept the license agreement, and then click Install.ħ) Install Ant. API 13, put a check mark next to the obsolete radio button at the bottom of the SDK Manager. I also install the latest version at the time of this writeup, API 22.

I chose to target the minimum version that supports Google Play Game Services and some other Ad Networks that I use. API 22) and API 13, which is the minimum I support. I generally install the latest production version (e.g. This will launch the Android SDK Manager so that you can select which Android SDK versions you want to install. To do this, go into the unzipped folder and then into the tools folder from above and on a command line execute. android-ndk-r10e-darwin-x86_64.bin on the command line to extract the Android NDK.Ĥ) Unzip the Android Stand-alone SDK Tools to a location you would like to keep them on your system.ĥ) Install the desired Android SDK API version(s) you would like to use. You will then need to open Terminal on Mac, chmod 755 android-ndk-r10e-darwin-x86_64.bin to make the file executable, and then type. General link to download Eclipse to see various types of Eclipse that are available: Ģ) Download the Android Stand-alone SDK Tools: ģ) Download the Android NDK and place it where you want to keep it on your system. At the time of this writeup it was Eclipse Luna. Here are the basic steps to get up and running with an Eclipse Cocos2d-x development environment.ġ) Download the latest version of Eclipse IDE for Java Developers.
