Open kinnefix opened 5 years ago
I'd be happy to consider a pull request for better supporting the Windows build.
I could perhaps contribute by providing an AppVeyor build, but I don't tend to do much Windows development nowadays, generally.
I came across the same issue myself, visiting Windows recently.
I'll add some per-platform notes to include the advice about windows.h
and NOMINMAX
.
I'm not really sure how I can contribute to the source code, so I'm posting it here. I was trying to build glui using msbuild CLI. I first generated glui.sln using cmake command. I then issued msbuild glui.sln, but got the error complaining about errors in gl.h from windows sdk. As a solution, I added #include right before inclusion of GL/gl.h, but I got another error indicating that I needed to define NOMINMAX for some reason. Setting such macro seemed to have solved the problem, and I successfully got resulting library.
Should I make a diff file so that someone with the right access to this repository can apply it?