Using vs2015 64-bit compiler to build up CGAL-4.7 on window 7
来源:互联网 发布:新纪元审计软件多少钱 编辑:程序博客网 时间:2024/05/20 21:58
Based on previous blog:http://blog.csdn.net/seamanj/article/details/50616654,
1. download CGAL4.7
https://github.com/CGAL/cgal/releases/tag/releases/CGAL-4.7
CGAL-4.7-Setup.exe
2. install CGAL4.7
here, we choose 64-bits
set the environment
3. install 64-bit boost 1.6.0
see: http://blog.csdn.net/seamanj/article/details/51001611
here, boost_build.bat I used is like:
b2 toolset=msvc-14.0 address-model=64 variant=release threading=multi link=shared define=_SECURE_SCL=0 define=_HAS_ITERATOR_DEBUGGING=0 b2 toolset=msvc-14.0 address-model=64 variant=debug threading=multi link=shared
then set environment variable:
BOOST_INCLUDEDIR = C:\work_files\boost_1_60_0
BOOST_LIBRARYDIR = C:\work_files\boost_1_60_0\stage\lib
4. config QT5.6.0
at this time, only beta version is provided.
download qt-opensource-windows-x86-msvc2015_64-5.6.0-beta.exe
from: http://download.qt.io/development_releases/qt/5.6/5.6.0-beta/
then set environment variables:
QTDIR = C:\Qt\Qt5.6.0
add C:\Qt\Qt5.6.0\5.6\msvc2015_64\bin to path
5. config libQGLViewer
download from: http://libqglviewer.com/installWindows.html
extract to: C:\work_files\libQGLViewer-2.6.3
open vs2015 x64 native tools command prompt
change your current work directory to
C:\work_files\libQGLViewer-2.6.3\QGLViewer
then type:
qmake.exe
nmake
After compiling, set environment variable:
QGLVIEWERROOT = C:\work_files\libQGLViewer-2.6.3
add C:\work_files\libQGLViewer-2.6.3\QGLViewer to path
6. config CGAL-4.7
via cmake
source code :C:\work_files\CGAL-4.7
binaries code:C:\work_files\CGAL-4.7\build_vs2015_x64
then compile
add C:\work_files\CGAL-4.7\build_vs2015_x64\bin to path
7. compile example
8.compile demo
some demos build on TBB of intel, so we compile TBB first:
download from:
https://www.threadingbuildingblocks.org/sites/default/files/software_releases/windows/tbb44_20151115oss_win_0.zip
extract to:
C:\work_files\tbb44_20151115oss
set environment variable:
TBBROOT = C:\work_files\tbb44_20151115oss
TBB_ARCH_PLATFORM = intel64/vc14
add C:\work_files\tbb44_20151115oss\bin\intel64\vc14 to pathsome demos need Eigen library, after downloading we set environment variable:
EIGEN3_DIR = C:\work_files\eigen-eigen-c58038c56923
note: every time you change the environment variables, you'd better to relaunch cmake to make the change effective.
config demo in cmake
At last, compile the projects in VS15, the result after running T3_demo project is like:
- Using vs2015 64-bit compiler to build up CGAL-4.7 on window 7
- Using VS2015 64-bit compiler to build up igllib
- ArcGIS Engine Controls fail to build using Visual Studio 2010 on a 64-bit OS
- Instal CGAL on Win8 vs2010 64bit
- to build android 2.3.4 on ubuntu 11.10 64bit
- build/core/main.mk:77: You are attempting to build on a 32-bit system. Only 64-bit build environment
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond froyo/2.2.
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond froyo/2.2.
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond froyo/2.2.
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond f
- Qt creator needs a compiler set up to build. Configure a compiler in the kit options
- CGAL 4.11 版 win10-vs2015-64bit 编译与开发关键点指南
- How to build zlib 1.2.3 using Visual Studio 2008 for 32-bit and 64-bit Windows
- How To Set Up a Firewall Using FirewallD on CentOS 7
- How To Set Up a Firewall Using FirewallD on CentOS 7
- installing 32bit glibc on 64bit linux using DVD
- error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
- Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.解决
- redis源码--processTimeEvents时间事件
- Subsets
- java线程安全总结(一)
- Deep learning简介
- 线程安全总结(二)
- Using vs2015 64-bit compiler to build up CGAL-4.7 on window 7
- jQuery,input,value
- 指令大全
- 嵌入式职业规划
- 嵌入式c笔试题(整理)
- char *s="string"和char s[]="string"的区别
- 嵌入式软件笔试(转载)
- 微信摇一摇——iBeacon基站(一):USB蓝牙模式
- Linux下samba的安装与配置