Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL & QT


Chronological Thread 
  • From: Iosu Arbe <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL & QT
  • Date: Thu, 28 Jun 2007 14:54:45 +0200

Thank you for your answer Leon.

What you've told me have solved the problem.
I've tried changing the name this way "qt-mt*.lib" and also works.

Thanks


Leon Nan escribió:
Hi, Iosu, in you project setting option, change the name of "qt-mt.lib" to your own qt version, for example "qt-mt336.lib".
Leon Nan
2007-06-28
*发件人:* Iosu Arbe
*发送时间:* 2007-06-27 18:19:59
*收件人:*

*抄送:*
*主题:* [cgal-discuss] CGAL & QT
Hi everyone,

I'm trying to use CGAL under windows XP using MSVisualStudio 2003.net but I'm having some problems when I try to run demos.

The compiler looks for the third party library qt-mt.lib, but I have the version qt-mt3.lib

I can't build the demos with qt-mt3.lib?? Where can I find qt-mt.lib?
If the version doesn´t matter, why I get more than 30 errors from a demo which have to be ok?

No errors occur during the compilation, but when I try to build it the next errors appear:

qt-mt3.lib(qt-mt3.dll) : error LNK2005: "int __cdecl qstrcmp(char const *,char const *)" (?qstrcmp@@YAHPBD0@Z) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: int __thiscall QMetaObject::slotOffset(void)const " (?slotOffset@QMetaObject@@QBEHXZ) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: __thiscall QString::~QString(void)" (??1QString@@QAE@XZ) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: __thiscall QString::QString(void)" (??0QString@@QAE@XZ) already defined in cgalqt.lib(Qt_help_window.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: __thiscall QColor::QColor(int,int,int)" (??0QColor@@QAE@HHH@Z) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: class QPen const & __thiscall QPainter::pen(void)const " (?pen@QPainter@@QBEABVQPen@@XZ) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: class QBrush const & __thiscall QPainter::brush(void)const " (?brush@QPainter@@QBEABVQBrush@@XZ) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: int __thiscall QRect::height(void)const " (?height@QRect@@QBEHXZ) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: int __thiscall QRect::width(void)const " (?width@QRect@@QBEHXZ) already defined in cgalqt.lib(Qt_widget.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: __thiscall QStringList::~QStringList(void)" (??1QStringList@@QAE@XZ) already defined in cgalqt.lib(Qt_help_window.obj) qt-mt3.lib(qt-mt3.dll) : error LNK2005: "public: __thiscall QStringList::QStringList(void)" (??0QStringList@@QAE@XZ) already defined in cgalqt.lib(Qt_help_window.obj)

cgalqt.lib(Qt_widget_history.obj) : error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A) cgalqt.lib(Qt_widget.obj) : error LNK2019: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A) referenced in function "public: __thiscall QString::~QString(void)" (??1QString@@QAE@XZ) cgalqt.lib(Qt_widget_layer.obj) : error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A) cgalqt.lib(Qt_help_window.obj) : error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A) cgalqt.lib(Qt_widget_standard_toolbar.obj) : error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A) cgalqt.lib(Qt_widget.obj) : error LNK2019: unresolved external symbol "struct QUType_Null static_QUType_Null" (?static_QUType_Null@@3UQUType_Null@@A) referenced in function "public: __thiscall QUObject::QUObject(void)" (??0QUObject@@QAE@XZ) cgalqt.lib(Qt_widget_layer.obj) : error LNK2001: unresolved external symbol "struct QUType_Null static_QUType_Null" (?static_QUType_Null@@3UQUType_Null@@A) cgalqt.lib(Qt_widget_history.obj) : error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A) cgalqt.lib(Qt_widget.obj) : error LNK2019: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A) referenced in function "public: static class QString __cdecl CGAL::Qt_widget::tr(char const *,char const *)" (?tr@Qt_widget@CGAL@@SA?AVQString@@PBD0@Z) cgalqt.lib(Qt_widget_layer.obj) : error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A) cgalqt.lib(Qt_help_window.obj) : error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A) cgalqt.lib(Qt_widget_standard_toolbar.obj) : error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A) cgalqt.lib(Qt_widget.obj) : error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A) cgalqt.lib(Qt_widget_layer.obj) : error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A) cgalqt.lib(Qt_help_window.obj) : error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A) cgalqt.lib(Qt_widget_history.obj) : error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A) cgalqt.lib(Qt_widget.obj) : error LNK2001: unresolved external symbol "struct QUType_ptr static_QUType_ptr" (?static_QUType_ptr@@3UQUType_ptr@@A) cgalqt.lib(Qt_widget_layer.obj) : error LNK2001: unresolved external symbol "struct QUType_ptr static_QUType_ptr" (?static_QUType_ptr@@3UQUType_ptr@@A) cgalqt.lib(Qt_widget.obj) : error LNK2019: unresolved external symbol "public: static class QColor & Qt::black" (?black@Qt@@2AAVQColor@@A) referenced in function "public: __thiscall CGAL::Qt_widget::Qt_widget(class QWidget *,char const *)" (??0Qt_widget@CGAL@@QAE@PAVQWidget@@PBD@Z) cgalqt.lib(Qt_widget.obj) : error LNK2019: unresolved external symbol "public: static class QColor & Qt::white" (?white@Qt@@2AAVQColor@@A) referenced in function "public: __thiscall CGAL::Qt_widget::Qt_widget(class QWidget *,char const *)" (??0Qt_widget@CGAL@@QAE@PAVQWidget@@PBD@Z) cgalqt.lib(Qt_widget_layer.obj) : error LNK2001: unresolved external symbol "struct QUType_int static_QUType_int" (?static_QUType_int@@3UQUType_int@@A) cgalqt.lib(Qt_help_window.obj) : error LNK2001: unresolved external symbol "struct QUType_int static_QUType_int" (?static_QUType_int@@3UQUType_int@@A) cgalqt.lib(Qt_widget_standard_toolbar.obj) : error LNK2001: unresolved external symbol "struct QUType_int static_QUType_int" (?static_QUType_int@@3UQUType_int@@A) cgalqt.lib(Qt_help_window.obj) : error LNK2019: unresolved external symbol "public: static class QColor & Qt::blue" (?blue@Qt@@2AAVQColor@@A) referenced in function "public: void __thiscall CGAL::Qt_help_window::print(void)" (?print@Qt_help_window@CGAL@@QAEXXZ) cgalqt.lib(Qt_help_window.obj) : error LNK2001: unresolved external symbol "struct QUType_QString static_QUType_QString" (?static_QUType_QString@@3UQUType_QString@@A) cgalqt.lib(Qt_widget_standard_toolbar.obj) : error LNK2019: unresolved external symbol "public: static class QCursor & Qt::crossCursor" (?crossCursor@Qt@@2AAVQCursor@@A) referenced in function "private: virtual void __thiscall CGAL::Qt_widget_zoomrect::activating(void)" (?activating@Qt_widget_zoomrect@CGAL@@EAEXXZ) cgalqt.lib(Qt_widget_standard_toolbar.obj) : error LNK2019: unresolved external symbol "public: static class QColor & Qt::green" (?green@Qt@@2AAVQColor@@A) referenced in function "private: virtual void __thiscall CGAL::Qt_widget_zoomrect::mouseMoveEvent(class QMouseEvent *)" (?mouseMoveEvent@Qt_widget_zoomrect@CGAL@@EAEXPAVQMouseEvent@@@Z) Debug/boolean_operations_2.exe : fatal error LNK1120: 12 unresolved externals





Archive powered by MHonArc 2.6.16.

Top of Page