[How to ] run OpenGL programs on mac without using Xcode

I recently moved from windows PC to Mac Book Air and as a Computer engineer I had to mess up with CGMT code(Although I hate it).
When I worked with windows PC, I just had to paste some .dll files in system32 and some header files in MinGw folder of code blocks.

But, for MAC, it even more easy.

Mac already comes with all required header files, all you need is an IDE and a good compiler like Xcode but downloading and running 4gb IDE for such a small purpose is not worth it.

The answer is Code:BLocks IDE


Download Code:Blocks from here


Unzip the file and paste the app in your applications folder.


Now open code blocks and New Project -> Glut Project and all done, Build and run all of your programs.

Note: Remember to replace with and remove which is not required on mac.

Thanks you, Hope it helped out.

Popular posts from this blog

RTU B.Tech 4th semester Computer science Syllabus (Common to IT also)

[How to] install Remastersys on Unbuntu 14.04 [Linux] with GUI support

[How to] Connect an android device [using MTP] on Linux [Ubuntu 14.04 LTS] 100% working