DFIR-ORC / dfir-orc

Forensics artefact collection tool for systems running Microsoft Windows
https://dfir-orc.github.io
GNU Lesser General Public License v2.1
370 stars 42 forks source link

Error during compilation : can't install CLI11 package #65

Closed Accipiter13 closed 2 years ago

Accipiter13 commented 2 years ago

Hello, I've been trying to compile DFIR ORC using VS 2019, but compilation crashes when it's supposed to install CLI11 package. According to the output (see trace_compilation.txt), libwinpthread 8.0.0.x isn't avaliable anymore on any mirror server cmake tries to download it from, and indeed, newer versions are avaliable (9.0.0.x and 10.0.0.x), but not the 8.0.0.x.

I tried using the Developer Command Prompt, Developer Powershell, both in VS environment. Also tried to install CLI11 on my machine, but nothing seemed to work. I cloned the DFIR ORC repo yesterday, so I don't think vcpkg is out of date.

Do you have any idea on how to workaround this or to fix the URL of the file so DFIR ORC would finally compile?

Feel free to ask for any log file you'd like me to give you.

Thanks.

trace_compilation.txt

fabienfl-orc commented 2 years ago

Hello, this is an uneeded dependency introduced by vcpkg. I will address this in the coming release. Meanwhile you can manage to build following https://github.com/DFIR-ORC/dfir-orc/issues/64

Thank you

Accipiter13 commented 2 years ago

Okay, I'll try this solution, can you leave the issue open for now please? I'll close it myself if it works, if it doesn't, I'll get back to you.

Thanks :)

Accipiter13 commented 2 years ago

Hello again, I've been trying to apply the solution you give me earlier, however, there are a few things that are a bit obscure to me.

Now I'm blocked at this point, can't make the cmake -G "Visual Studio 16 2019" -A Win32 .. command to execute without errors.

Do you have any advice so I could understand better what to do to figure out how to make it work?

Thanks a lot for your help and your time.

Cheers

Accipiter13 commented 2 years ago

I've managed to figure out where to put the modifications required to make it work :

Now everything compiled nicely.

Thanks again, and sorry for bothering you.