[NME] Setting up android SDK und NDK under ubuntu 64bit

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[NME] Setting up android SDK und NDK under ubuntu 64bit

Nathan Hüsken
Hey,

I am trying to compile a project for android under ubuntu 11.04 64bit.
I downloaded the android SDK and android NDK. I added to the PATH
<install-dir>/android-sdk-linux_x86/tools
I also added:
<install_dir>/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin

Now when I try to compile I get:
haxelib run nme build sca.nmml android
/haxelib/hxcpp/2,08,0//include/hxcpp.h:13:20: error: typeinfo: No such
file or directory
<lots of other errors>

What other steps do I have to take to install android SDK and NDK?

Is it documented anywhere?

Thanks!
Nathan

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: [NME] Setting up android SDK und NDK under ubuntu 64bit

Daniel Uranga
It's documented here http://www.haxenme.org/developers/get-started/ , I think that's what you are looking for.
--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: [NME] Setting up android SDK und NDK under ubuntu 64bit

Nathan Hüsken
Thanks. I did everything in that document, but it still does not work.
When compiling, I see that
-I/home/nhuesken/SDKs//android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include
is added to the g++ command. Where does /home/nhuesken/SDKs come from? I
did not set it and that path also does not exist ...

On 10/17/2011 03:05 PM, Daniel Uranga wrote:
> It's documented here http://www.haxenme.org/developers/get-started/ , I
> think that's what you are looking for.
>


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: [NME] Setting up android SDK und NDK under ubuntu 64bit

Daniel Uranga
Maybe your environment variables are wrong? I have this in my .basrhc:

export PATH=${PATH}:/home/dan/android-sdk-linux_x86/tools
export PATH=${PATH}:/home/dan/haxe/bin
export HAXEPATH=/home/dan/haxe
export HAXE_LIBRARY_PATH=/home/dan/haxe/bin/std
export ANDROID_HOST="linux-x86"
export ANDROID_NDK_ROOT=/home/dan/android-ndk-r6b
export ANT_HOME=/usr/share/ant
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export ANDROID_SDK=/home/dan/android-sdk-linux_x86
export NEKOPATH=/home/dan/haxe/bin

Also check deleting your hxcpp_config.xml file.

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: [NME] Setting up android SDK und NDK under ubuntu 64bit

Nathan Hüsken
Works now, Thanks!

On 10/17/2011 04:19 PM, Daniel Uranga wrote:

> Maybe your environment variables are wrong? I have this in my .basrhc:
>
> export PATH=${PATH}:/home/dan/android-sdk-linux_x86/tools
> export PATH=${PATH}:/home/dan/haxe/bin
> export HAXEPATH=/home/dan/haxe
> export HAXE_LIBRARY_PATH=/home/dan/haxe/bin/std
> export ANDROID_HOST="linux-x86"
> export ANDROID_NDK_ROOT=/home/dan/android-ndk-r6b
> export ANT_HOME=/usr/share/ant
> export JAVA_HOME=/usr/lib/jvm/java-6-sun
> export ANDROID_SDK=/home/dan/android-sdk-linux_x86
> export NEKOPATH=/home/dan/haxe/bin
>
> Also check deleting your hxcpp_config.xml file.
>


--
haXe - an open source web programming language
http://haxe.org