Closed aconstlink closed 10 months ago
I just can not believe that I am still doing this. This feels totally redundant and unnecessary. Lets try using the current solution which just compiled on my computer and appveyor. I am so frustrated with this stuff, every time you change something on the engine, you get some new obscure compiler/linker fuck up!
In my opinion, it works better on windows with wgl and gl than glx and gl! Why am I just doing Linux anymore?
It seems that GCC changed the default to
-Wno-fcommon
, so all the declared gl function pointers are seen as definitions. This caused the linkerld
to complain about multiple definitions of all the gl function pointers.The solution may be to use the
-fcommon
flag for the GCC C Compiler in CMake and add theextern
keyword to theapi.in.h
configure file like so: