![]() |
SDL and GLew conflict | ![]() |
![]() |
![]() |
mr_tawan
![]() |
![]() |
I haven't been using glm before, so I might be wrong. Looks like the int64_t typedef in fwd.h (of glm) is declared inside glm namespace. That should prevent name clashing.
Are you happen to use :-
somewhere in your code ? If so, you might want to remove that. You'd have to append glm:: in front of every glm's function calls. |
||||||||||||
|
![]() |
![]() |
k5748
![]() |
![]() |
You're right. Moving that after the sdl includes solved the problem. I still do not understand why it worked fine on my system and not on another, but now it's all ok. Thank you.
|
||||||||||
|
![]() |
![]() |
mr_tawan
![]() |
![]() |
It's suggested against using "using namespace" in production code. It creates more problems than benefits.
|
||||||||||
|