您的位置:首页 > 产品设计 > UI/UE

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!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: