Hi Robert,
> Thanks for the details. I have done a quick search on the web and others > in the lua community have had the same problem and suggest a workaround. > I've applied this to OSG svn/trunk. I don't have Android build tools > installed so can't test. When you can could you test and let me know if it > gets you a bit further. > Builds fine now! I haven't tested it yet, Is there any "simple" example that I could try in android using LUA? > > Congrats of the little one BTW ;-) > Thank you! :) I'm attaching also a new version of the toolchain with support for the r10c ndk. This fixes some CMake Warnings and allows to use the toolchain in macosx. Regards, Rafa. > > Robert. > > Robert. > > On 28 November 2014 at 06:03, Rafa Gaitan <[email protected]> wrote: > >> Hi Robert, >> >> Sorry for the late response, I've been traveling and not much free time >> with a 6 month baby :) >> >> The error building the LUA plugin is: >> Building C object >> src/osgPlugins/lua/CMakeFiles/osgdb_lua.dir/lua-5.2.3/src/llex.c.o >> >> /Users/rgaitan/Projects/OSG/osg-trunk/src/osgPlugins/lua/lua-5.2.3/src/llex.c: >> In function 'trydecpoint': >> >> /Users/rgaitan/Projects/OSG/osg-trunk/src/osgPlugins/lua/lua-5.2.3/src/llex.c:205:42: >> error: 'struct lconv' has no member named 'decimal_point' >> >> #define getlocaledecpoint() (localeconv()->decimal_point[0]) >> >> ^ >> >> /Users/rgaitan/Projects/OSG/osg-trunk/src/osgPlugins/lua/lua-5.2.3/src/llex.c:217:18: >> note: in expansion of macro 'getlocaledecpoint' >> >> ls->decpoint = getlocaledecpoint(); >> >> ^ >> >> make[2]: *** >> [src/osgPlugins/lua/CMakeFiles/osgdb_lua.dir/lua-5.2.3/src/llex.c.o] Error 1 >> >> make[1]: *** [src/osgPlugins/lua/CMakeFiles/osgdb_lua.dir/all] Error 2 >> >> >> The compiler selected in the NDK is gcc 4.9 if that helps but I don't >> think it has something to do with that. >> >> Thank you! >> Rafa. >> >> 2014-11-21 13:27 GMT+01:00 Robert Osfield <[email protected]>: >> >>> Hi Rafa, >>> >>> On 21 November 2014 11:28, Rafa Gaitan <[email protected]> wrote: >>> >>>> Regarding Lua + Android, I now remember a problem building the lua >>>> plugin, I'll check it again and see if I can fix it. >>>> >>> >>> Let me know what the error is, as I'm the author of the plugin I might >>> be able to spot a solution. >>> >>> Robert. >>> >>> _______________________________________________ >>> osg-submissions mailing list >>> [email protected] >>> >>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >>> >>> >> >> >> -- >> Rafael Gaitán Linares >> CTO at Mirage Technologies S.L - http://www.mirage-tech.com >> >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> >> > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > -- Rafael Gaitán Linares CTO at Mirage Technologies S.L - http://www.mirage-tech.com
android.toolchain.cmake
Description: Binary data
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
