Running and compiling the Urho3d in eclipse on windows ( few questions )

191 views
Skip to first unread message

Meir Yanovich

unread,
Jan 7, 2014, 2:41:23 PM1/7/14
to urh...@googlegroups.com
Hey folks , great engine , 
i had some time to play with it , so i managed to import the engine and run the ninja example running OK 
on 3 years old Samsung note mini tablet with android version 2.3.3.
i have to do few eclipse configurations to make the build work in short :

1. when importing the android example project DONT copy the checkbox that says to copy project to workspace , just dont 

2. project -> builders -> New -> Program  : 
2.1 location -> where is the NDK make.exe located 
2.2 working directory -> you urho3d project 
2.3 Arguments -> leave blank 
2.4 press Ok  to finish 

3 . c/c++  build ( in the same window still ) 
3.1. check out the " Use default build command " 
3.2.Build command : leave blank 
3.3 apply 

now just build the project and watch it build , when wanting to run the example just configure "Debug As" as simple android application . and RUN on your android . 

now questions . 
1. how can i run the other examples of the engine in android ? 
2. what will be involved to make project that is now as it setup now
that is player running script . i want natived compiled app .
thanks 


Meir Yanovich

unread,
Jan 7, 2014, 3:16:54 PM1/7/14
to urh...@googlegroups.com
replying to my self i need more info here from you engine creators .
1. usually as far as i know building native NDK application in android im using the NDK ndk-build script.
but here im using the generated / crafted CMake script , this is way im using the NDK make.exe directroy , 
BUT it looks like i can't trigger any make / gcc flags like i used to do for example debug flags :
APP_OPTIM := debug 

2. also i what is the starting point in the SDLActivity.java where it trigers the player to load the script ? 
i can't find it 
thanks !

Reply all
Reply to author
Forward
0 new messages