Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-09 Thread Kyle Gancarz
Yes, I assume I missed a neon extension reference in when building the actual 
osg libs [think i saw one lingering in a make template somewhere], but going 
for armeabi seems to do the trick.

working with opengles 2.0


Jan Ciger wrote:
> On Thu, Feb 9, 2012 at 4:53 PM, Kyle Gancarz < ()> wrote:
> 
> >  
> > tommacco wrote:
> > 
> > > I had that issue with armeabi v7 (even with neon extension disabled, 
> > > though I only disabled it in the example and didn't look through any of 
> > > the osg lib make files for it), so I disabled that in the Application.mk,
> > > 
> > 
> > 
> 
> Aha, so you are compiling for the older armeabi, with Neon disabled. Which 
> OpenGL ES version? 
> 
> J.
> 
>  --
> Post generated by Mail2Forum


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45389#45389





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-09 Thread Jan Ciger
On Thu, Feb 9, 2012 at 4:53 PM, Kyle Gancarz  wrote:

>
> tommacco wrote:
> > I had that issue with armeabi v7 (even with neon extension disabled,
> though I only disabled it in the example and didn't look through any of the
> osg lib make files for it), so I disabled that in the Application.mk,
>

Aha, so you are compiling for the older armeabi, with Neon disabled. Which
OpenGL ES version?

J.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-09 Thread Kyle Gancarz

tommacco wrote:
> I had that issue with armeabi v7 (even with neon extension disabled, though I 
> only disabled it in the example and didn't look through any of the osg lib 
> make files for it), so I disabled that in the Application.mk,
> 
> 
> 
> Jan Ciger wrote:
> > Hi Kyle, 
> > 
> > On Thu, Feb 9, 2012 at 8:01 AM, Kyle Gancarz < ()> wrote:
> > 
> > >  eh nevermind, just needed to figure out how to use it
> > > 
> > 
> > I am surprised you have managed to get it working on Iconia tablet. We have 
> > been trying to do the same here and the application loads, but crashes 
> > immediately after tapping the screen. What settings did you use to compile 
> > OSG? Which ABI (armeabi or armeabi v7?) and OpenGL ES version (1.1 or 
> > 2.0?). We had to also disable the Neon instructions before it was even 
> > willing to run (Tegra doesn't have them).
> > 
> > We had also some linking/compilation issues with the example code here, but 
> > that was fixed by hacking the makefile a bit.
> > 
> > Regards,
> > 
> > Jan
> > 
> >  --
> > Post generated by Mail2Forum
> 


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45378#45378





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-09 Thread Kyle Gancarz
I had that issue with armeabi v7 (even with neon extension disabled, though I 
only disabled it in the example and didn't look through any of the osg lib make 
files for it), so I disabled that in the Application.mk,



Jan Ciger wrote:
> Hi Kyle, 
> 
> On Thu, Feb 9, 2012 at 8:01 AM, Kyle Gancarz < ()> wrote:
> 
> >  eh nevermind, just needed to figure out how to use it
> > 
> 
> I am surprised you have managed to get it working on Iconia tablet. We have 
> been trying to do the same here and the application loads, but crashes 
> immediately after tapping the screen. What settings did you use to compile 
> OSG? Which ABI (armeabi or armeabi v7?) and OpenGL ES version (1.1 or 2.0?). 
> We had to also disable the Neon instructions before it was even willing to 
> run (Tegra doesn't have them).
> 
> We had also some linking/compilation issues with the example code here, but 
> that was fixed by hacking the makefile a bit.
> 
> Regards,
> 
> Jan
> 
>  --
> Post generated by Mail2Forum


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45376#45376





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-09 Thread Jan Ciger
Hi Kyle,

On Thu, Feb 9, 2012 at 8:01 AM, Kyle Gancarz  wrote:

> eh nevermind, just needed to figure out how to use it
>

I am surprised you have managed to get it working on Iconia tablet. We have
been trying to do the same here and the application loads, but crashes
immediately after tapping the screen. What settings did you use to compile
OSG? Which ABI (armeabi or armeabi v7?) and OpenGL ES version (1.1 or
2.0?). We had to also disable the Neon instructions before it was even
willing to run (Tegra doesn't have them).

We had also some linking/compilation issues with the example code here, but
that was fixed by hacking the makefile a bit.

Regards,

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-08 Thread Kyle Gancarz
eh nevermind, just needed to figure out how to use it

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45353#45353





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-08 Thread Kyle Gancarz
results the same on my acer iconia a500 (tegra 2) and my droid incredible og. 
compiled for armeabi (not v7a). the buttons produce feedback on the screen so i 
assume at least that much is working... just doesn't seem to be loading the 
model (the real concern of this endeavour)

any ideas? i had to screw around with some include directory configs when 
building osg but it got through the process without errors once the 
x11/gles/egl/glib headers were found.

i built on an ubuntu 32-bit VM, running eclipse indigo (setup adt/sequoyah to 
just launch the app)

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45352#45352





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-08 Thread Kyle Gancarz
you're a wonderful person, this one was starting to get really frustrating 
[hard linking the libraries, misspelling them to confirm it would err when it 
couldn't find em]... now if i could only figure out why the demo shows up as 
only a blue screen with the three buttons


02-09 01:20:54.274: D/ATRecorder(11129): com.htc.autotest.dlib.RecordEngine in 
loader dalvik.system.DexClassLoader@40533c78
02-09 01:20:54.434: D/libEGL(11129): loaded /system/lib/egl/libGLES_android.so
02-09 01:20:54.464: D/libEGL(11129): loaded /system/lib/egl/libEGL_adreno200.so
02-09 01:20:54.504: D/libEGL(11129): loaded 
/system/lib/egl/libGLESv1_CM_adreno200.so
02-09 01:20:54.524: D/libEGL(11129): loaded 
/system/lib/egl/libGLESv2_adreno200.so
02-09 01:20:54.554: W/EGLview(11129): creating OpenGL ES 2.0 context
02-09 01:20:54.694: D/dalvikvm(11129): Trying to load lib 
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so 0x4051da00
02-09 01:20:55.365: D/dalvikvm(11129): Added shared lib 
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so 0x4051da00
02-09 01:20:55.365: D/dalvikvm(11129): No JNI_OnLoad found in 
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so 0x4051da00, skipping init
02-09 01:20:55.365: E/OSGANDROID(11129): Initializing geometry
02-09 01:20:55.365: E/Osg Viewer(11129): Testing
02-09 01:20:55.365: W/Osg Viewer(11129): Warning: detected OpenGL error 
'invalid enumerant' at Before Renderer::compile
02-09 01:21:05.135: W/KeyCharacterMap(11129): Can't open keycharmap file
02-09 01:21:05.135: W/KeyCharacterMap(11129): Error loading keycharmap file 
'/system/usr/keychars/atmel-touchscreen.kcm.bin'. 
hw.keyboards.65539.devname='atmel-touchscreen'
02-09 01:21:05.135: I/KeyCharacterMap(11129): Using default keymap: 
/system/usr/keychars/qwerty.kcm.bin
02-09 01:21:05.995: W/IInputConnectionWrapper(11129): showStatusIcon on 
inactive InputConnection
02-09 01:21:06.046: W/IInputConnectionWrapper(11129): InputConnection = 
android.view.inputmethod.BaseInputConnection@40532938, active client = false

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45351#45351





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-07 Thread Jorge Izquierdo Ciges
NDK r7 has a strange bug with the order of linking std libraries just add
-lgnustl_static at the end and it will be solved.

2012/2/7 Kyle Gancarz 

> problem solved, now on to fixing linking issues with the example code!
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=45315#45315
>
>
>
>
>
> ___
> 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


Re: [osg-users] [build] OSG for Android build on Fedora cpp errors

2012-02-07 Thread Kyle Gancarz
problem solved, now on to fixing linking issues with the example code!

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45315#45315





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org