User forums > Help

Code Blocks Error Message with GLUT

<< < (5/5)

slowcook:
I just had this problem (Running windows with MinGW) and fixed it by adding

#include <windows.h>

to the project file.

Edit: the "C:/Program Files/CodeBlocks/include/GL/glut.h:50: error: redeclaration of C++ built-in type `short'" problem

Navigation

[0] Message Index

[*] Previous page

Go to full version