You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system and version:
postmarketOS (based on Alpine Linux) Linux google-kukui 6.6.25-mt8183 #1-postmarketos-mediatek-mt8183 SMP PREEMPT Fri Apr 12 13:06:02 aarch64 Linux
Is this for single player or multiplayer?
Default build for OpenJK cmake -DCMAKE_INSTALL_PREFIX=/path/to/GameData ..
Description of the bug (and if possible, steps to reproduce the bug):
My steps (I used this manual):
cd$HOME/openjk
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/GameData ..
make
Errors:
╰─ make
[ 0%] Built target bundled_minizip
[ 11%] Built target openjk_sp.arm64
[ 33%] Built target jagamearm64
[ 39%] Built target rdsp-vanilla_arm64
[ 43%] Built target botlib
[ 56%] Built target openjk.arm64
[ 65%] Built target openjkded.arm64
[ 77%] Built target jampgamearm64
[ 84%] Built target cgamearm64
[ 87%] Built target uiarm64
[ 92%] Built target rd-vanilla_arm64
[ 92%] Built target compact_glsl
[ 92%] Building CXX object codemp/rd-rend2/CMakeFiles/rd-rend2_arm64.dir/tr_bsp.cpp.o
In file included from /home/thesame/GitProjects/openjk/codemp/rd-rend2/qgl.h:27,
from /home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_local.h:38,
from /home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:24:
/home/thesame/GitProjects/openjk/codemp/rd-rend2/glext.h:56: warning: "GL_GLEXT_VERSION" redefined
56 |#define GL_GLEXT_VERSION 20141118|
In file included from /usr/include/GL/gl.h:2045,
from /home/thesame/GitProjects/openjk/codemp/rd-rend2/qgl.h:11:
/usr/include/GL/glext.h:35: note: this is the location of the previous definition
35 |#define GL_GLEXT_VERSION 20230309|
/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function'void R_LoadLightmaps(world_t*, lump_t*, lump_t*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:208:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 208 | i < surfs->filelen / sizeof(dsurface_t); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:257:52: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 257 | tr.worldDeluxeMapping && i < surfs->filelen / sizeof(dsurface_t; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void ParseFace(const world_t*, dsurface_t*, drawVert_t*, packedTangentSpace_t*, float*, msurface_t*, int*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:953:35: warning: comparison of integer expressions of different signedness: 'glIndex_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 953 | if(tri[j] >= numVerts) | ~~~~~~~^~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void ParseTriSurf(const world_t*, dsurface_t*, drawVert_t*, packedTangentSpace_t*, float*, msurface_t*, int*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:1232:35: warning: comparison of integer expressions of different signedness: 'glIndex_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1232 | if(tri[j] >= numVerts) | ~~~~~~~^~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void R_LoadSurfaces(world_t*, lump_t*, lump_t*, lump_t*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:2344:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2344 | if (size != sizeof(float) * 3 * verts->filelen / sizeof(*dv)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~In file included from /home/thesame/GitProjects/openjk/codemp/qcommon/q_shared.h:95, from /home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_local.h:27:/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:2357:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2357 | assert(size == (verts->filelen / sizeof(*dv)) * sizeof(float) * 4); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:2359:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2359 | if (size != sizeof(tangentSpace[0]) * verts->filelen / sizeof(*dv)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void R_LoadFogs(world_t*, lump_t*, lump_t*, lump_t*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:2751:65: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2751 | if ( (unsigned)out->originalBrushNumber >= brushesCount ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:2758:58: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2758 | if ( (unsigned)firstSide > sidesCount - 6 ) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void R_LoadLightGrid(world_t*, lump_t*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:2881:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2881 | if (size != sizeof(float) * 6 * worldData->lightGridBounds[0] * worldData->lightGridBounds[1] * worldData->lightGridBounds[2]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void R_RenderAllCubemaps()':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:3299:16: warning: variable 'cubemapFormat' set but not used [-Wunused-but-set-variable] 3299 | GLenum cubemapFormat = GL_RGBA8; | ^~~~~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void R_LoadWeatherZones(world_t*, lump_t*, lump_t*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:3328:47: warning: variable 'sidesCount' set but not used [-Wunused-but-set-variable] 3328 | int brushesCount, sidesCount; | ^~~~~~~~~~/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'void R_GenerateSurfaceSprites(const world_t*, int)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:4020:39: error: invalid operands of types 'const GLuint' {aka 'const unsigned int'} and 'std::nullptr_t' to binary 'operator!=' 4020 | if (shader->spriteUbo != NULL) | ^/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp: In function 'world_t* R_LoadBSP(const char*, int*)':/home/thesame/GitProjects/openjk/codemp/rd-rend2/tr_bsp.cpp:4259:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4259 | for (int i = 0; i < sizeof(dheader_t) / 4; ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~make[2]: *** [codemp/rd-rend2/CMakeFiles/rd-rend2_arm64.dir/build.make:229: codemp/rd-rend2/CMakeFiles/rd-rend2_arm64.dir/tr_bsp.cpp.o] Error 1make[1]: *** [CMakeFiles/Makefile2:553: codemp/rd-rend2/CMakeFiles/rd-rend2_arm64.dir/all] Error 2make: *** [Makefile:156: all] Error 2
What did you expect to happen instead?
Build is successful.
The text was updated successfully, but these errors were encountered:
Operating system and version:
postmarketOS (based on Alpine Linux)
Linux google-kukui 6.6.25-mt8183 #1-postmarketos-mediatek-mt8183 SMP PREEMPT Fri Apr 12 13:06:02 aarch64 Linux
Is this for single player or multiplayer?
Default build for OpenJK
cmake -DCMAKE_INSTALL_PREFIX=/path/to/GameData ..
Description of the bug (and if possible, steps to reproduce the bug):
My steps (I used this manual):
Errors:
What did you expect to happen instead?
Build is successful.
The text was updated successfully, but these errors were encountered: