Using VS2015 64-bit compiler to build up igllib
来源:互联网 发布:中国信网域名注册 编辑:程序博客网 时间:2024/05/10 12:40
based on previous blog: http://blog.csdn.net/seamanj/article/details/49368907
To ensure all the projects compiled successfully, 64-bit CGAL4.7 is required. refer to the following blog to config it:
http://blog.csdn.net/seamanj/article/details/51033490
After doing this preparing work, let's begin:
1. download igllib
turn to page :
https://github.com/libigl/libigl/
click "Clone in Desktop" to Clone into your computer somewhere.
here, our clone address is:
C:\work_files
2. config tutorial by cmake
source code: C:/work_files/libigl/tutorial
build the binaries: C:/work_files/libigl/tutorial/build_vs2015_x64
choose Visual Studio 14 2015 Win64 as Generator
if some errors occur at this point, there is a great possibility you download the file through "Download Zip" button. the correct way is through "Clone in Desktop"
3. compile tutorial
Although there are still some errors, we just leave them at that. I will deal with them when necessary.
Last but not least, please comment out the function igl::copyleft::cgal::string_to_mesh_boolean_type like this:
IGL_INLINE bool igl::copyleft::cgal::string_to_mesh_boolean_type( const std::string & s, MeshBooleanType & type){ /*using namespace std; string eff_s = s; transform(eff_s.begin(), eff_s.end(), eff_s.begin(), ::tolower); const auto & find_any = [](const vector<string> & haystack, const string & needle)->bool { return find(haystack.begin(), haystack.end(), needle) != haystack.end(); }; if(find_any({"union","unite","u","∪"},eff_s)) { type = MESH_BOOLEAN_TYPE_UNION; }else if(find_any({"intersect","intersection","i","∩"},eff_s)) { type = MESH_BOOLEAN_TYPE_INTERSECT; }else if( find_any( {"minus","subtract","difference","relative complement","m","\\"},eff_s)) { type = MESH_BOOLEAN_TYPE_MINUS; }else if(find_any({"xor","symmetric difference","x","∆"},eff_s)) { type = MESH_BOOLEAN_TYPE_XOR; }else if(find_any({"resolve"},eff_s)) { type = MESH_BOOLEAN_TYPE_RESOLVE; }else { return false; }*/ return true;}
- Using VS2015 64-bit compiler to build up igllib
- Using vs2015 64-bit compiler to build up CGAL-4.7 on window 7
- Qt creator needs a compiler set up to build. Configure a compiler in the kit options
- ArcGIS Engine Controls fail to build using Visual Studio 2010 on a 64-bit OS
- How to build zlib 1.2.3 using Visual Studio 2008 for 32-bit and 64-bit Windows
- 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.解决
- error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
- 运行qtcreator 出现错误提示:error: Qt Creator needs a compiler set up to build. Configure a compile
- build/core/main.mk:77: You are attempting to build on a 32-bit system. Only 64-bit build environment
- How to build JpegV6 in 64 bit linux
- to build android 2.3.4 on ubuntu 11.10 64bit
- How to build MPI libraries for 64-bit integers
- How to get a 64-bit compiler under windows to use with matlab
- Build CP2K using Intel Fortran compiler Professional Edition
- 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.
- id主键自增长那些事
- 病毒侵袭持续中 (HDU_3065) AC自动机
- Java 端口映射辅助
- vs2010 release msvcp100.dll、msvcr100.dll
- 正则表达式必知必会
- Using VS2015 64-bit compiler to build up igllib
- 2006年浙江大学计算机及软件工程研究生机试真题
- Eclipse下永久性修改android工程默认包名
- 2007年浙江大学计算机及软件工程研究生机试真题
- Server配置加png后缀解析并藏png一句话到最深目录
- UCloud上LNMP小型网站搭建
- 屏幕水幕特效
- Java Timer 后门
- 2007年浙江大学计算机及软件工程研究生机试真题