After merging all the platform specific code in one single library, gcc complaint about gl function pointers not defined or defined differently with the EXT name in it.
The issue is in mixing glcorearb.h with glx.h because glx.h includes gl.h which which is not allowed/working because of the definitions.
The idea here is to separate all the affected code into its own .cpp files by using the pimpl idiom to defere the particular header inclusions to its own compilation units.
After merging all the platform specific code in one single library, gcc complaint about gl function pointers not defined or defined differently with the EXT name in it.
The issue is in mixing
glcorearb.h
withglx.h
becauseglx.h
includesgl.h
which which is not allowed/working because of the definitions.The idea here is to separate all the affected code into its own .cpp files by using the pimpl idiom to defere the particular header inclusions to its own compilation units.