Hi Cedric, (I always wrote "C*é*dric"... which one is correct?)
Ah, okay. I guessed it was something like that :) Maybe then we could drop CMake 2.4 once 2.6 is stable on most/all platforms? Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Mon, 02 Feb 2009 14:04:51 +0100, Cedric Pinson <[email protected]> a écrit: > Hi Sukender, > > just because cmake 2.6 is not tagged stable yet on my distribution. > [I] dev-util/cmake > Available versions: 2.4.6-r1 (~)2.4.7-r1 2.4.8 ~2.6.2 ~2.6.2-r1 > {emacs qt4 vim-syntax} > Installed versions: 2.4.8(13:57:21 02/01/09)(emacs -vim-syntax) > Homepage: http://www.cmake.org/ > Description: Cross platform Make > > It's the only reason, i prefer to keep stuff stable, but if it becomes a > requierement for osg then i will jump to the 2.6 > > Cheers, > Cedric > > Sukender wrote: >> Hi Robert, hi Cédric, >> >> Please don't take offense of this question, but why don't we simply drop the >> support for older versions of CMake? As far as I know, 2.6 introduced many >> improvements. Are there platforms where 2.6+ isn't available? Or is there >> something I don't know (which may be the most probable answer!)? >> Thanks. >> >> Sukender >> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ >> >> >> Le Mon, 02 Feb 2009 12:40:06 +0100, Cedric Pinson <[email protected]> a >> écrit: >> >> >>> Hi Robert, >>> >>> I use cmake version 2.4-patch 8 >>> >>> Cheers, >>> Cedric >>> >>> Robert Osfield wrote: >>> >>>> Hi Cedric, >>>> >>>> Which version of Cmake are you using? >>>> >>>> Here's my equivalent of your grep of CMaekCache.txt. Note the entry >>>> for X11_Xrandr_LIB. >>>> >>>> Perhaps change src/osgViewer/CMakeLists.txt from using X11_Xrandr_LIB >>>> to XRANDR_LIBRARIES would be appropriate. >>>> >>>> Robert. >>>> >>>> grep -i xran CMakeCache.txt >>>> //Set to ON to enable Xrandr support for GraphicsWindowX11. >>>> OSGVIEWER_USE_XRANDR:BOOL=ON >>>> QT_XRANDR_LIBRARY:FILEPATH=/usr/lib/libXrandr.so >>>> X11_Xrandr_INCLUDE_PATH:PATH=/usr/include >>>> X11_Xrandr_LIB:FILEPATH=/usr/lib/libXrandr.so >>>> osgViewer_LIB_DEPENDS:STATIC=general;osgGA;general;osgText;general;osgDB;general;osgUtil;general;osg;general;OpenThreads;general;/usr/lib/libXrandr.so;general;/usr/lib/libGLU.so;general;/usr/lib/libGL.so;general;/usr/lib/libSM.so;general;/usr/lib/libICE.so;general;/usr/lib/libX11.so;general;/usr/lib/libXext.so;general;; >>>> GTK_STATIC_LDFLAGS:INTERNAL=-lgtk-x11-2.0;-lgdk-x11-2.0;-latk-1.0;-lpangoft2-1.0;-lXinerama;-lXi;-lXrandr;-lXcursor;-lXcomposite;-lXdamage;-lgdk_pixbuf-2.0;-ltiff;-ljpeg;-lpangocairo-1.0;-lgio-2.0;-lXext;-lXfixes;-lcairo;-lm;-lpixman-1;-lpng12;-lxcb-render-util;-lXrender;-lxcb-render;-lX11;-lpthread;-lxcb-xlib;-lxcb;-lXau;-lXdmcp;-lpango-1.0;-lfontconfig;-lexpat;-lfreetype;-lz;-lgobject-2.0;-lgmodule-2.0;-ldl;-lglib-2.0 >>>> GTK_STATIC_LIBRARIES:INTERNAL=gtk-x11-2.0;gdk-x11-2.0;atk-1.0;pangoft2-1.0;Xinerama;Xi;Xrandr;Xcursor;Xcomposite;Xdamage;gdk_pixbuf-2.0;tiff;jpeg;pangocairo-1.0;gio-2.0;Xext;Xfixes;cairo;m;pixman-1;png12;xcb-render-util;Xrender;xcb-render;X11;pthread;xcb-xlib;xcb;Xau;Xdmcp;pango-1.0;fontconfig;expat;freetype;z;gobject-2.0;gmodule-2.0;dl;glib-2.0 >>>> POPPLER_STATIC_LDFLAGS:INTERNAL=-lpoppler-glib;-lpoppler;-lgdk-x11-2.0;-lXinerama;-lXi;-lXrandr;-lXcursor;-lXcomposite;-lXdamage;-lgdk_pixbuf-2.0;-ltiff;-ljpeg;-lpangocairo-1.0;-lgio-2.0;-lXext;-lXfixes;-lpango-1.0;-lcairo;-lm;-lgobject-2.0;-lgmodule-2.0;-ldl;-lglib-2.0;-lpixman-1;-lfontconfig;-lexpat;-lfreetype;-lz;-lpng12;-lxcb-render-util;-lXrender;-lxcb-render;-lX11;-lpthread;-lxcb-xlib;-lxcb;-lXau;-lXdmcp >>>> POPPLER_STATIC_LIBRARIES:INTERNAL=poppler-glib;poppler;gdk-x11-2.0;Xinerama;Xi;Xrandr;Xcursor;Xcomposite;Xdamage;gdk_pixbuf-2.0;tiff;jpeg;pangocairo-1.0;gio-2.0;Xext;Xfixes;pango-1.0;cairo;m;gobject-2.0;gmodule-2.0;dl;glib-2.0;pixman-1;fontconfig;expat;freetype;z;png12;xcb-render-util;Xrender;xcb-render;X11;pthread;xcb-xlib;xcb;Xau;Xdmcp >>>> //Advanced flag for variable: QT_XRANDR_LIBRARY >>>> QT_XRANDR_LIBRARY-ADVANCED:INTERNAL=1 >>>> //Advanced flag for variable: X11_Xrandr_INCLUDE_PATH >>>> X11_Xrandr_INCLUDE_PATH-ADVANCED:INTERNAL=1 >>>> //Advanced flag for variable: X11_Xrandr_LIB >>>> X11_Xrandr_LIB-ADVANCED:INTERNAL=1 >>>> 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;-lxcb-xlib;-lxcb;-lXau;-lXdmcp >>>> XRANDR_STATIC_LDFLAGS_OTHER:INTERNAL= >>>> XRANDR_STATIC_LIBDIR:INTERNAL= >>>> XRANDR_STATIC_LIBRARIES:INTERNAL=Xrandr;Xext;Xrender;X11;pthread;xcb-xlib;xcb;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.3 >>>> XRANDR_xrandr_INCLUDEDIR:INTERNAL= >>>> XRANDR_xrandr_LIBDIR:INTERNAL= >>>> XRANDR_xrandr_PREFIX:INTERNAL= >>>> XRANDR_xrandr_VERSION:INTERNAL= >>>> __pkg_config_checked_XRANDR:INTERNAL=1 >>>> >>>> >>>> On Mon, Feb 2, 2009 at 11:10 AM, Cedric Pinson <[email protected]> >>>> wrote: >>>> >>>> >>>>> Hi Robert, >>>>> >>>>> It's a bit strange because it detects xrandr and set the flag ON, but does >>>>> not detect libs, see the output: >>>>> >>>>> *morni...@macmornifle ~/dev/osg-trunk/build $ cmake ../ >>>>> -DCMAKE_BUILD_TYPE=Release >>>>> *-- Check for working C compiler: /usr/bin/gcc >>>>> -- Check for working C compiler: /usr/bin/gcc -- works >>>>> -- Check size of void* >>>>> -- Check size of void* - done >>>>> -- Check for working CXX compiler: /usr/bin/c++ >>>>> -- Check for working CXX compiler: /usr/bin/c++ -- works >>>>> -- Looking for pthread.h >>>>> -- Looking for pthread.h - found >>>>> -- Looking for pthread_create in pthreads >>>>> -- Looking for pthread_create in pthreads - not found >>>>> -- Looking for pthread_create in pthread >>>>> -- Looking for pthread_create in pthread - found >>>>> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so >>>>> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - >>>>> found >>>>> -- Looking for gethostbyname >>>>> -- Looking for gethostbyname - found >>>>> -- Looking for connect >>>>> -- Looking for connect - found >>>>> -- Looking for remove >>>>> -- Looking for remove - found >>>>> -- Looking for shmat >>>>> -- Looking for shmat - found >>>>> -- Looking for IceConnectionNumber in ICE >>>>> -- Looking for IceConnectionNumber in ICE - found >>>>> -- checking for module 'gtk+-2.0' >>>>> -- found gtk+-2.0, version 2.12.11 >>>>> -- checking for module 'gtkglext-x11-1.0' >>>>> -- found gtkglext-x11-1.0, version 1.2.0 >>>>> -- checking for module 'librsvg-2.0' >>>>> -- found librsvg-2.0, version 2.22.2 >>>>> -- checking for module 'cairo' >>>>> -- found cairo, version 1.6.4 >>>>> -- checking for module 'poppler-glib' >>>>> -- found poppler-glib, version 0.8.7 >>>>> -- Found JPEG: /usr/lib/libjpeg.so >>>>> -- Found PNG: /usr/lib/libpng.so >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_SUN >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC >>>>> -- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed >>>>> -- Looking for pthread_yield >>>>> -- Looking for pthread_yield - found >>>>> -- Looking for pthread_setconcurrency >>>>> -- Looking for pthread_setconcurrency - found >>>>> -- Looking for pthread_getconcurrency >>>>> -- Looking for pthread_getconcurrency - found >>>>> -- Looking for pthread_setaffinity_np >>>>> -- Looking for pthread_setaffinity_np - found >>>>> -- checking for module 'xrandr' >>>>> -- found xrandr, version 1.2.1 >>>>> >>>>> The build system is configured to instal libraries to /usr/local/lib >>>>> Your applications may not be able to find your installed libraries unless >>>>> you: >>>>> set your LD_LIBRARY_PATH (user specific) or >>>>> update your ld.so configuration (system wide) >>>>> You have an ld.so.conf file in /etc, if you wish to ensure >>>>> that applications find the installed osg libraries, system wide, you >>>>> could add /usr/local/lib to it. >>>>> -- Configuring done >>>>> -- Generating done >>>>> -- Build files have been written to: /home/mornifle/dev/osg-trunk/build >>>>> morni...@macmornifle ~/dev/osg-trunk/build $ >>>>> >>>>> *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_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, >>>>>> >>>>>> I did make some changes to CMakeLists.txt to fix build problems under >>>>>> FreeBSD that related the Xrandr functionality. Could you check the >>>>>> Cmake variable that have been picked up for X11_Xrandr_LIB, mine >>>>>> points to .usr/lib/libXrandr.so. >>>>>> >>>>>> Robert. >>>>>> >>>>>> On Sun, Feb 1, 2009 at 5:08 PM, Cedric Pinson <[email protected]> >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hi Robert and all >>>>>>> >>>>>>> I get the trunk this afternoon, and get a compile issue >>>>>>> >>>>>>> ./configure >>>>>>> make >>>>>>> ... >>>>>>> Linking CXX executable ../../bin/osgviewer >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRQueryVersion' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRConfigRates' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRQueryExtension' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRConfigRotations' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRRates' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRFreeScreenConfigInfo' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRGetScreenInfo' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRConfigSizes' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRSizes' >>>>>>> /home/mornifle/dev/osg-trunk/release/lib/libosgViewer.so: undefined >>>>>>> reference to `XRRSetScreenConfigAndRate' >>>>>>> >>>>>>> Anybody get this error ? >>>>>>> >>>>>>> Cheers, >>>>>>> Cedric >>>>>>> >>>>>>> Robert Osfield wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> I would like to finish this week with a 2.7.9 dev release, could users >>>>>>>> do a check out of svn/trunk and let know if your build succeeds/or >>>>>>>> where it fails. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Robert. >>>>>>>> _______________________________________________ >>>>>>>> osg-users mailing list >>>>>>>> [email protected] >>>>>>>> >>>>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> -- >>>>>>> +33 (0) 6 63 20 03 56 Cedric Pinson mailto:[email protected] >>>>>>> http://www.plopbyte.net >>>>>>> >>>>>>> _______________________________________________ >>>>>>> osg-users mailing list >>>>>>> [email protected] >>>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> osg-users mailing list >>>>>> [email protected] >>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> +33 (0) 6 63 20 03 56 Cedric Pinson mailto:[email protected] >>>>> http://www.plopbyte.net >>>>> >>>>> >>>>> _______________________________________________ >>>>> osg-users mailing list >>>>> [email protected] >>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> osg-users mailing list >>>> [email protected] >>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>>> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

