Installing NME on different platforms

Hi, if that can helps anybody, here is a little summary of my adventures with NME and Windows7, Ubuntu 12.04,& Mac Lion After being very dummy, and trying to go too fast (i was stressed and tired), i finally succeded in having NME working correctly on…

Viewing 1 to 2 (2 Total)
Installing NME on different platforms

LeFabrice

LeFabrice
Total Posts: 34
Joined: April 02, 2012

Hi, if that can helps anybody, here is a little summary of my adventures with NME and Windows7, Ubuntu 12.04,& Mac Lion

After being very dummy, and trying to go too fast (i was stressed and tired), i finally succeded in having NME working correctly on all platforms

on Mac Lion and Ubuntu, i used MonoDevelop (a nice transition for a FlashDevelop addict).

All the installs worked fine on mac, and i don't remember anything special to say. I don't have my apples's license, but i could see the app running with the xcode simulator when targeting ios, i could compile to all targets i've tried.

On ubuntu 12.04 , i had problems with the installer, the .sh file doesn't work correctly on Ubuntu 12.04, the rm... lines in the script remove all what's necessary (usr/lib/haxe/lib is empty after the install and monodevelop generates a compilation error saying nme is not installed).
Finally, i used the terminal and run sudo haxelib install nme, etc... i downloaded all the libraries by hand on the terminal. I could test android, webos, flash, html5, it worked fine. I didn't test windows as i forgot to download visual sdk.

On windows7, it works fine with FlashDevelop except that i have problems with the android sdk, which is not an NME problem, i hope to solve this soon.

Thanks again to all the guys working on this very nice project.

Tags:
Posted on April 23, 2012 at 3:19 PM

singmajesty

singmajesty
Total Posts: 2147
Joined: August 25, 2011

Re: Installing NME on different platforms

Thanks for the feedback!

I have updated the Linux install script to provide cleaner output. It should have worked before, but now it won't complain about trying to chmod files that don't exist.

The Android SDK is a bit of a problem. Setting up for Android can be the most complicated because of the number of components. If you're able to use "nme setup android" to step through it, be sure that you install the "Android SDK Platform-tools" and "Android API 8" packages like you're directed. After you finish setup, NME should have all the paths it needs, and will mark "ANDROID_SETUP" as true so that it will let you build.

Otherwise NME will warn that you need to complete setup first, because proceeding without the necessary paths leads to worse, more confusing errors. If you didn't complete setup for some reason, run it again but say "no" to each component you don't need to download and install again. At the end, setup will ask you for the paths. Maybe we'll implement a GUI option in the future to help make this even easier.

Posted on April 23, 2012 at 4:14 PM