3D Graphic Technical Artist
[Review Tutorial] Opengl Windows Setup 본문
[Review Tutorial] Opengl Windows Setup
er1ca 2018. 4. 10. 12:44Opengl environment set up at Window
Youtube Link :
https://www.youtube.com/watch?v=DxNlRMboBuI&index=2&list=PLEETnX-uPtBXT9T-hD0Bj31DSnwio-ywh
https://www.youtube.com/watch?v=XAb6kbkKguk&index=3&list=PLEETnX-uPtBXT9T-hD0Bj31DSnwio-ywh
0. DevEnv .
Visual Studio 2013 Ultimate
1. Library downloads .
1) glew
http://glew.sourceforge.net/index.html
https://sourceforge.net/projects/glew/files/glew/2.1.0/
2) glm
http://glm.g-truc.net/0.9.8/index.html
https://github.com/g-truc/glm/tags
3) sdl(Simple DirectMedia Layer) for Development Libraries
https://www.libsdl.org/download-2.0.php
2. Create Console Project
3. Go to Project Folders , Create 'Include' and 'lib' Folders
4. Move each libraries include and lib files to the folders we made in project folder
1) Include folder has
GL folder form (glew/include folder)
glm folder from (glm/linclude folder)
sdl2 folder form (sdl/include folder , changed nameas sld2)
2) lib folder has
glew32.lib
glew32s.lib
SDL2.lib
SDL2main.lib
SDLtest.lib
3) Debug (at exe file) folder has
glew32.dll (from glew bin folder)
SDL2.dll (from sdl2 include folder)
5. Edit Settings
1) C/C++ > Additional including directory : .\include
2) Linker > general > additional library directory : .\lib
3) Linker > include > additional dependencies : all library names in lib folders and Opengl32.lib (Q. is that included windows standards?)
6. Type include<GL\glew.h> and build we could check it works .
'3D Graphics & Computer Vision > Graphics' 카테고리의 다른 글
[Review Tutorial] Opengl로 Window 만들기 (0) | 2018.04.10 |
---|