Forehead, I use cmake is using OSGGLES2 parameters, the specific approach is to throw the osgEarth and osg source together, it is best not to change osg cmakelists, then such cmake is ok, if you download the osgEarth - topic - android can direct production. Mk file, but generated after covering once and it is better to use 2.4 source code modification. Mk file, because the generated will contain fewer files directly. How do some of the CPP can not compile in the past, I was directly from. Delete the mk. See the error message when make, the add of add, delete to delete, you can also modify. Mk to compile only osgEarth. The strange thing is if you don't throw the osgearth osg cannot compile in the past, the reason is unknown.
Now my question is, libNative. So have been generated, but the running time is not prompt "Couldn 't load moon texture, add osgEarth' s data directory your OSG_FILE
At 2013-07-23 01:55:57,"xuhaiyan8825 [via osgEarth]" wrote:
cool,nice done!
maybe you can check your opengles version.
could you share us your cmake configuration?
To unsubscribe from How to compile osgearth for android, click here.
NAML