OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

BUG - 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern'

Open AhmedAredah opened this issue 1 year ago • 1 comments

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]

AhmedAredah avatar Mar 13 '24 15:03 AhmedAredah

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.

LaurensVoerman avatar Nov 19 '24 16:11 LaurensVoerman