Subject: CGAL users discussion list
List archive
- From: "FangHui" <>
- To: "cgal-discuss" <>
- Subject: Re: Re: [cgal-discuss] Confused About installation of CGAL x64
- Date: Tue, 24 Jan 2012 11:48:56 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:References:Subject:Message-ID:X-mailer:Mime-Version:Content-Type; b=jmKgDDD3/mET8SmGxnPV8DSyaH+69ORPpCY97mU/GvvhuInzgyAfR3BBhwS/jXiUgoDCc6RUnamn9E8ijQaAHIU7rd5KADgaVXw3FKBKWOBl2FJG3nuvmpey+uJd4ZtWcI4RGwzxCbUUoS83MMUCECno6qiksugqhAqBSbyO5Ic= ;
Thank you for your
advice.
I have reinstalled the QT under the process
metioned at http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/
and reinstalled CGAL3.9 x64. In the
CMAKE-GUI, I set the CMAKE_BUILD_TYPE Debug,
The CGAL Compile in VS2010 is correct.
but at last I still get the same errors in the test
code metioned before:
1> main.cpp
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __cdecl QGLFormat::~QGLFormat(void)" (__imp_??1QGLFormat@@QEAA@XZ),referenced
at "protected: void __cdecl CGAL::Qt::DemosMainWindow::setUseOpenGL(bool)" (?setUseOpenGL@DemosMainWindow@Qt@CGAL@@IEAAX_N@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2019:unresolved
external symbol
"__declspec(dllimport) public: void __cdecl QGLWidget::setFormat(class QGLFormat const &)" (__imp_?setFormat@QGLWidget@@QEAAXAEBVQGLFormat@@@Z),referenced in
function "protected: void __cdecl CGAL::Qt::DemosMainWindow::setUseOpenGL(bool)" (?setUseOpenGL@DemosMainWindow@Qt@CGAL@@IEAAX_N@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2019:unresolved
external symbol
"__declspec(dllimport) public: void __cdecl QGLFormat::setOption(class QFlags<enum QGL::FormatOption>)" (__imp_?setOption@QGLFormat@@QEAAXV?$QFlags@W4FormatOption@QGL@@@@@Z),referenced
in
function "protected: void __cdecl CGAL::Qt::DemosMainWindow::setUseOpenGL(bool)" (?setUseOpenGL@DemosMainWindow@Qt@CGAL@@IEAAX_N@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2019: unresolved
external
symbol "__declspec(dllimport) public: class QGLFormat __cdecl QGLWidget::format(void)const " (__imp_?format@QGLWidget@@QEBA?AVQGLFormat@@XZ),referenced
in
function "protected: void __cdecl CGAL::Qt::DemosMainWindow::setUseOpenGL(bool)" (?setUseOpenGL@DemosMainWindow@Qt@CGAL@@IEAAX_N@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2019: unresolved
external
symbol "__declspec(dllimport) public: __cdecl QGLWidget::QGLWidget(class QWidget *,class QGLWidget const *,class QFlags<enum Qt::WindowType>)" (__imp_??0QGLWidget@@QEAA@PEAVQWidget@@PEBV0@V?$QFlags@W4WindowType@Qt@@@@@Z),referenced
in function
"protected: void __cdecl CGAL::Qt::DemosMainWindow::setUseOpenGL(bool)" (?setUseOpenGL@DemosMainWindow@Qt@CGAL@@IEAAX_N@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "public: virtual struct QMetaObject const * __cdecl QGLWidget::metaObject(void)const " (?metaObject@QGLWidget@@UEBAPEBUQMetaObject@@XZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "public: virtual void * __cdecl QGLWidget::qt_metacast(char const *)" (?qt_metacast@QGLWidget@@UEAAPEAXPEBD@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "public: virtual int __cdecl QGLWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QGLWidget@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external symbol
"protected: virtual bool __cdecl QGLWidget::event(class QEvent *)" (?event@QGLWidget@@MEAA_NPEAVQEvent@@@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::paintEvent(class QPaintEvent *)" (?paintEvent@QGLWidget@@MEAAXPEAVQPaintEvent@@@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::resizeEvent(class QResizeEvent *)" (?resizeEvent@QGLWidget@@MEAAXPEAVQResizeEvent@@@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external symbol
"public: virtual void __cdecl QGLWidget::updateGL(void)" (?updateGL@QGLWidget@@UEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "public: virtual void __cdecl QGLWidget::updateOverlayGL(void)" (?updateOverlayGL@QGLWidget@@UEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::initializeGL(void)" (?initializeGL@QGLWidget@@MEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::resizeGL(int,int)" (?resizeGL@QGLWidget@@MEAAXHH@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::paintGL(void)" (?paintGL@QGLWidget@@MEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::initializeOverlayGL(void)" (?initializeOverlayGL@QGLWidget@@MEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::resizeOverlayGL(int,int)" (?resizeOverlayGL@QGLWidget@@MEAAXHH@Z)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::paintOverlayGL(void)" (?paintOverlayGL@QGLWidget@@MEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "protected: virtual void __cdecl QGLWidget::glInit(void)" (?glInit@QGLWidget@@MEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external symbol
"protected: virtual void __cdecl QGLWidget::glDraw(void)" (?glDraw@QGLWidget@@MEAAXXZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2001: unresolved
external
symbol "public: virtual class QPaintEngine * __cdecl QGLWidget::paintEngine(void)const " (?paintEngine@QGLWidget@@UEBAPEAVQPaintEngine@@XZ)
1>CGAL_Qt4-vc100-mt-gd.lib(all_files.obj) : error LNK2019: unresolved
external symbol
"__declspec(dllimport) public: virtual __cdecl QGLWidget::~QGLWidget(void)" (__imp_??1QGLWidget@@UEAA@XZ),referenced
in
function "public: virtual void * __cdecl QGLWidget::`scalar deleting destructor'(unsigned int)" (??_GQGLWidget@@UEAAPEAXI@Z) 中被引用
1>CGAL-vc100-mt-gd.lib(all_files.obj) : error LNK2019: unresolved
external symbol __imp___gmpz_clear,referenced in
function "public: __cdecl CORE::BigIntRep::~BigIntRep(void)" (??1BigIntRep@CORE@@QEAA@XZ)
1>D:\CGAL_TEST\cgal_test2\\cgal_test2.exe : fatal error LNK1120: 24 unresolved
external commands if I deleted the code:
CGAL::Qt::GraphicsViewNavigation navigation;
view->installEventFilter(&navigation);
view->viewport()->installEventFilter(&navigation);
The compile is successfully.
How to fix?
Thanks !!!!!
hfang
发件人: Laurent Rineau
(GeometryFactory)
发送时间: 2012-01-23 18:10:59
收件人: cgal-discuss
抄送: hfang
主题: Re: [cgal-discuss] Confused
About installation of CGAL x64
Le samedi 21 janvier 2012 17:57:01 hfang a écrit :
> These days I installed CGAL3.9 follow steps:
> 1)install boost 1_48_0 x64
> 2)install QT4.8.0 by install qt-win-opensource-4.8.0-vs2010 which is
> download from nokia , I think I have complied 64 bit Qt, since I fix the
> \mkspecs\win32-msvc2008\qmake.conf,then:
> QMAKE_CFLAGS_RELEASE = -O1 -MD
> QMAKE_LFLAGS = /NOLOGO /MACHINE:X64
> But I am not sure if it is really a 64bit Qt at last.
Almost certainly not.
Please restore that file, and apply what is indicated here:
http://developer.qt.nokia.com/wiki/How_to_build_64bit_Qt_for_windows
You can verify the arch of a DLL using the powerful tool depends.exe (shipped
with MS Visual Studio).
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
|
- [cgal-discuss] Confused About installation of CGAL x64, hfang, 01/22/2012
- [cgal-discuss] Re: Confused About installation of CGAL x64, hfang, 01/22/2012
- [cgal-discuss] Re: Confused About installation of CGAL x64, hfang, 01/22/2012
- Re: [cgal-discuss] Confused About installation of CGAL x64, Laurent Rineau (GeometryFactory), 01/23/2012
- Message not available
- Re: Re: Re: [cgal-discuss] Confused About installation of CGAL x64, Laurent Rineau (GeometryFactory), 01/24/2012
- Message not available
- Re: Re: [cgal-discuss] Confused About installation of CGAL x64, FangHui, 01/24/2012
- Re: Re: Re: [cgal-discuss] Confused About installation of CGAL x64, FangHui, 01/24/2012
- [cgal-discuss] Re: Confused About installation of CGAL x64, hfang, 01/22/2012
Archive powered by MHonArc 2.6.16.