uxmal / reko

Reko is a binary decompiler.

Home Page:https://uxmal.github.io/reko

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS dotnet 6/7 build - libArmNative not being built

vvuk opened this issue · comments

Trying to build on macOS (14, so could be something there), following the exact cirrus CI commands (dotnet msbuild -p:Platform=ARM64 -p:Configuration=UnixRelease -t:build_solution -m ./src/BuildTargets/BuildTargets.csproj) , with both dotnet 7 and 6 results in:

/opt/proj/reko/src/Drivers/PreBuild.targets(21,5): error MSB3030: Could not copy the file "/opt/proj/reko/src/Native/build/ARM64/Release/ArmNative/libArmNative.dylib" because it was not found. [/opt/proj/reko/src/Drivers/AvaloniaShell/AvaloniaShell.csproj] [/opt/proj/reko/src/BuildTargets/BuildTargets.csproj]

and elsewhere where libArmNative is referenced. I don't have a src/Native/build directory at all, and I don't see any errors or any references earlier to ArmNative at all.

I noticed that src/Native/NativeProxy.csproj is missing ARM64 in the platforms list, but changing that doesn't affect the outcome and.. somehow CI still works.

Thanks for report this. What version of CMake do you have installed? The absence of a build directory implies that CMake is not doing what it's supposed to do. I'm looping in @smx-smx as well to assist.

We've been unable to reproduce this in house on a separate machine. You should be able capture the build output in a file. Please attach it to this issue.