SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: [seg3D2 bug] No rule to make target `/usr/lib/libQtOpenGL.so'


Chronological Thread 
  • From: Ramón Casero Cañas <rcasero@gmail.com>
  • To: "seg3d@sci.utah.edu" <seg3d@sci.utah.edu>
  • Subject: [Seg3D] Re: [seg3D2 bug] No rule to make target `/usr/lib/libQtOpenGL.so'
  • Date: Tue, 17 Jan 2012 16:03:50 +0000

On 17/01/12 12:27, Ramón Casero Cañas wrote:

[100%] Building CXX object Main/CMakeFiles/Seg3D2.dir/main.cc.o
make[2]: *** No rule to make target `/usr/lib/libQtOpenGL.so', needed by
`Seg3D2'. Stop.
make[1]: *** [Main/CMakeFiles/Seg3D2.dir/all] Error 2
make: *** [all] Error 2


I do have libqt4-opengl and libqt4-opengl-dev installed, although

$ ls /usr/lib/libQtOpenGL.so
ls: cannot access /usr/lib/libQtOpenGL.so: No such file or directory


Hi,

I think I have found where this bug comes from. It also happens in my branch build of Seg3D

$ ./build.sh --seg3d-only

checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for -lGL... no
checking for -lMesaGL... no
configure: error: OpenGL libraries not available

***ERROR in build script
The failed command was:
./configure --with-gtk --with-opengl --disable-shared --prefix=/home/ramc/secure_data/comlab/SCIRun.branch.seg3d_spline_tool/bin


This bug has been reported in wxWidgets, "OpenGL libs not located by 'configure' in debian testing"

http://trac.wxwidgets.org/ticket/13376
http://trac.wxwidgets.org/ticket/13375

The reason is that the OpenGL libraries have been moved to architecture-dependent directories, e.g. in my system

/usr/lib/x86_64-linux-gnu/libQtOpenGL.so

Best regards,

Ramon.

--
Dr. Ramón Casero Cañas

Computational Biology
Department of Computer Science
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

tlf     +44 (0) 1865 610737
web     http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
photos  http://www.flickr.com/photos/rcasero/



Archive powered by MHonArc 2.6.16.

Top of page