Building libQGLViewer error: cannot find lqglviewer-qt5

1.3k views Asked by At

I am trying to build the lQGLViewer in order to compile CGAL demos. I am following primarily the steps here and

I have installed qt 5.6.0. as well as the dependencies freeglut3 freeglut3-dev binutils-gold g++ libglew-dev mesa-common-dev build-essential libeigen3-dev libboost-all-dev libmpfr-dev libgmp-dev libtbb-dev zlib1g-dev

However, when I try to build the lQGLViewer with QT Creator [3.6.1] I receive the error:

cannot find -lQGLViwer-qt5

The same error is with both versions 2.6.4 and 2.7.1 of lQGLViewer

The entire output is available here

I am using Ubuntu 16.04.3 LTS

Is this due to the QT version I have installed?

3

There are 3 answers

2
mgimeno On

You'd rather follow those instructions for libQGLViewer : http://libqglviewer.com/compilation.html You can also try setting NO_QT_VERSION_SUFFIX to TRUE And if you really can't install it, CGAL demos don't need libQGLViewer since 4.12.

0
Jesse RJ On

I was able to install libqglviewer-dev from the ubuntu repositories. This allowed me to compile some of the 3d demos from CGAL

0
Rishabh Bahuguna On

I don't think xenial supports qt5 package. However, this site gives you access to all available versions.

https://packages.ubuntu.com/search?keywords=qglviewer

For installing libqglviewer-dev:

sudo apt-get install -y libqglviewer-dev