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

Issue compiling version 0.15.0 to arm64 on VS2022 windows #168

Open
valdirSalgueiro opened this issue May 29, 2024 · 4 comments
Open

Issue compiling version 0.15.0 to arm64 on VS2022 windows #168

valdirSalgueiro opened this issue May 29, 2024 · 4 comments

Comments

@valdirSalgueiro
Copy link

valdirSalgueiro commented May 29, 2024

Getting this error
3>C:\Projects\Kiwi0.15.0\Kiwi\src\search.cpp(908,57): error C2146: syntax error: missing ';' before identifier 'mask'
seems to come from this line
static const uint8x16_t __attribute__((aligned(16))) mask = { 1, 2, 4, 8, 16, 32, 64, 128, 1, 2, 4, 8, 16, 32, 64, 128 };

Any idea how to fix it? thanks!
image

@bab2min
Copy link
Owner

bab2min commented May 31, 2024

Hi @valdirSalgueiro
Unfortunately, Kiwi does not support Windows ARM64 yet now.
I will add Windows ARM64 to the next update.

@bab2min
Copy link
Owner

bab2min commented May 31, 2024

Hey @valdirSalgueiro
I've modified few lines for Windows ARM64 compiling.
It seems to compile well, but I cannot test whether it runs well on Windows ARM64.
You can see the updated code at dev_win_arm64 branch.

@valdirSalgueiro
Copy link
Author

thanks for the prompt version. I downloaded the branch you mentioned but still was unable to compile. Maybe is a problem with VS 2022?
image

@bab2min
Copy link
Owner

bab2min commented Jun 21, 2024

@valdirSalgueiro Hmmm, it seems cpuinfo doesn't support ARM64 on Windows maybe.
You can disable cpuinfo by undefining KIWI_USE_CPUINFO and exclude them from the build.

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

No branches or pull requests

2 participants