Quake3e icon indicating copy to clipboard operation
Quake3e copied to clipboard

win arm32 compiling

Open wmjb opened this issue 1 year ago • 4 comments

trying to compile for win arm 32 bit, only problem i've got is the following function in common.c

void Sys_SnapVector(float* vector) { vector[0] = rint(vector[0]); vector[1] = rint(vector[1]); vector[2] = rint(vector[2]); }

any idea what would be the equivalent for #if arm32 ?

if i just copy the arm64 function, everything build and runs just crashes on launching a match.. i'm not sure if this is the issue.

many thanks.

wmjb avatar Jun 29 '24 01:06 wmjb

looks like the problem is with the opengl32.dll.

wmjb avatar Jun 29 '24 02:06 wmjb

What devices are arm 32 bit supporting Windows? If Windows arm 32 doesn't properly support opengl (not opengles) you may not be able to get far.

ensiform avatar Jun 29 '24 04:06 ensiform

microsoft surface 1 and 2, windows 10. we use gldirect5 which gives opengl 1.1 over dx9. ioq3 builds and runs fine.

wmjb avatar Jun 29 '24 13:06 wmjb

The codebase does not have arm32 project or defines for windows currently but it could be added it looks like

ensiform avatar Jun 29 '24 16:06 ensiform