![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| Hi everyone, I have just joined programmerstalk today and I wish you all the best. Anyway, LET'S get back to business, I have an error like this when doing OpenGL in Visual Studio 2005: Error 1 error C2381: 'exit' : redefinition; __declspec(noreturn) differs c:\program files\microsoft visual studio 8\vc\include\stdlib.h 406 Can anyone help? |
| |
| |||
| I managed to solve this problem. For those who come across this in the future i simply rearranged #include <GL/glut.h> #include <stdlib.h> so that they were the other way round #include <stdlib.h> #include <GL/glut.h> and everything was fine. |
| ||||
| Welcome to the forums mate, stick around and post well, Glad to hear your problem has been sorted ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |