Compile error with glew-1.11 #4218
Comments
vexed changed status from |
vexed changed resolution from `` to |
vexed changed blocking which not transferred by tractive |
vexed changed blockedby which not transferred by tractive |
vexed commented o_O
Upstream screwed up. In case it isn't obvious, it should be
Which means 1.11 is broken. Maybe 1.12 will make a show quickly. BTW, I don't really like that hack anyway a7d2c06c280c867fea61173d25c25d69012db489 from #3166. Would be better if the OEMs would just fix their drivers. |
vexed changed status from |
vexed changed resolution from |
vexed changed _comment0 which not transferred by tractive |
vexed commented Well, what do you know, apparently, it was already reported, and they (glew) said it wasn't there fault, that is how openGL's registry has it. Sure enough, looking at the registry itself, that is how they have for who knows why. Anyway, I guess we can use one heck of a ugly cast, or just dump that ugly hack. |
vexed commented I see no valid reason to keep supporting this hack, and it was already removed in master. |
vexed changed status from |
vexed changed resolution from `` to |
vexed commented For what it is worth, as sad as this sounds, apparently, some linux/mac/windows drivers are still in bad shape, and doing this hack is the only way they can play the game, which is why I didn't just kill off our hack outright yet. However, since per went ahead and removed it anyway in d512d1dc9857e3c2bbfa0a7b5856bdf420412b8f I guess we will just wait for the crash reports again. |
resolution_fixed
type_bug
| by NoQI'm having the following compile error when building warzone2100-3.1.1 with glew-1.11; downgrading to glew-1.10 fixes the problem.
g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng16 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty -I../../3rdparty/quesoglc -I/usr/include/GL -I/usr/include/libdrm -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I/usr/include/qt4/QtCore -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I/usr/include/qt4/QtCore -fstack-protector -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o screen.o screen.cpp
screen.cpp: In function 'void screen_EnableMissingFunctions()':
screen.cpp:264:24: error: invalid conversion from 'PFNGLSHADERSOURCEARBPROC {aka void (*)(unsigned int, int, const char**, const int*)}' to 'PFNGLSHADERSOURCEPROC {aka void (*)(unsigned int, int, const char* const*, const int*)}' [-fpermissive]
make[2]: *** [screen.o] Error 1
make[2]: Leaving directory
/home/noq/wz/warzone2100-3.1.1/lib/ivis_opengl'`make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/home/noq/wz/warzone2100-3.1.1'`make: *** [all] Error 2
Refers to
lib/ivis_opengl/screen.cpp
:Issue migrated from trac:4218 at 2022-04-16 11:44:43 -0700
The text was updated successfully, but these errors were encountered: