• Advertisement

Archived

This topic is now archived and is closed to further replies.

glut.h error

This topic is 5311 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi i have an error when i try to compile an C++ console app with code warrior 7: /-----------/ Error : ambiguous access to overloaded function ''std::ext(int)'' ''exit(int)'' glut.h line...... /-----------/ I only get this when i am compiling with a .cpp code file, but not a .c file. I just don''t know why. It has something to do with the windows.h and glut.h files i think. I want to be able to use c++ classes so i want to get glut working with a .cpp. Does anyone know what the problem is? Thanks

Share this post


Link to post
Share on other sites
Advertisement
There is only a 1 in a billion chance that there is anything wrong with windows.h or glut.h.

It is usually a portion of your code that is causing a problem, but the error message is ambiguous. You would have to post your code for something more specific.



First make it work,
then make it fast.

--Brian Kernighan

"I’m happy to share what I can, because I’m in it for the love of programming. The Ferraris are just gravy, honest!" --John Carmack: Forward to Graphics Programming Black Book

Share this post


Link to post
Share on other sites

  • Advertisement