61bcdefg / Hikari-LLVM15

A fork of Hikari Obfuscator [WIP]
605 stars 187 forks source link

Compilation fail on Unix (Ubuntu WSL) #92

Closed busmanl30 closed 10 months ago

busmanl30 commented 10 months ago

Some reason i get similar error from using Ninja first time and now Unix https://prnt.sc/G2MH1FfqJTT0

61bcdefg commented 10 months ago

Can you build the original version of llvm for that branch without any errors? I need to determine if this error is related to some changes made to llvm by this project

busmanl30 commented 10 months ago

yea i can try, let me compile using the same commands.

busmanl30 commented 10 months ago

So LLVM 17 the latest seemed to compile https://prnt.sc/aZzVPDfVOSks cmake -S llvm -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel cmake --build build

Btw when compiling Hikari with Ninja and "Unix" i got the same error pretty much

61bcdefg commented 10 months ago

Some reason i get similar error from using Ninja first time and now Unix

https://prnt.sc/G2MH1FfqJTT0

So this is which branch

busmanl30 commented 10 months ago

This one https://github.com/61bcdefg/Hikari-LLVM15/tree/llvm-swift-5.9-RELEASE

busmanl30 commented 10 months ago

Decided to get the latest for the latest support

61bcdefg commented 10 months ago

See if you encounter the error when trying to build this

busmanl30 commented 10 months ago

compiling, gonna try to get clang to compile too, forgot i also needed that.

busmanl30 commented 10 months ago

Also gonna use Ninja as well

busmanl30 commented 10 months ago

CLANng even failed, going back to original stuff https://prnt.sc/n34IKp3Ju-Z3

busmanl30 commented 10 months ago

cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel

61bcdefg commented 10 months ago

I guess that is possible that the cmake or the c++ compiler you are using are too old, upgrade them and then try again

61bcdefg commented 10 months ago

However, I think this issue has nothing to do with the project itself

busmanl30 commented 10 months ago

So LLVm with Ninja compile fine https://prnt.sc/MT_UW2fjnTBw I used this command, same as my first time attempting to compile hikari cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel

busmanl30 commented 10 months ago

https://prnt.sc/yXKZQ-oDICwe nah this has to be this project i did the same thing as the one you sent me and same error