Closed alan-cugler closed 1 year ago
Do you have https://packages.ubuntu.com/search?keywords=libboost-filesystem-dev installed? I'm guessing that's probably what you need...
You need to compile with C++17 to get std::filesystem.
On Fri, 31 May 2019, 05:28 CJ Kucera, notifications@github.com wrote:
Do you have https://packages.ubuntu.com/search?keywords=libboost-filesystem-dev installed? I'm guessing that's probably what you need...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/loot/libloot/issues/56?email_source=notifications&email_token=AASROETVPWRACFK47UF43SLPYCSQRA5CNFSM4HRR6CL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWUFJ3Q#issuecomment-497571054, or mute the thread https://github.com/notifications/unsubscribe-auth/AASROEUWCU5ON7RJV4KP7BDPYCSQRANCNFSM4HRR6CLQ .
@apocalyptech I checked and have this library installed.
@Ortham What would explicitly be the command to do so?
I tried to search for commands to explicitly state c++17 but I am falling short.
Currently, I found this post kind of wrestling with a similar problem,
but adding -lstdc++
to cmake .. && make all
made no difference.
I also found this talking about stating in the files what version to use, but I am assuming I shouldnt have to do that since this code is meant to be in c++17.
Did you export CXX="g++-8" CC="gcc-8"
before running cmake?
Closing due to lack of response.
Hi I am trying to build libloot (and eventually loot) natively on ubuntu 18.04. I am primarily following this guys guide and have gotten all the dependencies installed.
I ran these commands to get it compiling and I make it past several dependencies before choking.
The Error is as follows:
I did attempt to run through the entire repo and replace
#include <filesystem>
with#include <experimental/filesystem>
. This did get past the half a dozen identical errors but eventually culminated in a final scroll fest of errors.So is there a dependency or modification I need to make? Its been a couple years since I've done C++ code, but I don't mind having to brush up for this to run native.
My System