Hi Busra, I'm not familiar with Mac dev environment, but I guess that you're trying to build osg with Eclipse CDT with the regular gcc compiler, which is targetting pc architecture. Instead you need to create a makefile suited for the ndk-build. The CMake options you need are fully detailed in the wiki page and in other threads of this mailing list.
Good luck, Ricky 2011/8/11 Büsra Gülten <busragul...@hotmail.de> > Hi, > > I am trying to build OSG for Android on Mac 10.6.7. I already get Eclipse, > Android Plugin and CDT Plugin and also Android NDK. > > I configure the project with CMake and generate an Eclipse CDT4 project. > After that, I create a new Android Project with "Create project from > existing source" and add the generated Eclipse CDT4 project. > Now, when I try to build this project, I get following error: > > > > Conversion to Dalvik format failed with error 1 > > Dx no classfiles specified > > > Are my steps to compile OSG for Android false? > > Cheers, > Büsra > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=41997#41997 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org