Open ArminiusTux opened 5 months ago
There are still some bits which aren't PR'd yet that are held up waiting for other things to go in, but at least with my personal tests it works fine.
Have you tried the "OS Test Builds" custom engine in Knossos.NET? It has an ARM64 build which contains all of the pending ARM64 fixes. I realize it's a bit old now but it should still be equivalent to 24.0.1 at least since I included all of the PRs which were pending for the point release. If that build works for you then in theory it should work otherwise as well.
Also are you using the updated prebuilt libs that I made (still waiting to merge) or did you roll your own? The reason I ask is that early on I experienced a similar sounding crash which I'm pretty sure was due to the SDL2 version/build I was using. I believe it was 2.0.18, or something around that time.
This is great!
I have not discovered the "test build" in Knossos yet and was also unaware of this pull request.
My mixture of prebuilt libs & modified sources must have contained bad voodoo, so I will gladly test out your additions and report back.
Hello again,
your test-build is working nicely, apart from some crashes (like after targeting a ship in the fs2 demo).
As for your libraries, they definitely ease the compiling job - however there are some quirks left, I have to straighten out. 🤨
Last but not least, could you update your fs2open repository (and maybe also integrate your libRocket changes) so I can fork it?
Regards
It's best to just fork the main fs2open repo since I don't really keep mine updated unless I'm actively working on something. Apart from any PR still waiting to be merged, all of my ARM64 changes are in the main repo.
The one exception is the project file changes to make proper use of the new prebuilt lib changes. And I can't submit the PR for it until the prebuilt libs PR has been merged. I should have mentioned that earlier but just didn't think about it. Sorry about that. But I've attached a diff for the main part of that change so it should work properly for you.
Also I've requested that the libRocket repo be copied over to the main project so that it's easier to get that fix merged in. Just waiting until someone with sufficient permissions can take care of the move and then I'll resubmit the PR.
As a quick update, all of the ARM64 changes should now be in the main repo as of July 13th. So building for ARM64 on Windows should require no additional steps to get things going.
Support for ARM64 builds in the CI pipeline is still not working however, but that's something I hope to sort out eventually.
Sorry for the late response @notimaginative .
Unfortunately libRocket is still crashing the party.
I am building without voice, speech and fred2:
cmake -DCMAKE_BUILD_TYPE=Release -DFSO_BUILD_FRED2=OFF -DFSO_USE_SPEECH=OFF -DFSO_USE_VOICEREC=OFF
or
cmake -G "Visual Studio 17 2022" -A arm64 -DCMAKE_BUILD_TYPE=Release -DFSO_BUILD_FRED2=OFF -DFSO_USE_SPEECH=OFF -DFSO_USE_VOICEREC=OFF
Dear @notimaginative ,
many thanks for your contributions so far in getting closer to compile
fs2open
for Windows on ARM64!After some rough additions and source mixtures, I finally managed to compile fs2open via MSVC (clang quits at 2/3 of the job). The WinARM64 build is even recognized by the Knossos launcher, however
fs2_open_24_1_0_arm64.exe
crashes after a few seconds and creates a dump file.Have you managed to compile & successfully run
fs2open
on WinARM64 so far?