how to build libigl in unbuntu(on 13 may 2016)

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!


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值