opengl-math3d.h on ubuntu16.04

本文详细介绍了如何从GitHub上克隆HazimGazov的GLTools库,并在Ubuntu环境下完成其构建与安装过程。通过一系列命令,包括使用cmake进行配置、make编译以及sudo make install进行安装,最终将GLTools库成功部署到系统中。此外,还涉及到了libgltools.so和libgltools.a等关键文件的安装位置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

git clone https://github.com/HazimGazov/GLTools
cd GLTools
cd build
cmake ..
make
sudo make install
[ 50%] Built target gltools-static
[100%] Built target gltools
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/libgltools.so
-- Installing: /usr/local/lib/libgltools.a
-- Installing: /usr/local/include/GLBatchBase.h
-- Installing: /usr/local/include/GLBatch.h
-- Installing: /usr/local/include/GLFrame.h
-- Installing: /usr/local/include/GLFrustum.h
-- Installing: /usr/local/include/GLGeometryTransform.h
-- Installing: /usr/local/include/GLMatrixStack.h
-- Installing: /usr/local/include/GLShaderManager.h
-- Installing: /usr/local/include/GLTools.h
-- Installing: /usr/local/include/GLTriangleBatch.h
-- Installing: /usr/local/include/math3d.h
-- Installing: /usr/local/include/StopWatch.h
sudo ldconfig

参考:https://stackoverflow.com/questions/11141312/how-to-get-the-gltools-library-from-superbible-to-work-in-ubuntu-or-an-alternat
https://github.com/HazimGazov/GLTools

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值