bflattened / bflat

C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)
GNU Affero General Public License v3.0
3.56k stars 102 forks source link

Cannot build. Missing jitinterface_x64 #129

Closed CypherPotato closed 7 months ago

CypherPotato commented 7 months ago

I'm trying to build bflat after some modifications.

I can already run bflat on the .net 6.0 runtime, but I now want to generate the fully native exe.

and got the error in the build process:

Unhandled exception. System.DllNotFoundException: Unable to load DLL 'jitinterface_x64' or one of its dependencies

Any thoughts?

CypherPotato commented 7 months ago

I've figured out id need to downloadthe bflat-compiler-native-windows-x64.zip into the output directory too. Also I've figured out i've needed to download LLVM into /bin directory, inside the output directory.

But now i'm stuck at:

lld : error : could not open 'sokol.lib': no such file or directory [C:\Users\user\source\repos\bflat\src\bflat\bflat.csproj]

Please detail the build process. Thanks.

CypherPotato commented 7 months ago

Update: I've moved all the files from the release bflat zip to the output directory and it worked.

MichalStrehovsky commented 7 months ago

Fwiw the building instructions are at the root of the repo in Building.md