[osg-users] OSG and Android

2013-01-10 Thread Jason Daly
Hi, all, I had a question about compiling OSG on Android. I understand that the current advice is to build static libraries instead of shared. I was just wondering why this was the case. Is there some reason that the OSG can't be built with shared libraries instead? The main reason I'm a

Re: [osg-users] OSG and Android

2013-01-10 Thread Jorge Izquierdo Ciges
Because the shared linker at execution time in Android works as hell on a bench. It just doesn't call the dependencies of a library... and also your shared libraries are not installed on the system... etc The system is just not friendly to use shared libraries. Can OSG be used as a shared library

Re: [osg-users] OSG and Android

2013-01-10 Thread Jason Daly
On 01/10/2013 05:16 PM, Jorge Izquierdo Ciges wrote: Because the shared linker at execution time in Android works as hell on a bench. It just doesn't call the dependencies of a library... and also your shared libraries are not installed on the system... etc The system is just not friendly to

Re: [osg-users] OSG and Android

2013-01-10 Thread Jan Ciger
On 01/10/2013 11:49 PM, Jason Daly wrote: OK, if that's all it is, I'm going to give it a shot. After fighting a bit with the platform, we've had some luck with getting other libraries working as shared libraries, so I think we'll be OK here. It's compiling now and seems to be reasonably happy.

Re: [osg-users] OSG and Android

2013-01-10 Thread Jason Daly
On 01/10/2013 06:32 PM, Jan Ciger wrote: On 01/10/2013 11:49 PM, Jason Daly wrote: OK, if that's all it is, I'm going to give it a shot. After fighting a bit with the platform, we've had some luck with getting other libraries working as shared libraries, so I think we'll be OK here. It's compi

Re: [osg-users] OSG and Android

2013-01-11 Thread Jan Ciger
On Fri, Jan 11, 2013 at 1:28 AM, Jason Daly wrote: > Actually, we've got shared library loading working already. > > A lot of our software is plugin-based (using dlopen), and it's working > fine on Android. There is a bit of JNI involved, but only enough to hook > into the regular Android GUI/Vi

Re: [osg-users] OSG and Android

2013-01-11 Thread Jason Daly
On 01/11/2013 04:48 AM, Jan Ciger wrote: On Fri, Jan 11, 2013 at 1:28 AM, Jason Daly > wrote: Actually, we've got shared library loading working already. A lot of our software is plugin-based (using dlopen), and it's working fine on Android. There is a b