Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] An issue on check the install

Subject: CGAL users discussion list

List archive

[cgal-discuss] An issue on check the install


Chronological Thread 
  • From: zhoucy <>
  • To:
  • Subject: [cgal-discuss] An issue on check the install
  • Date: Tue, 30 Oct 2012 07:02:35 -0700 (PDT)

I have install the CGAL ,but when I check if that's right,I met the problem 错误 2 error LNK2019: 无法解析的外部符号 "public: virtual __thiscall CGAL::Qt::GraphicsViewNavigation::~GraphicsViewNavigation(void)" (??1GraphicsViewNavigation@Qt@CGAL@@UAE@XZ),该符号在函数 _main 中被引用 C:\Users\zhoucy\Documents\Visual Studio 2010\Projects\cgal-test\cgal-test\sd.obj cgal-test 错误 3 error LNK2019: 无法解析的外部符号 "public: __thiscall CGAL::Qt::GraphicsViewNavigation::GraphicsViewNavigation(void)" (??0GraphicsViewNavigation@Qt@CGAL@@QAE@XZ),该符号在函数 _main 中被引用 C:\Users\zhoucy\Documents\Visual Studio 2010\Projects\cgal-test\cgal-test\sd.obj cgal-test I have made the following in the project Note: the following operations should be repeated for the Debug and Release modes - Right-click on the selected project and select "Properties". Go to C/C++ -> General . Add the following to "Additional Include Directories" (include) * include: (C:\Program Files\boost\boost_1_47) * include: \include (C:\Program Files\CGAL-3.9\include) * include: \auxiliary\gmp\include (C:\Program Files\CGAL-3.9\auxiliary\gmp\include) * include: \include (C:\Qt\4.8.1\include) * include: \include\QtCore (C:\Qt\4.8.1\include\QtCore) * include: \include\QtGui (C:\Qt\4.8.1\include\QtGui) Go to Linker -> General. Add the following to "Additional Dependencies" (include) * library: \lib (C:\Program Files\CGAL-3.9\lib) * library: \lib (C:\Qt\4.8.1\lib) * library: \lib (C:\Program Files\boost\boost_1_47\lib) * library: \auxiliary\gmp\lib (C:\Program Files\CGAL-3.9\auxiliary\gmp\lib) For a specific project using CGAL you need to ignore the auto-link of gmp and mpfr. The names below are for Debug. - Linker -> Input * Add libgmp-10.lib and libmpfr-4.lib to "Additional Dependencies" * Add gmp-vc100-mt-gd.lib and mpfr-vc100-mt-gd.lib to "Ignore Specific Library" (gmp-vc100-mt.lib and mpfr-vc100-mt.lib in release mode). For a specific project using QT: - Linker -> Input * Add qtmaind.lib, QtGuid4.lib, and QtCored4.lib to "Additional Dependencies" (qtmain.lib;QtCore4.lib;QtGui4.lib in release).

View this message in context: An issue on check the install
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] An issue on check the install, zhoucy, 10/30/2012

Archive powered by MHonArc 2.6.18.

Top of Page