- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 48
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
[Bug] Doesn't run on aarch64 #191
Comments
For now, I have built win-vind by cross-compiling.
However, I don't have an arm64 computer, so I cannot test it to verify that it works. |
To compile win-vind for arm64, follow these steps.
$ git clone https://github.com/pit-ray/win-vind.git
$ cd libs
$ git clone https://github.com/wxWidgets/wxWidgets.git -b v3.1.5 -j %NUMBER_OF_PROCESSORS% --depth=1
$ cd wxWidgets
$ git submodule update --init -j %NUMBER_OF_PROCESSORS%
$ cd build/msw
$ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsamd64_arm64.bat"
$ nmake /f makefile.vc BUILD=release SHARED=0 UNICODE=1 TARGET_CPU=ARM64 RUNTIME_LIBS=static
$ cd ../../../
$ cmake -B build_arm64 -DCMAKE_BUILD_TYPE=Release -DwxWidgets_LIB_DIR libs/wxWidgets/lib/vc_arm64_lib -G "Visual Studio 16 2019" -A Arm64 .
$ cmake --build build_arm64 --config Release |
Thanks for the build & instructions (I couldn't get the build to work with my lack-of-knowledge). I'll test after work tonight. |
I tried running the installer you built, and that worked. However when I ran it (first time from non-admin powershell), I got: I then tried:
Finally, I stumbled on this run (somehow) from both admin & non-admin shell: C:\Program Files\win-vind> 'C:\Program Files\win-vind\win-vind.exe'
C:\Program Files\win-vind\win-vind.exe
C:\Program Files\win-vind> & 'C:\Program Files\win-vind\win-vind.exe'
C:\Program Files\win-vind> This produced:
I have no idea why the " |
I'm sorry. It seems I gave you an incomplete installer. |
Sorry - same result. After trying on an x86_64 machine (where it worked great), I'm certain it's not PEBCAK. This weekend I should have time to build it myself and try that (which hopefully will flush out any cross compile glitch). Win11 on arm64 has some rough edges still -- MS is still having challenges with WSL. |
fwiw, I'm running into issues getting a clean build on my machine, so I started #193. Everything is in extra scripts in |
@hwine |
About Bug
Steps to reproduce
Environments
The text was updated successfully, but these errors were encountered: