【cgal4.4编译以及安装】

[https://doc.cgal.org/4.4/Manual/installation.html#secprerequisites]
cgal4.4编译以及安装

系统要求

5 Supported Compilers
In order to build the CGAL libraries, you need a C++ compiler. CGAL 4.4 is supported for the following compilers/operating systems:

Compiler Operating System
Gnu g++ 3.4 or later[2] Linux / MacOS X
MS Windows 95/98/2000/XP/NT4
Intel C++ 11.0 or later[3] Linux
MS Visual C++ 9.0, 10.0, 11.0 (Visual Studio 2008, 2010 and 2012)[4] MS Windows 95/98/2000/XP/NT4/Vista/7/8

系统要求2cmake

CMake version 2.6.2 or higher is required.

CMAKE_CXX_FLAGS_DEBUG=/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
BUILD_SHARED_LIBS:BOOL=OFF

D:\Cgal\cmake\boost_1_55_0_vc80\boost_1_55_0\tools\build\v2
注意

以下vs2008

6)使用bjam之前需要修改配置文件user-config.jam。搜索或直接打开D:/Boost/tools/build/v2/user-config.jam 。
 
首先找到以下模块:
 
# ----------------------
# MSVC configuration.
 
# ----------------------
 
修改该模块最后一行,去掉注释的“#”号,将msvc版本设置正确:
 
# Configure specific msvc version (searched for in standard locations and PATH).
 using msvc : 9.0 ;
 


其次找到以下模块:

# ----------------------
# STLPort configuration.
# ----------------------
 
修改该模块最后一行,如:
 
# Configure specifying location of both headers and libraries explicitly.
 using stlport : 5.2.1 : "D:/STLport/stlport" : "D:/STLport/lib" ;
 
7)进入Boost根目录,如执行命令: " cd d:/Boost  " 。
 
8)执行命令: " bjam --toolset=msvc --build-type=complete stdlib=stlport stage  "
 
9)编译成功后可在 D:/Boost/stage/lib 目录下找到所有的库文件,之后可将D:/Boost/bin.v2目录删除以节约空间。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

lst0426

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值