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 escribió: > and clicking the Configure button, a huge amount of similar errors appear.

Re: [osg-users] OSG for Android

2011-08-08 Thread Héctor Martínez
2> 2>Build FAILED Any ideas about what’s 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 Us

Re: [osg-users] OSG for Android

2011-08-08 Thread Jorge Izquierdo Ciges
Mmm first it doesn't find the plugins because you don't have them xD we have a third party package that... it seems we forgot to publish the link in the wiki (and i don't know the address in my head). The other thing is probably a error because i think ndk is not prepared to run in windows as it is

Re: [osg-users] OSG for Android

2011-08-08 Thread Mourad Boufarguine
2011/8/8 Héctor Martínez > 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 build the solution I

Re: [osg-users] OSG for Android

2011-08-08 Thread Héctor Martínez
get those you mention? 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 13:36 To: OpenSceneGraph Users Subject: Re: [osg-users] OSG for Android Mmm first it doesn't

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... b

Re: [osg-users] OSG for Android

2011-08-08 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, Ra

Re: [osg-users] OSG for Android

2011-08-10 Thread Héctor Martínez
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&#

Re: [osg-users] OSG for Android

2011-08-10 Thread Mourad Boufarguine
Hi Hector, 2011/8/10 Héctor Martínez > Thank you for the response. I am having some problems with the MINGW/MSYS > make. Here is the problem: > You have to use Cygwin not MinGW/MSYS on windows to develop with android ndk. Mourad ___ osg-users mailing

Re: [osg-users] OSG for Android

2011-08-10 Thread Jorge Izquierdo Ciges
YAOUCH! I missed that! xD you are damn right. 2011/8/10 Mourad Boufarguine > Hi Hector, > > > 2011/8/10 Héctor Martínez > >> Thank you for the response. I am having some problems with the MINGW/MSYS >> make. Here is the problem: >> > You have to use Cygwin not MinGW/MSYS on windows to devel

Re: [osg-users] OSG for Android

2011-08-11 Thread Héctor Martínez
s Sent: 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 Hi Hector, 2011/8/10 Héctor Martínez Thank you for the response. I am having some problems wi

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
Hi Hector, 2011/8/11 Héctor Martínez > 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 building OSG with cygw

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: $ ../../../../../Andr

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 > >> Thank you Mourad and Jorge. >> >> ** ** >> >> I have never used CygWin and I am trying to follow those instructions:*** >> * >> >> ** ** >> >> >> http://w

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 wrote: > 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

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 > ed with my binaries folder path and it worked. ___ osg-users mailing list osg-users@lists.openscenegraph.

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 o

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 wit

Re: [osg-users] OSG for Android

2011-08-12 Thread Héctor Martínez
Cheers, 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,

Re: [osg-users] OSG for Android

2011-08-12 Thread Riccardo Corsi
sg-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-15 Thread Héctor Martínez
n...@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 wrote: Hi Hector, 2011/8/11 Héctor Martínez Thank you Moura

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 ev

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 a

[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

[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 N

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 the

[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 = gl_ModelViewProje