Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Cannot run Nef_Polyhedron_3 example Nef_3/visualization_SM.cpp. Problem with QT4

Subject: CGAL users discussion list

List archive

[cgal-discuss] Cannot run Nef_Polyhedron_3 example Nef_3/visualization_SM.cpp. Problem with QT4


Chronological Thread 
  • From: Merlin Etzold <>
  • To:
  • Subject: [cgal-discuss] Cannot run Nef_Polyhedron_3 example Nef_3/visualization_SM.cpp. Problem with QT4
  • Date: Mon, 17 Aug 2015 12:14:21 +0100

Dear All,

When I try to compile the example Nef_3/visualization_SM.cpp, (using  I get a series of error messages

[100%] Building CXX object CMakeFiles/executable.dir/NefPolyHedronTest.cpp.o
In file included from /home/merlin/CGAL-4.6.1/include/CGAL/IO/Qt_widget_Nef_3.h:24:0,
                 from /home/merlin/Work/Codes/VariousDownloadedStuff/NefPolyHedronTest/src/NefPolyHedronTest.cpp:25:
/home/merlin/CGAL-4.6.1/include/CGAL/IO/Qt_widget_OpenGL.h:29:26: fatal error: qapplication.h: No such file or directory
 #include <qapplication.h>
                          ^
compilation terminated.
make[2]: *** [CMakeFiles/executable.dir/NefPolyHedronTest.cpp.o] Error 1
make[1]: *** [CMakeFiles/executable.dir/all] Error 2
make: *** [all] Error 2

The file qapplication.h does exist on my machine as part of the QT4 installation, so I figure something has gone wrong with the CGAL configuration.

When I tried to compile my program from eclipse using my own makefile, I provided the paths to this file. However, I got then subsequent error messages for files which I eventually attributed to QT3 - which for some reasons I cannot install (brocken dependency, and I could not fix it)

Does anybody knowns a work around or has encountered a similar problem?

Some other relevant information:
Ubuntu 14.04 LTS
CGAL 4.6.1
g++ --version  g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4

Thank you in advance for your help. Please let me know if I can help with further information.

Best wishes,
Merlin :)





Archive powered by MHonArc 2.6.18.

Top of Page