Re: [osg-users] [build] osgviewer build failed for Android

2011-07-20 Thread Rene Bokhorst
Hi,

I have the exact same problem (building for android using cygwin, and it fails 
to find X11 headers), and I don't have the freedom to take code of any trunk. 
My guess is that /usr/include is not passed correctly to the compiler, or 
hasn't been included at all by CMake. I love how CMake works like a charm some 
of the time. I asbolutely detest how unmanageable it is every other time. I 
tried manipulating the CMakeLists.txt to include /usr/include/ to no avail. I'm 
clueless at the moment. Any ideas?

Thank you!

Cheers,
Rene

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





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


Re: [osg-users] [build] osgviewer build failed for Android

2011-04-30 Thread Kebo Wang
Hi,
problem solved by updating to latest svn trunk.
... 


Thank you!

Cheers,
Kebo

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





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


Re: [osg-users] [build] osgviewer build failed for Android

2011-04-27 Thread Jorge Izquierdo Ciges
Post the Cmake command chain that you used and the OSG version. That error
it's not normal and i compiled well two days ago with trunk version.

2011/4/23 Kebo Wang m...@163.com

 Hi,

I try to build osg for android on ubuntu 11.04. After getting svn trunk
 and cmake using opengl-es 2 following wiki page for platform specific for
 android and setting for opengl-es 2.
  the building processing worked great for a some time, then it complain the
 following while compiling osgviewer:


 Code:

 Compile++ thumb  : osgViewer = ViewerEventHandlers.cpp
 Compile++ thumb  : osgViewer = GraphicsWindowX11.cpp
 In file included from
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsWindowX11:23,
 from
 /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:23:
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:22:23:
 error: X11/X.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:23:26:
 error: X11/Xlib.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:24:27:
 error: X11/Xutil.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:25:25:
 error: EGL/egl.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:31:21:
 error: X11/Xmd.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:32:24:
 error: X11/keysym.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:33:28:
 error: X11/cursorfont.h: No such file or directory
 Compile++ thumb  : osgViewer = PixelBufferX11.cpp
 In file included from
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/PixelBufferX11:23,
 from
 /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/PixelBufferX11.cpp:19:
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:22:23:
 error: X11/X.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:23:26:
 error: X11/Xlib.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:24:27:
 error: X11/Xutil.h: No such file or directory
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:25:25:
 error: EGL/egl.h: No such file or directory
 In file included from
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsWindowX11:23,
 from
 /home/mep/dev/osg/OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:23:
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:53:
 error: 'Display' has not been declared
 /home/mep/dev/osg/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11:56:
 error: ISO C++ forbids declaration of 'Display' with no type
 ..




 I'm using android ndk r5b. what's wrong? am i setting wrong in cmake?

 Thank you!

 Cheers,
 KeboWang[/code][/quote]

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





 ___
 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