VC 2008環境下的OpenGL配置

2021-05-22 10:40:08 字數 767 閱讀 7756

vc++2008環境下的opengl配置

蔣明原(2009-3-7)

裡面包含了glut32.lib glut32.dll以及glut.h

2. 將glut.h放到c:/program files/microsoft sdks/windows/v6.0a/include/gl目錄下;glut32.lib放到c:/program files/microsoft sdks/windows/v6.0a/lib目錄下;glut32.dll放到c:/windows/system32目錄下

3. 新建project,選擇win32 console project,project名為new

4. 在改寫new.cpp內容為以下內容:

#include

"stdafx.h"

#include

void

mydisplay(

void)

int_tmain(

intargc, _tchar* argv)

5. 設定ide環境:project->new property->configuration propertites->linker->input->additional dependencies

裡面加入opengl32.lib glut32.lib這兩個lib,應用、確定。

6. f5,start debugging,應該能看到乙個視窗,中間區域為白色正方形。

VC 2008環境下的OpenGL配置

裡面包含了glut32.lib glut32.dll以及glut.h 2.將glut.h放到c program files microsoft sdks windows v6.0a include gl目錄下 glut32.lib放到c program files microsoft sdks wi...

SQL Server 2008環境搭建

microsoft sql server 2008 express 官方傳送門 sql server 2008 express 是 sql server 的免費版本,是學習和構建桌面及小型伺服器應用程式的理想平台,且非常適合由 isv 進行再分發。ssms 18.1 官方傳送門 sql server...

vs2008環境下使用zlib庫

2.工程裡 編寫 include pragma comment lib,zdll.lib 即可開始呼叫zlib的api函式 3.1 int compress bytef dest,ulongf destlen,const bytef source,ulong sourcelen 把源緩衝壓縮成目的緩...