dalerank / nanogui-sdl

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

Errors when compiling on visual studio 2017 windows #22

Closed blessedbythestorm closed 5 years ago

blessedbythestorm commented 7 years ago

I had to manually insert the SDL library paths to the project properties.

Afterwards it just gives compilation errors: 'glActiveTexture': redefinition; previous definition was 'function' nanogui Error C2659 '=': function as left operand nanogui D:\GITHUB\nanogui-sdl\src\screen.cpp 127

both have to do with glactivetexture.

Was really looking forward to using this :)

bubach commented 7 years ago

I think this PR might be of interest:

https://github.com/GuilhermeAlanJohann/nanogui-sdl/commit/b2f6f1e5a1a3cb6fb71c3349878961a4534225b7#diff-919298f4c4966f32444f235ade59cd90

dalerank commented 5 years ago

library redesinged for sdl2 api only, try now