OpenGL programs using Code::Blocks can be run using two modes:
- Creating an OpenGL Project in Code::Blocks. Click Here to know more.
- Creating a stand alone OpenGL program, compiling and running it using Code::Blocks.
Steps to configure GLUT on Code::Blocks:
- Download glut.zip, unzip it and place it in respective directories.
- Copy the file glut.h and paste it in GL folder of Code Blocks (Ex: C:\Program Files (x86)\CodeBlocks\MinGW\include\GL)
- Copy the file libglut32.a and paste it in lib folder of Code Blocks (Ex: C:\Program Files (x86)\CodeBlocks\MinGW\lib)
- Copy the file glut32.dll and paste it in C:\Windows\SysWOW64 folder (in-case of 64-bit Windows OS) or C:\Windows\System32 folder (in-case of 32-bit Windows OS.
- Start Code::Blocks from the start menu.
- Goto Settings menu and click on Compiler menu option.
- Compiler Settings window will be opened.
- Ensure that selected compiler is GNU GCC Compiler.
- Goto Linker Settings and add the linker libraries glu32, glut32 and opengl32 by click on "Add" button and adding them individually.
- This activity needs to be done ONLY ONCE.
- Now Code::Blocks is ready to compiler and execute OpenGL programs.
Best casinos near Maysoue Hotel & Casino, Inc. - MJH
ReplyDeleteFind your ideal 광양 출장안마 location in Louisiana, with lots of options 충청남도 출장샵 for you from 하남 출장샵 casinos around the world. Just 광주광역 출장샵 minutes away from the beach, 전라남도 출장샵 you'll be