Last active
August 29, 2015 14:17
-
-
Save boy3vil/73b27a36adb997a0ede2 to your computer and use it in GitHub Desktop.
OpenGL GLUT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Download GLUT >> http://www.mediafire.com/?5329nj635679663 | |
| Akan ada file glut.h, glut32.lib, dan glut32.dll | |
| Copy file glut.h ke dalam folder C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl | |
| Copy file glut32.lib ke dalam folder C:\Program Files\Microsoft Visual Studio 10.0\VC\lib | |
| Copy file glut32.dll ke dalam folder C:\Windows\System32 | |
| Catatan: untuk windows 64 bit, letakkan glut32.dll pada ‘C:\Windows\SysWOW64\’ | |
| 1.Buka project dengan Visual C++, pilih Empty Project | |
| 2.Pilih Project à Properties. Pilih Linker à Input dan tambahkan beberapa Dependencies berikut: | |
| Opengl32.lib | |
| Glu32.lib | |
| Glut32.lib | |
| 3.Untuk mengecek, tambahkan file Visual c++, kemudian buat code dalam open GL (Catatan: untuk mencoba code contoh bisa didapatkan dari web berikut: http://www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html) | |
| fatal error LNK1104: cannot open file 'glut32.lib': Depending on where the 3rd party library file is located (may be different on different lab workstations or your home workstation), you may also need to tell the linker where to find it. This is the case if the 3rd party .lib file is not in the normal Visual Studio library directory, usually C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib. To do this, right click on the project name in the Solution Explorer tab, select Properties-> Linker -> General -> Additional Library Directories, and enter the directory path containing the 3rd party library file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment