Difference between revisions of "Other Problems"

From Hawk Wiki
Jump to: navigation, search
(Created page with "==Compile glui in windows== download: <br> http://glui.sourceforge.net/#download <br> Go to msvc folder and build. A problem you may met:<br> "There is an incompatibility betwee...")
(No difference)

Revision as of 03:45, 18 February 2012

Compile glui in windows

download:
http://glui.sourceforge.net/#download
Go to msvc folder and build. A problem you may met:

"There is an incompatibility between glut.h and Visual Studio .NET. that results in compile errors: error C2381: 'exit' : redefinition; __declspec(noreturn) differs error C3861: 'exit': identifier not found, even with argument-dependent lookup

To fix the error, right click on the project name in the Solution Explorer tab and select Properties -> C/C++ -> Preprocessor -> Preprocessor definitions and append GLUT_BUILDING_LIB to the existing definitions, seperated by semicolons. "