opengllinux
發布時間: 2024-10-03 12:58:13
A. 在Linux上怎麼安裝OpenGl
1.安裝IDE: 這里使用鏈搭雀的是codeblocksx0dx0asudo apt-get install codeblocksx0dx0a2.配置Linux下的openGLx0dx0a下載並安裝openGL所需要棚早的庫x0dx0asudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-devx0dx0asudo apt-get install freeglut3-devx0dx0asudo apt-get install build-essential gdb subversionx0dx0asudo apt-get install automake autoconf libtoolx0dx0asudo apt-get install libgtk2.0-dev libxmu-dev libxxf86vm-devx0dx0a3.配置codeblocks IDEx0dx0a在Settings->compiler and debugger settings->link settingsx0dx0a添加:x0dx0a/usr/枝扮lib/libGL.so
熱點內容