[osg-users] OSG on Android with NDK 12 and clang++

2016-06-14 Thread Thorsten Bux
Hello, as Android NDK dropped the support of the GNU++ compiler with version 11/12 in favour of clang++ I looked into building OSG for Android with NDK 12. But the build script states that it only supports NDK till version 10c. Will there be support of NDK version 12 any time soon? Or does it

[osg-users] OSG for android cube texture problem

2013-08-07 Thread Forgy Peng
Hello everyone:I got a cube texture problem in my program base on ES2.0. The texture is black, does anyone know what is the problem.Here is my shader code: *Vertex shader * varying vec3 Normal; varying vec3 EyeDir; uniform samplerCube cubeMap; void main() { gl_Position =

Re: [osg-users] OSG and Android

2013-01-11 Thread Jan Ciger
On Fri, Jan 11, 2013 at 1:28 AM, Jason Daly jd...@ist.ucf.edu 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

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 jd...@ist.ucf.edu mailto:jd...@ist.ucf.edu 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

[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

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

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

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

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

[osg-users] OSG for Android with Necessitas?

2012-05-20 Thread Massimo Tarantini
Hi, i have recompiled OSG 3.0.1 for Android wint Ubuntu 11, and now i'm trying to compiled the osgviewerQT example under Windows, using Necessitas (QT Android porting). I have some problems with EGL initializations. I get eglMakeCurrent:674 error 3002 (EGL_BAD_ACCESS). Someone has been using

Re: [osg-users] OSG for Android

2011-08-18 Thread Luca Vezzadini
Hi Jorge, So, that means that I am doing thing in the correct order. After some more test I found out the problem: it's something in Cygwin. If I use relative paths instead of absolute ones everything works fine. No idea why and I don't want to investigate further, but at least now I know it's

Re: [osg-users] OSG for Android

2011-08-17 Thread Luca Vezzadini
Jorge Izquierdo Ciges wrote: ... About the other things probably is just that you didn't do a make install to create a directory with all the includes etc Hi, I also have some issues with the example, basically the same as Riccardo. I did run the make install on my OSG build and it went OK

Re: [osg-users] OSG for Android

2011-08-17 Thread Jorge Izquierdo Ciges
I usually install it in a separate directory because there's no point in installing it into system. It would be trouble with the standard linux installation on your system. I usually build it out of the OSG svn directory, i don't like mix svn and not svn things. And, of course last time I tested

Re: [osg-users] OSG for Android

2011-08-15 Thread Héctor Martínez
...@lists.openscenegraph.org] On Behalf Of Mourad Boufarguine Sent: jueves, 11 de agosto de 2011 16:50 To: OpenSceneGraph Users Subject: Re: [osg-users] OSG for Android On Thu, Aug 11, 2011 at 1:09 PM, Mourad Boufarguine mourad.boufargu...@gmail.com wrote: Hi Hector, 2011/8/11 Héctor

Re: [osg-users] OSG for Android

2011-08-12 Thread Héctor Martínez
, Héctor From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Mourad Boufarguine Sent: jueves, 11 de agosto de 2011 16:50 To: OpenSceneGraph Users Subject: Re: [osg-users] OSG for Android On Thu, Aug 11, 2011 at 1:09 PM, Mourad

Re: [osg-users] OSG for Android

2011-08-12 Thread Riccardo Corsi
, ** ** Héctor ** ** *From:* osg-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Mourad Boufarguine *Sent:* jueves, 11 de agosto de 2011 16:50 *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] OSG for Android

Re: [osg-users] OSG for Android

2011-08-11 Thread Héctor Martínez
: miércoles, 10 de agosto de 2011 19:31 To: OpenSceneGraph Users Subject: Re: [osg-users] OSG for Android YAOUCH! I missed that! xD you are damn right. 2011/8/10 Mourad Boufarguine mourad.boufargu...@gmail.com Hi Hector, 2011/8/10 Héctor Martínez hector.marti...@sensetrix.com Thank you

[osg-users] OSG for Android on Mac

2011-08-11 Thread Büsra Gülten
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

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
Hi Hector, 2011/8/11 Héctor Martínez hector.marti...@sensetrix.com Thank you Mourad and Jorge. ** ** I have never used CygWin and I am trying to follow those instructions: ** ** http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Cygwin Those are for

Re: [osg-users] OSG for Android

2011-08-11 Thread Riccardo Corsi
Hi Mourad and all, I've succesfully built osg_3.0.1 on Windows with Cygwin (without 3rd party plugins for now). I'm now trying to build the osgAndroidExampleGLES1, and everything compiles, but the linker (ld) throws an error says that it cannot find the dds lib, here it is: $

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
On Thu, Aug 11, 2011 at 1:09 PM, Mourad Boufarguine mourad.boufargu...@gmail.com wrote: Hi Hector, 2011/8/11 Héctor Martínez hector.marti...@sensetrix.com Thank you Mourad and Jorge. ** ** I have never used CygWin and I am trying to follow those instructions:*** * ** **

Re: [osg-users] OSG for Android on Mac

2011-08-11 Thread Riccardo Corsi
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

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
Hi Riccardo, On Thu, Aug 11, 2011 at 1:59 PM, Riccardo Corsi riccardo.co...@kairos3d.itwrote: Hi Mourad and all, I've succesfully built osg_3.0.1 on Windows with Cygwin (without 3rd party plugins for now). I'm now trying to build the osgAndroidExampleGLES1, and everything compiles, but

Re: [osg-users] OSG for Android

2011-08-11 Thread Jorge Izquierdo Ciges
Mmmm look the Android make file inside the GLES example and change type your directory here into your path to OSG 2011/8/11 Mourad Boufarguine mourad.boufargu...@gmail.com ed with my binaries folder path and it worked. ___ osg-users mailing list

Re: [osg-users] OSG for Android

2011-08-11 Thread Riccardo Corsi
Hi guys, it works!! I had to tweak something and then I've run some tests, let me share some points with you: - Builing I have made a floder called ndk-build inside the osg folder tree to place all the nkd builind stuff. If I set the OSG_ANDROID_DIR to that folder, the compiler doesn't file the

Re: [osg-users] OSG for Android

2011-08-11 Thread Jorge Izquierdo Ciges
I don't have very much idea what can happen with 3.X it would be needed to see in detail the Logcat to find what's happening. 2.3 and 3.X have the same base in common so it shouldn't be anything big. About the other things probably is just that you didn't do a make install to create a directory

Re: [osg-users] OSG for Android

2011-08-10 Thread Héctor Martínez
] On Behalf Of Jorge Izquierdo Ciges Sent: lunes, 08 de agosto de 2011 17:14 To: OpenSceneGraph Users Subject: Re: [osg-users] OSG for Android There's no trouble in that. Android binaries are platform independant (they are from Android) and I suppose following the google instructions shouldn't give

Re: [osg-users] OSG for Android

2011-08-10 Thread Mourad Boufarguine
___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OSG for Android

2011-08-10 Thread Jorge Izquierdo Ciges
to use Cygwin not MinGW/MSYS on windows to develop with android ndk. Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OSG for Android

2011-08-09 Thread Rafa Gaitan
Hi Hector, ThirdParty package for android is deployed here: http://www2.ai2.upv.es/difusion/osgAndroid/3rdpartyAndroid.zip I'm sure other developers reported that they were able to build in windows using mingw or cygwin but we usually work on linux or mac (making our life easier! :)). Cheers,

Re: [osg-users] OSG for Android

2011-08-08 Thread Jorge Izquierdo Ciges
Try cleaning Cmake configure of the osg directory first. And don't use a graphical Cmake bad shit happens sometimes. In wiki there is a comand line cmake example. El 8 de agosto de 2011 07:55, Héctor Martínez hector.marti...@sensetrix.com escribió: and clicking the Configure button, a huge

Re: [osg-users] OSG for Android

2011-08-08 Thread Héctor Martínez
wrong? Thank you. Cheers, Héctor From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jorge Izquierdo Ciges Sent: lunes, 08 de agosto de 2011 10:42 To: OpenSceneGraph Users Subject: Re: [osg-users] OSG for Android Try

Re: [osg-users] OSG for Android

2011-08-08 Thread Mourad Boufarguine
2011/8/8 Héctor Martínez hector.marti...@sensetrix.com Hi Jorge, ** ** thank you for your response! You were right, it works with command line. But now I have new problems: ** ** **- **It doesn´t find some plugins (jpg, png… etc). **- **When trying to

Re: [osg-users] OSG for Android

2011-08-08 Thread Jorge Izquierdo Ciges
There's no trouble in that. Android binaries are platform independant (they are from Android) and I suppose following the google instructions shouldn't give much trouble to anyone. I didn't like MinGW so I sticked with Linux. I'll try to find the 3rd party package link and submit it when I can...

Re: [osg-users] [osg-submissions] Android Development Plans

2011-03-10 Thread Mourad Boufarguine
Hi all, I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). For the moment I only

Re: [osg-users] [osg-submissions] Android Development Plans

2011-03-10 Thread Robert Osfield
Thanks Mourad, fix now merged and submitted to svn/trunk. On Thu, Mar 10, 2011 at 2:30 PM, Mourad Boufarguine mourad.boufargu...@gmail.com wrote: Hi all, I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling

Re: [osg-users] [osg-submissions] Android Development Plans

2011-03-08 Thread Rafa Gaitan
Hi Robert, Thank you very much for reviewing!, We will include some documentation on the wiki, but I have some work trips this weeks so probably Jorge will do the most part. Rafa. 2011/3/8 Robert Osfield robert.osfi...@gmail.com: Hi Rafa, Jorge and all ;-) On Mon, Mar 7, 2011 at 11:53 AM,

Re: [osg-users] OSG on Android ?

2010-06-10 Thread Ulrich Hertlein
On 10/06/10 14:32 , Vivek Kumar Dwivedi wrote: Don't send me messages Unsubscribe and they'll go away: http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] OSG on Android ?

2010-06-09 Thread Jason Daly
David Glenn wrote: Hi, I got my HTC EVO toy this week and I'm already playing with the idea of making Android apps (with OpenGL ES ). I know that apps for android are mostly based on java, but I have to be the one to ask! Yea! I know! I Know! |-) I know that there was an IPhone version