News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Program glut does not run

Started by AlexandreRDSST, December 29, 2011, 03:44:05 PM

Previous topic - Next topic

AlexandreRDSST

basis of the program glut does not run

NOTE: I installed on 2 PCs in the same way and it worked, but not on my pc

of the following message

||=== teste, Debug ===|
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|50|error: redeclaration of C++ built-in type `short'|
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|58|warning: ignoring #pragma comment |
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|66|warning: ignoring #pragma comment |
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|67|warning: ignoring #pragma comment |
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|68|warning: ignoring #pragma comment |
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|76|warning: ignoring #pragma warning |
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|77|warning: ignoring #pragma warning |
C:\Program Files\CodeBlocks\MinGW\include\GL\glut.h|549|warning: 'int glutCreateMenu_ATEXIT_HACK(void (*)(int))' defined but not used|
||=== Build finished: 1 errors, 7 warnings ===|


My system
OS: Windows 7 ultimate 32Bits

MortenMacFly

Quote from: AlexandreRDSST on December 29, 2011, 03:44:05 PM
NOTE: I installed on 2 PCs in the same way and it worked, but not on my pc
You'd better ask in an appropriate forum, like a C++ / GLUT related forum. This forum is related to the IDE "Code::Blocks" and I guess only few people here use GLUT.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]