Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Cannot run Nef_Polyhedron_3 example Nef_3/visualization_SM.cpp. Problem with QT4
  • Date: Fri, 28 Aug 2015 07:25:05 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:oCaoYxS4p5hbCpY2HfI0OuNlktpsv+yvbD5Q0YIujvd0So/mwa64YhCN2/xhgRfzUJnB7Loc0qyN4/umBzFLsMzJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvioNuNPk4Z3nKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQ6NtRrNRCHEqMns++dbwnRjFVwqGoHUGAUsMlR8dSTPI5hjhQpb8tGPesfB83zXSfeL7SrU5RS6zwa5gVBjymWZNf2oi9GbNi8tsyqdfiB2krh17hYXTZdfGZ7JFYqrBcIZCFiJ6VcFLWnkZDw==
  • Organization: GeometryFactory

The Nef_3 demo requires Qt3 and is not working with Qt4.

Sebastien.

On 08/17/2015 01:14 PM, Merlin Etzold wrote:
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