Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win arm32 compiling #290

Open
wmjb opened this issue Jun 29, 2024 · 4 comments
Open

win arm32 compiling #290

wmjb opened this issue Jun 29, 2024 · 4 comments

Comments

@wmjb
Copy link

wmjb commented Jun 29, 2024

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
Copy link
Author

wmjb commented Jun 29, 2024

looks like the problem is with the opengl32.dll.

@ensiform
Copy link
Contributor

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.

@wmjb
Copy link
Author

wmjb commented Jun 29, 2024

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

@ensiform
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants