how to build libigl in unbuntu(on 13 may 2016)
2016-05-13 23:49
561 查看
1. turn to a directory you want libigl to be in, here we pick:
/home/tjiang/Workspace
2. then input command like:
git clone --recursive https://github.com/libigl/libigl.git
3. open gmake-gui and generate the project:
cmake-gui
4. then you maybe run into two problems, if you do, try the following commands to resovle:
sudo apt-get install librandr-dev
sudo apt-get install libsdl2-dev
5. afterwards, you turn to a directory of a project and make this project:
cd /home/tjiang/Workspace/libigl/tutorial/build/401_BiharmonicDeformation
make
6. sometimes, you may have an error like this:
how to address?
turn to the root directory of libigl: /home/tjiang/Workspace/libigl
then input the below command:
wget -P external/nanogui/ext/glfw/include/GL http://www.opengl.org/registry/api/GL/glcorearb.h
7. make again
Done!
/home/tjiang/Workspace
2. then input command like:
git clone --recursive https://github.com/libigl/libigl.git
3. open gmake-gui and generate the project:
cmake-gui
4. then you maybe run into two problems, if you do, try the following commands to resovle:
sudo apt-get install librandr-dev
sudo apt-get install libsdl2-dev
5. afterwards, you turn to a directory of a project and make this project:
cd /home/tjiang/Workspace/libigl/tutorial/build/401_BiharmonicDeformation
make
6. sometimes, you may have an error like this:
how to address?
turn to the root directory of libigl: /home/tjiang/Workspace/libigl
then input the below command:
wget -P external/nanogui/ext/glfw/include/GL http://www.opengl.org/registry/api/GL/glcorearb.h
7. make again
Done!
相关文章推荐
- UESCTC-2016dp专题 D 柱爷的恋爱
- 解决git clone时报错:The requested URL returned error: 401 Unauthorized while accessing
- SPOJ 375 QTREE Query on a tree 树链剖分
- 225. Implement Stack using Queues (用队列模拟栈)
- iOS给UIView添加常用的Extension
- [LeetCode]Top K Frequent Elements
- Java实验5 GUI编程
- marquee 笔记
- 奇异值分解(We Recommend a Singular Value Decomposition)
- POJ3368 Frequent values(RMQ线段树)
- UI基础第一天(知识点)
- KendoUI使用指南
- iOS开发——新特性界面(UICollectionView)
- UIWindow简单介绍
- 卡尔曼滤波器(to be continued)
- 关于Pull Request的十个建议
- Bluemix使用与其他云平台对比
- iOS-UITableView的优化(纯手打原创)
- 60. Permutation Sequence 【M】【12】
- 顺序栈(Sequential Stack)