compile against libcgal fails: cannot find

Bug #788104 reported by fvila
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cgal (Ubuntu)

Bug Description

When using compiling a program using CGAL and Qt4 components, linking fails with:

make[2]: *** No rule to make target `/usr/lib/', needed by `PCA_demo'. Stop.
make[1]: *** [CMakeFiles/PCA_demo.dir/all] Error 2
make: *** [all] Error 2

Same code, and same CMakeList.txt files worked on maverick.

Compiling an example (without Qt) works fine.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libcgal5 3.6.1-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Wed May 25 14:39:26 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
 PATH=(custom, user)
SourcePackage: cgal
UpgradeStatus: Upgraded to natty on 2011-05-02 (22 days ago)

Revision history for this message
fvila (francesc-vila) wrote :
Revision history for this message
fvila (francesc-vila) wrote :

In fact, downloading the apt sources, and compiling makes it work. Maybe there has been some compiler/libraries/paths changes on the update from maverick to natty.

Revision history for this message
fvila (francesc-vila) wrote :

To check if I have some kind of conflict on packages when updating, I have installed a clean copy of ubuntu 11.04 on a virtual machine. This time is the 32bits version.

On the machine I have installed cmake, libcgal-demo, libcgal-dev and build-essential. This installs Qt4 and boost dependencies.

Trying to compile the PCA demo (using Qt components of CGAL) results on the same linking error (not finding /usr/lib/ and /usr/lib/ When recompiling the deb package, the demo links correctly.



To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.