Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL & QT

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL & QT


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] CGAL & QT
  • Date: Tue, 14 Oct 2008 22:52:00 +0200 (CEST)

Hello everyone,

I am trying to build the CGAL demo Triangulation_2 with Microsoft Visual
Studio
2005. Compiling is ok, but the linker outputs:

LINK : fatal error LNK1181: cannot open input file 'qt-mt.lib'.

The name of the QT library on my machine is qt-mt3.lib, so I changed project
settings in Visual Studio to the right name. But now there are 79 errors of
two
types:

1>CGALQt-vc80-mt-gd.lib(Qt_widget.obj) : error LNK2005: "public: __thiscall
QString::~QString(void)"
(??1QString@@QAE@XZ)
already defined in
qt-mt3.lib(qt-mt3.dll)

1>CGALQt-vc80-mt-gd.lib(Qt_widget.obj) : error LNK2001: unresolved external
symbol "struct QUType_ptr static_QUType_ptr"
(?static_QUType_ptr@@3UQUType_ptr@@A)

Is there a version inconsistency between your library CGALQt-vc80-mt-gd.lib
and
the QT library qt-mt3.lib ? What shall I do to obtain correct linking ?

I am working with following versions:

QT 3.3.7: No 3.x versions available from Trolltech, I took unofficial version
from http://sourceforge.net --> example projects work well
CGAL 3.3.1 --> example projects without QT work well
BOOST 1.36.0

with kind regards
Stephan Wich



Archive powered by MHonArc 2.6.16.

Top of Page