Skip to Content.
Sympa Menu

cgal-discuss - errors happen in demo/polygon_2 with vc80 and qt3.3

Subject: CGAL users discussion list

List archive

errors happen in demo/polygon_2 with vc80 and qt3.3


Chronological Thread 
  • From: "Xam Huang" <>
  • To: <>
  • Subject: errors happen in demo/polygon_2 with vc80 and qt3.3
  • Date: Sat, 29 Mar 2008 10:47:35 +0800
  • Disposition-notification-to: "Xam Huang" <>
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:disposition-notification-to:x-mimeole; b=iEIXv1ujpuGVYo1uWFjdhzrtwONecTShJ2vyQyeK/Ug4FoO//olPeGCOc2v7s7rNdZdaPGcDuu86uTUA5jSAHBN8NK8YS6rbs1jAD+bB/KC3rpGPW2iQKz2sZayhrIClz9gxVcdw8eGDW5lYTuNBgc+a6V+ZaEpMinAOVPQeY/o=

Hi,everyone
I am using vc80 with qt3.3 .
I have compiled the src\CGAL_80.sln secessfully
but there are many errors with the demo\polygon2
while the qt-mt3.lib cgalqt-vc80-mt-s.lib qtmain.lib  wsock32.lib winmm.lib imm32.lib have already been added to the project.
Can anybody there tell me how can I removed these errors:
 
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2005: "public: __thiscall QString::~QString(void)" () 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2005: "public: __thiscall QString::~QString(void)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2005: "class QString const __cdecl operator+(class QString const &,char const *)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2005: "public: virtual void __thiscall QWidget::setGeometry(class QRect const &)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2005: "protected: virtual void __thiscall QWidget::setWState(unsigned int)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2005: "protected: virtual void __thiscall QWidget::setWFlags(unsigned int)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2005: "public: __thiscall QString::~QString(void)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2005: "public: virtual void __thiscall QWidget::setGeometry(class QRect const &)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2005: "protected: virtual void __thiscall QWidget::setWState(unsigned int)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2005: "protected: virtual void __thiscall QWidget::setWFlags(unsigned int)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2005: "public: __thiscall QString::~QString(void)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2005: "public: virtual void __thiscall QWidget::setGeometry(class QRect const &)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2005: "protected: virtual void __thiscall QWidget::setWState(unsigned int)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2005: "protected: virtual void __thiscall QWidget::setWFlags(unsigned int)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2005: "public: virtual void __thiscall QDockWindow::undock(void)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
cgalqt-vc80-mt-s.lib(Qt_widget_history.obj) : error LNK2005: "public: __thiscall QString::~QString(void)" (
) 已经在 qt-mt3.lib(qt-mt3.dll) 中定义
CGAL-vc80-mt-sgd.lib(Color.obj) : warning LNK4075: 忽略"/EDITANDCONTINUE"(由于"/OPT:ICF"规范)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (
) 已经在 LIBCMTD.lib(typinfo.obj) 中定义
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (
) 已经在 LIBCMTD.lib(typinfo.obj) 中定义
LINK : warning LNK4098: 默认库"LIBCMT"与其他库的使用冲突;请使用 /NODEFAULTLIB:library
LIBCMTD.lib(crt0init.obj) : warning LNK4098: 默认库"msvcrt.lib"与其他库的使用冲突;请使用 /NODEFAULTLIB:library
cgalqt-vc80-mt-s.lib(Qt_widget_history.obj) : error LNK2019: 无法解析的外部符号 "private: static struct QStringData * QString::shared_null" (
),该符号在函数 "public: static char * __cdecl std::char_traits<char>::_Move_s(char *,unsigned int,char const *,unsigned int)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2001: 无法解析的外部符号 "private: static struct QStringData * QString::shared_null" (
)
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2001: 无法解析的外部符号 "private: static struct QStringData * QString::shared_null" (
)
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2001: 无法解析的外部符号 "private: static struct QStringData * QString::shared_null" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2001: 无法解析的外部符号 "private: static struct QStringData * QString::shared_null" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2019: 无法解析的外部符号 "struct QUType_Null static_QUType_Null" (
),该符号在函数 "public: __thiscall QUObject::QUObject(void)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_Null static_QUType_Null" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_history.obj) : error LNK2001: 无法解析的外部符号 "class QApplication * qApp" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2019: 无法解析的外部符号 "class QApplication * qApp" (
),该符号在函数 "public: static class QString __cdecl CGAL::Qt_widget_layer::tr(char const *,char const *)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2001: 无法解析的外部符号 "class QApplication * qApp" (
)
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2001: 无法解析的外部符号 "class QApplication * qApp" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2001: 无法解析的外部符号 "class QApplication * qApp" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_ptr static_QUType_ptr" (
)
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_ptr static_QUType_ptr" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_int static_QUType_int" (
)
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_int static_QUType_int" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_int static_QUType_int" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_layer.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_bool static_QUType_bool" (
)
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_bool static_QUType_bool" (
)
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_bool static_QUType_bool" (
)
cgalqt-vc80-mt-s.lib(Qt_widget_history.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_bool static_QUType_bool" (
)
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2019: 无法解析的外部符号 "public: static class QColor & Qt::blue" (
),该符号在函数 "public: void __thiscall CGAL::Qt_help_window::print(void)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_help_window.obj) : error LNK2001: 无法解析的外部符号 "struct QUType_QString static_QUType_QString" (
)
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2019: 无法解析的外部符号 "public: static class QColor & Qt::black" (
),该符号在函数 "public: __thiscall CGAL::Qt_widget::Qt_widget(class QWidget *,char const *)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_widget.obj) : error LNK2019: 无法解析的外部符号 "public: static class QColor & Qt::white" (
),该符号在函数 "public: __thiscall CGAL::Qt_widget::Qt_widget(class QWidget *,char const *)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2019: 无法解析的外部符号 "public: static class QCursor & Qt::crossCursor" (
),该符号在函数 "private: virtual void __thiscall CGAL::Qt_widget_zoomrect::activating(void)" () 中被引用
cgalqt-vc80-mt-s.lib(Qt_widget_standard_toolbar.obj) : error LNK2019: 无法解析的外部符号 "public: static class QColor & Qt::green" (
),该符号在函数 "private: virtual void __thiscall CGAL::Qt_widget_zoomrect::mouseMoveEvent(class QMouseEvent *)" () 中被引用
Release/polygon_2.exe : fatal error LNK1120: 12 个无法解析的外部命令
生成日志保存在"
file://c:\Program Files\CGAL-3.3.1\demo\Polygon\Release\BuildLog.htm"
polygon_2 - 46 个错误,3 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========

Thanks for your attentions! 
Have a nice day!
 
xam huang



Archive powered by MHonArc 2.6.16.

Top of Page