当前位置:网站首页>Preliminary configuration of OpenGL super Dictionary (freeglut, glew, gltools, GLUT)
Preliminary configuration of OpenGL super Dictionary (freeglut, glew, gltools, GLUT)
2022-04-23 07:43:00 【0zien0】
The download address of the library mentioned below :
https://download.csdn.net/download/a42626423/12646754
1. To find you VS Installation directory .
If it is installed in C disc , Probably in this path :
C:\Program Files (x86)\Microsoft Visual Studio
2. Find... In the installation directory VC file , The following operations will all be in VC File below .
One .glew Configuration of :
1. hold 【glew-2.0.0\include\GL】 Inside 4 Copy header file to 【VC\include\GL】 in .
2.【glew-2.0.0\bin\Release\Win32\glew32.dll】 Copied to the 【VC\bin】
3.【glew-2.0.0\lib\Release\Win32】 Inside 2 individual lib Copied to the 【VC\lib】
Two .glut Configuration of :
1. hold 【glut】 Inside glut.h Copied to the 【VC\include\GL】 in .
2.glut.dll and glut32.dll Copied to the 【VC\bin】
3.glut32.lib and glut.lib【VC\lib】
3、 ... and .freeglut Configuration of :
1. hold 【freeglut\include\GL】 Inside 3 Copy header file to 【VC\include\GL】 in .
2.【freeglut\bin\freeglut.dll】 Copied to the 【VC\bin】
3.【freeglut\lib\freeglut.lib】 Copied to the 【VC\lib】
Four .gltools Configuration of :
1. hold 【gltools\include】 Inside 11 Copy header file to 【VC\include】 in .( This time it's not on GL Inside the !!!)
2.【gltools\lib\gltools.lib】 Copied to the 【VC\lib】
because gltools It's compiled as a static library , Not a dynamic library , Therefore, you need to set reference to this... In the code or project directory lib.
#pragma comment(lib,“gltools.lib”)
Here we are , Basically OpenGL The configuration is complete , Now you can run the triangle in the super classic ! hold demo In folder triangle.cpp Copy the file directly to your project directory , Run and see a lovely triangle .
版权声明
本文为[0zien0]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623293585.html
边栏推荐
猜你喜欢
随机推荐
页面动态显示时间(升级版)
keytool: command not found
两个线程交互打印奇偶数字
FSM有限状态机
6. Aggregation function and grouping statistics
常用的DOS命令
数论之拓展欧几里得
学会使用搜索引擎
青龙面板拉库命令更新【2022/4/20】收藏不走丢
VR、AR、MR的区别与应用,以及对AR技术的一些实现原理
快速傅里叶变换FFT简明教程
10. Update operation
SAP ECC连接SAP PI系统配置
AuthorizationServer(授权服务器的简单搭建)
redis连接出错 ERR AUTH <password> called without any password configured for the default user.
ABAP 7.4 SQL Window Expression
What is a closure?
manjaro安装与配置(vscode,微信,美化,输入法)
学习笔记7-深度神经网络优化
SAP PI/PO登录使用及基本功能简介