在CGAL上编译triangulation_2演示

时间:2014-07-30 22:45:13

标签: visual-studio-2010 cgal

我刚刚在本教程http://www.cgal.org/windows_installation.html#PrerequisitesforCompilingthe32-bitCGALLibraryusingMicrosoftVisualStudio2010之后在Windows 8 for Visual Studio 2010上安装了CGAL。当我试图用CMake编译演示时,它说:

The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10 2010
Check for working CXX compiler using: Visual Studio 10 2010 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /GR /EHsc -D_CRT_SECURE_NO_DEPRECATE -    D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict     /fp:except- /wd4503 /bigobj /MD /O2 /Ob2 /D NDEBUG'
USING EXEFLAGS = ' /machine:X86  /INCREMENTAL:NO'
Targetting Visual Studio 10 2010
Target build enviroment supports auto-linking
Using VC10 compiler.
Generator uses intermediate configuration directory: $(Configuration)
Requested component: Qt4
Found OpenGL: opengl32  
Looking for Q_WS_X11
Looking for Q_WS_X11 - not found
Looking for Q_WS_WIN
Looking for Q_WS_WIN - found
Looking for Q_WS_QWS
Looking for Q_WS_QWS - not found
Looking for Q_WS_MAC
Looking for Q_WS_MAC - not found
Found Qt4: C:/Qt/4.8.6/bin/qmake.exe (found version "4.8.6") 
Requested component: MPFR
Requested component: GMP
NOTICE: This demo requires CGAL and Qt4, and will not be compiled.
Configuring done

1 个答案:

答案 0 :(得分:1)

当您使用cmake的版本3+时,通常会发生此问题。 CGAL-4.4不支持该版本,支持将出现在CGAL-4.5中。同时,请使用较旧版本的cmake。

相关问题