dalerank / nanogui-sdl

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

Error C2365 - 'glActiveTexture': redefinition; previous definition was 'function' #3

Closed Arielnyc closed 5 years ago

Arielnyc commented 8 years ago

I think I may be adding the wrong SDL version. Which version of the SDL libraries do I need to add to the project for it to work?

http://stackoverflow.com/questions/37174013/opengl-active-texture-redefinition-error-with-function-as-left-operand

Thanks!

Arielnyc commented 8 years ago

Do i need to type in anything more than "cmake" to build it properly?

dalerank commented 8 years ago

Hi, I used 2.0.4.

Could you please share error log??? On May 12, 2016 9:09 PM, "Arielnyc" notifications@github.com wrote:

Do i need to type in anything more than "cmake" to build it properly?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/dalerank/nanogui-sdl/issues/3#issuecomment-218839447

Arielnyc commented 8 years ago

Hi dalerank,

Here are my errors when I first build the project
I then add SDL and SDL2 folders to ext. Both folders are filled with the same headers for SDL 2.0.4
Here are my errors after adding the two SDL directories
GuilhermeAlanJohann commented 8 years ago

I have corrected these bugs and some others related to SDL2 in my fork. You can check out it here: https://github.com/GuilhermeAlanJohann/nanogui-sdl

dalerank commented 5 years ago

redesigned for sdl2 api only, try now