I am building OpenSceneGraph on Windows 11 x64 using MSVC 16 2019. This is the error i am getting:
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' [D:\dev\OpenSceneGraph\build\src\osgPlugins\gif\osgdb_gif.vcxproj]
You appear to have a modified version of the gif library headers. In the source code on http://sourceforge.net/projects/giflib/ the GifAsciiTable8x8 has been declared as "extern const" in all versions.
Laurens.
I am building OpenSceneGraph on Windows 11 x64 using MSVC 16 2019. This is the error i am getting:
C:\ProgramData\Anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' [D:\dev\OpenSceneGraph\build\src\osgPlugins\gif\osgdb_gif.vcxproj]