Subject: CGAL users discussion list
List archive
- From: Justin <>
- To:
- Subject: Problems with CGAL3+QT3
- Date: Tue, 18 Mar 2008 01:53:41 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=nfJumtg1Ih74VTAeMeXxnGcJInoXuRg/tm7+nG1/MATUCckgxWaMOxw9S4rQbqRXVNS4S5bCaC+VXUftvKco17YCNi0WQR+wtOrYqDbu2lZ/g5QzOYpMBDC6YRPfsTWZ33mfjgmrRsKCUFgZ9YEbKC08Z+6beSzhWhWja9qb0m4=
Dear all,
I m using CGAL3.3.1 + QT 3.3.8. when i built the demo Qt_widget/ standard_toolbar.vcproj, it comes these errors:
c:\Program Files\CGAL-3.3.1\include\CGAL\float.h(133): warning C4244: 'return' : conversion from 'double' to 'CGAL::Algebraic_structure_traits_base<Type,Algebra_type>::Type', possible loss of data
with
[
Type=float,
Algebra_type=CGAL::Field_with_kth_root_tag
]
standard_toolbar error LNK2005: "public: __thiscall QString::~QString(void)" (??1QString@@QAE@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: virtual void __thiscall QWidget::setGeometry(class QRect const &)" (?setGeometry@QWidget@@UAEXABVQRect@@@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QRect::width(void)const " (?width@QRect@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QRect::height(void)const " (?height@QRect@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "protected: virtual void __thiscall QWidget::setWState(unsigned int)" (?setWState@QWidget@@MAEXI@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "protected: virtual void __thiscall QWidget::setWFlags(unsigned int)" (?setWFlags@QWidget@@MAEXI@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: class QColor const & __thiscall QPen::color(void)const " (?color@QPen@@QBEABVQColor@@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: class QPen const & __thiscall QPainter::pen(void)const " (?pen@QPainter@@QBEABVQPen@@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: class QBrush const & __thiscall QPainter::brush(void)const " (?brush@QPainter@@QBEABVQBrush@@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "int __cdecl qstrcmp(char const *,char const *)" (?qstrcmp@@YAHPBD0@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QMetaObject::slotOffset(void)const " (?slotOffset@QMetaObject@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: __thiscall QString::~QString(void)" (??1QString@@QAE@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: virtual void __thiscall QWidget::setGeometry(class QRect const &)" (?setGeometry@QWidget@@UAEXABVQRect@@@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QRect::width(void)const " (?width@QRect@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QRect::height(void)const " (?height@QRect@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "protected: virtual void __thiscall QWidget::setWState(unsigned int)" (?setWState@QWidget@@MAEXI@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "protected: virtual void __thiscall QWidget::setWFlags(unsigned int)" (?setWFlags@QWidget@@MAEXI@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: class QRect const & __thiscall QWidget::geometry(void)const " (?geometry@QWidget@@QBEABVQRect@@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: class QPen const & __thiscall QPainter::pen(void)const " (?pen@QPainter@@QBEABVQPen@@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: class QBrush const & __thiscall QPainter::brush(void)const " (?brush@QPainter@@QBEABVQBrush@@XZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "int __cdecl qstrcmp(char const *,char const *)" (?qstrcmp@@YAHPBD0@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QMetaObject::slotOffset(void)const " (?slotOffset@QMetaObject@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "int __cdecl qstrcmp(char const *,char const *)" (?qstrcmp@@YAHPBD0@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QMetaObject::slotOffset(void)const " (?slotOffset@QMetaObject@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "int __cdecl qstrcmp(char const *,char const *)" (?qstrcmp@@YAHPBD0@Z) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar error LNK2005: "public: int __thiscall QMetaObject::slotOffset(void)const " (?slotOffset@QMetaObject@@QBEHXZ) already defined in qt-mt3.lib(qt-mt3.dll)
standard_toolbar warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_int static_QUType_int" (?static_QUType_int@@3UQUType_int@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_int static_QUType_int" (?static_QUType_int@@3UQUType_int@@A)
standard_toolbar error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A)
standard_toolbar error LNK2001: unresolved external symbol "private: static struct QStringData * QString::shared_null" (?shared_null@QString@@0PAUQStringData@@A)
standard_toolbar error LNK2001: unresolved external symbol "public: static class QColor & Qt::green" (?green@Qt@@2AAVQColor@@A)
standard_toolbar error LNK2001: unresolved external symbol "public: static class QCursor & Qt::crossCursor" (?crossCursor@Qt@@2AAVQCursor@@A)
standard_toolbar error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A)
standard_toolbar error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A)
standard_toolbar error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A)
standard_toolbar error LNK2001: unresolved external symbol "class QApplication * qApp" (?qApp@@3PAVQApplication@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_ptr static_QUType_ptr" (?static_QUType_ptr@@3UQUType_ptr@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_ptr static_QUType_ptr" (?static_QUType_ptr@@3UQUType_ptr@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_bool static_QUType_bool" (?static_QUType_bool@@3UQUType_bool@@A)
standard_toolbar error LNK2001: unresolved external symbol "public: static class QColor & Qt::black" (?black@Qt@@2AAVQColor@@A)
standard_toolbar error LNK2001: unresolved external symbol "public: static class QColor & Qt::white" (?white@Qt@@2AAVQColor@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_Null static_QUType_Null" (?static_QUType_Null@@3UQUType_Null@@A)
standard_toolbar error LNK2001: unresolved external symbol "struct QUType_Null static_QUType_Null" (?static_QUType_Null@@3UQUType_Null@@A)
standard_toolbar fatal error LNK1120: 10 unresolved externals
anyone knows how to deal with it?
Many thanks!!
Best,
Justin
- Problems with CGAL3+QT3, Justin, 03/17/2008
Archive powered by MHonArc 2.6.16.