Robert, you are right: after installing qt-opengl configuring was done successfully.
В Чтв, 29/01/2009 в 11:20 +0000, Robert Osfield пишет: > HI Valery, > > As an experiment could you install the qt OpenGL package? Then see how > things cope. > > On the QT front we could probably just require that the OpenGL package > is available, otherwise not build the QT example. > > Robert. > > On Thu, Jan 29, 2009 at 11:08 AM, Valery A. Bickov > <[email protected]> wrote: > > Robert, > > > > I checked first error, it is really fixed, message only appers if I do > > not set CMAKE_INSTALL_PREFIX or set it to /usr/local, but it is not > > terrible. > > > > About second: I've using Gentoo: > > equery l qt > > [ Searching for package 'qt' in all categories among: ] > > * installed packages > > [I--] [ ] dev-libs/dbus-qt3-old-0.70 (0) > > [I--] [ ] x11-libs/qt-3.3.8b-r1 (3) > > [I--] [ ] x11-libs/qt-core-4.4.2 (4) > > [I--] [ ] x11-libs/qt-gui-4.4.2-r1 (4) > > [I--] [ ] x11-libs/qt-qt3support-4.4.2 (4) > > [I--] [ ] x11-libs/qt-script-4.4.2 (4) > > [I--] [ ] x11-libs/qt-sql-4.4.2 (4) > > [I--] [ ] x11-libs/qt-test-4.4.2 (4) > > > > Not so far ago way of installing QT was changed in Gentoo, before it was > > single packet but now, as you see, it is couple of packages. > > > > I'm using cmake version 2.6.2. > > > > I ran "grep -i qt CMakeCache.txt" and attach it in file, because output > > was too long. > > > > But I am surprised that QT is needed for building examples. Why it is > > not optional? > > > > Valery > > > > В Чтв, 29/01/2009 в 10:44 +0000, Robert Osfield пишет: > >> HI Valery, > >> > >> There are couple of things going on here. First up the mention > >> /usrib64 is a bug in some new install path helper message, I've fixed > >> this particular error by adding a / into the message so that it'll > >> appear /usr/local/lib64 or /usr/lib64. A second change I made is to > >> make the reporting of this message so hopefully reads a bit more > >> naturally: > >> > >> The build system is configured to instal libraries to /usr/local/lib64 > >> 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.d directory on your system, so if you wish to > >> ensure that > >> applications find the installed osg libraries, system wide, you could > >> install a > >> openscenegraph specific ld.so configuration with: > >> sudo make install_ld_conf > >> > >> I also made this message only appear if the the > >> CMAKE_INSTALL_PREFIX==/usr/local and only on the first run of cmake so > >> it doesn't nag you when not required. We need to further refine the > >> logic about when to report the message, but for now it should at least > >> be a step in the right direction. In you case it shouldn't emit this > >> message at all as it's unnecessary. > >> > >> The second error you are reporting looks to be a QT install specific > >> issue. Which linux distro are you using? Which version of QT is > >> installed? Which version of cmake are you using? Could you go into > >> ccmake . to review the QT related variables to see what it has and has > >> not found. > >> > >> Cheers, > >> Robert. > >> > >> > >> On Thu, Jan 29, 2009 at 10:10 AM, Valery A. Bickov > >> <[email protected]> wrote: > >> > Hi. > >> > > >> > I'm trying to build last version of OSG from svn on amd64 linux: > >> > > >> > cd trunk > >> > mkdir build > >> > cd build > >> > cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr > >> > > >> > <a lot of output> > >> > -- checking for module 'xrandr' > >> > -- found xrandr, version 1.2.2 > >> > You will be installing libraries to /usrlib64 > >> > Your loader may not be able to find your installed libraries unless you: > >> > set your LD_LIBRARY_PATH (user specific) > >> > update your ld.so configuration (system wide) > >> > You have an ld.so.conf file in /etc > >> > You may need to add /usrlib64 to it. > >> > -- Configuring done > >> > -- Generating done > >> > -- Build files have been written > >> > > >> > Why it wants install to /usrlib64??? > >> > > >> > And else one problem: > >> > cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr > >> > -DBUILD_OSG_EXAMPLES:BOOL=ON > >> > > >> > <a lot of output> > >> > You will be installing libraries to /usrlib64 > >> > Your loader may not be able to find your installed libraries unless you: > >> > set your LD_LIBRARY_PATH (user specific) > >> > update your ld.so configuration (system wide) > >> > You have an ld.so.conf file in /etc > >> > You may need to add /usrlib64 to it. > >> > CMake Error: The following variables are used in this project, but they > >> > are set to NOTFOUND. > >> > Please set them or make sure they are set and tested correctly in the > >> > CMake files: > >> > QT_QTOPENGL_LIBRARY_RELEASE (ADVANCED) > >> > linked by target "example_osgviewerQT" in > >> > directory > >> > /var/tmp/portage/media-gfx/openscenegraph-9999/work/openscenegraph-9999/examples/osgviewerQT > >> > > >> > -- Configuring incomplete, errors occurred! > >> > > >> > Best regards, > >> > Valery > >> > > >> > _______________________________________________ > >> > 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

