dalerank / nanogui-sdl

Minimalistic port of NanoGUI claim works with SDL API w/o external dependencies.
Other
437 stars 77 forks source link

Build error on windows #18

Closed reginaldlouis closed 5 years ago

reginaldlouis commented 7 years ago

How did you manage to build on windows. The SDL include is inconsitent. Sometime is

include <SDL/SDL_opengl.h>

or

include <SDL2/SDL_opengl.h>

By default, in the SDL developper source, everthing in directly on the "include" folder.

wihu commented 7 years ago

+1 need some extra steps to include SDL and build the project. probably need to fix the cmake for SDL dependency on windows?

Merytsetesh commented 7 years ago

I just tried to build this on Windows, in VS 2015. I set up the project properties to point at my SDL library and the nanogui-sdl project, built using CMake, seemed unable to find it.

I'm tempted to see what happens if I just fold nanogui into an existing SDL-based project and go from there.

dalerank commented 5 years ago

redesigned for sdl2 api only, try now