how to setup opengl in vs2010 (in basis)
TRANSCRIPT
![Page 1: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/1.jpg)
군산대 컴퓨터정보공학과
How to setup OpenGL in VS2010
![Page 2: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/2.jpg)
GLUT 설치 1/7
www.opengl.org
Coding Resources- GULT & Utility Li-braries
![Page 3: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/3.jpg)
GLUT 설치 2/7
GULT & Utility Li-braries- GULT
![Page 4: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/4.jpg)
GLUT 설치 3/7
The GULT 3.7 … all downloads
![Page 5: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/5.jpg)
GLUT 설치 4/7
GLUT for Windows
![Page 6: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/6.jpg)
GLUT 설치 5/7
Glut-3.7.6-bin.zip
![Page 7: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/7.jpg)
GLUT 설치 6/7
Glut.hOpenGL Libraries를 사용하기 위한 헤더파일
Glut32.dll, glut32.libOpenGL 을 Win32로 사용하기 위한 라이브러리 파일
![Page 8: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/8.jpg)
GLUT 설치 7/7
150p 의 표 4-5 참고
파일을 해당 폴더에넣어준다 .
Windows 7 64bit 의 경우 , SysWOW64에도 넣는다 .
![Page 9: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/9.jpg)
OpenGL Setting 1/10
설정을 지속적으로 이용하기 위해서 속성 시트를 생성하여 , 이후의 프로젝트에도 활용한다 .
![Page 10: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/10.jpg)
OpenGL Setting 2/10
속성 시트를 추가한다 .
![Page 11: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/11.jpg)
OpenGL Setting 3/10
속성 시트의 속성을 변경한다 .
![Page 12: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/12.jpg)
OpenGL Setting 4/10
VC++ 포함 디렉터리를 편집한다 .
![Page 13: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/13.jpg)
OpenGL Setting 5/10
glut 를 포함한 모든 GL 디렉터리를 포함하기 위해 옆의 그림처럼 입력한다 .
![Page 14: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/14.jpg)
OpenGL Setting 6/10
디렉터리 세팅이 완료되었음을 알 수 있다 .
![Page 15: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/15.jpg)
OpenGL Setting 7/10
링킹 과정에 들어가는 라이브러리를 설정한다 .
![Page 16: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/16.jpg)
OpenGL Setting 8/10
옆의 그림처럼 , 라이브러리 파일명을 입력한다 .
![Page 17: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/17.jpg)
OpenGL Setting 9/10
링킹에 필요한 라이브러리 파일이 설정되었음을 알 수 있다 .
![Page 18: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/18.jpg)
OpenGL Setting 10/10
이후에도 속성 시트를 활용하려면 프로젝트 폴더의 속성 시트를 가져다 쓰면 된다 .
![Page 19: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/19.jpg)
OpenGL Test 1/2
다음의 코드를 통해 , 작동이 원활한지 테스트한다 .
http://codepad.org/Uw5yKRkJ
174p 소스 샘플 출력검은색 화면에 흰 색 사각형 그리기
![Page 20: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/20.jpg)
OpenGL Test 2/2
결과는 다음과 같이 나타나게 된다 .
![Page 21: How to setup opengl in vs2010 (in basis)](https://reader038.vdocuments.mx/reader038/viewer/2022111815/55c05affbb61eb53128b45da/html5/thumbnails/21.jpg)
끝