Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] help with Qt_widget
- Date: Tue, 25 Mar 2008 15:19:00 +0100
- Organization: Inria, Sophia Antipolis, FRANCE
On Tuesday 25 March 2008 15:03:48 BomBielFil wrote:
> I tried to introduce -lqt-mt in my g++ command: "g++ -Wall
> -I/usr/local/include -I/usr/include/qt3 -L/usr/local/lib -lCGAL -lm -lqt-mt
> disegno.cpp -lstage -o disegno `pkg-config --cflags --libs gtk+-2.0`"
>
> but now the error is:
>
> disegno.cpp:(.text+0x171): undefined reference to
> `CGAL::Qt_widget::Qt_widget(QWidget*, char const*)'
You forgot to link with the CGALQt library, and it seems that you use it.
Add "-lCGALQt" to your link flags, if you really use the CGAL::Qt_widget
class. However, it seems that you want to use Gtk+-2.0, and not Qt. In case
case, you should remove from your code all headers that contain "Qt_widget"
in their names.
--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)
- help with Qt_widget, BomBielFil, 03/12/2008
- Re: [cgal-discuss] help with Qt_widget, Laurent Rineau, 03/12/2008
- Re: [cgal-discuss] help with Qt_widget, BomBielFil, 03/25/2008
- Re: [cgal-discuss] help with Qt_widget, Laurent Rineau, 03/25/2008
- Re: [cgal-discuss] help with Qt_widget, BomBielFil, 03/25/2008
- Re: [cgal-discuss] help with Qt_widget, Laurent Rineau, 03/27/2008
- Re: [cgal-discuss] help with Qt_widget, BomBielFil, 03/25/2008
- Re: [cgal-discuss] help with Qt_widget, Laurent Rineau, 03/25/2008
- Re: [cgal-discuss] help with Qt_widget, BomBielFil, 03/25/2008
- Re: [cgal-discuss] help with Qt_widget, Laurent Rineau, 03/12/2008
Archive powered by MHonArc 2.6.16.