Hi,
Yes now it compiles fine.

Thank you


Cheers,
Cedric

Robert Osfield wrote:
Hi Cedric,

Does osgViewer now compile if you enable Xrandr?

Robert.

On Mon, Feb 2, 2009 at 12:30 PM, Cedric Pinson <morni...@plopbyte.net> wrote:
Hi Robert,

here the grep with the new cmakelist.txt. I did a resetup

*morni...@macmornifle ~/dev/osg-trunk/build $ grep -i xran CMakeCache.txt
*//Set to ON to enable Xrandr support for GraphicsWindowX11.
OSGVIEWER_USE_XRANDR:BOOL=ON
Xrandr_LINK_TYPE:STATIC=optimized
Xrandrd_LINK_TYPE:STATIC=debug
osgViewer_LIB_DEPENDS:STATIC=osgGA;osgGAd;osgText;osgTextd;osgDB;osgDBd;osgUtil;osgUtild;osg;osgd;OpenThreads;OpenThreadsd;Xrandr;Xrandrd;/usr/lib/libGLU.so;/usr/lib/libGL.so;-lSM;-lICE;/usr/lib/libX11.so;/usr/lib/libXext.so;;
XRANDR_CFLAGS:INTERNAL=
XRANDR_CFLAGS_I:INTERNAL=
XRANDR_CFLAGS_OTHER:INTERNAL=
XRANDR_FOUND:INTERNAL=1
XRANDR_INCLUDEDIR:INTERNAL=/usr/include
XRANDR_INCLUDE_DIRS:INTERNAL=
XRANDR_LDFLAGS:INTERNAL=-lXrandr
XRANDR_LDFLAGS_OTHER:INTERNAL=
XRANDR_LIBDIR:INTERNAL=/usr/lib
XRANDR_LIBRARIES:INTERNAL=Xrandr
XRANDR_LIBRARY_DIRS:INTERNAL=
XRANDR_LIBS:INTERNAL=
XRANDR_LIBS_L:INTERNAL=
XRANDR_LIBS_OTHER:INTERNAL=
XRANDR_LIBS_PATHS:INTERNAL=
XRANDR_PREFIX:INTERNAL=/usr
XRANDR_STATIC_CFLAGS:INTERNAL=
XRANDR_STATIC_CFLAGS_I:INTERNAL=
XRANDR_STATIC_CFLAGS_OTHER:INTERNAL=
XRANDR_STATIC_INCLUDE_DIRS:INTERNAL=
XRANDR_STATIC_LDFLAGS:INTERNAL=-lXrandr;-lXext;-lXrender;-lX11;-lpthread;-lXau;-lXdmcp
XRANDR_STATIC_LDFLAGS_OTHER:INTERNAL=
XRANDR_STATIC_LIBDIR:INTERNAL=
XRANDR_STATIC_LIBRARIES:INTERNAL=Xrandr;Xext;Xrender;X11;pthread;Xau;Xdmcp
XRANDR_STATIC_LIBRARY_DIRS:INTERNAL=
XRANDR_STATIC_LIBS:INTERNAL=
XRANDR_STATIC_LIBS_L:INTERNAL=
XRANDR_STATIC_LIBS_OTHER:INTERNAL=
XRANDR_STATIC_LIBS_PATHS:INTERNAL=
XRANDR_VERSION:INTERNAL=1.2.1
XRANDR_xrandr_INCLUDEDIR:INTERNAL=
XRANDR_xrandr_LIBDIR:INTERNAL=
XRANDR_xrandr_PREFIX:INTERNAL=
XRANDR_xrandr_VERSION:INTERNAL=
__pkg_config_checked_XRANDR:INTERNAL=1

Cheers,
Cedric

Robert Osfield wrote:
Hi Cedric,

On Mon, Feb 2, 2009 at 11:40 AM, Cedric Pinson <morni...@plopbyte.net>
wrote:

I use cmake version 2.4-patch 8

OK, this is probably why there is deviation in the CMake generated env
vars.  I've just tweaked the relevant src/osgViewer/CMakeLists.txt
part:

#            SET(LIB_EXTRA_LIBS ${X11_Xrandr_LIB} ${LIB_EXTRA_LIBS})
           SET(LIB_EXTRA_LIBS ${XRANDR_LIBRARIES} ${LIB_EXTRA_LIBS})

Attached is the changed file, could you try this out on your machine?

Robert.
 ------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
+33 (0) 6 63 20 03 56  Cedric Pinson mailto:morni...@plopbyte.net
http://www.plopbyte.net


_______________________________________________
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

--
+33 (0) 6 63 20 03 56  Cedric Pinson mailto:morni...@plopbyte.net 
http://www.plopbyte.net


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

Reply via email to