-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When trying to compile, I got tons of errors about std::filesystem not found, despite it is included in the headers.
Running cmake with these flags made it work for me:
cmake -D CMAKE_CXX_COMPILER=g++ -D CMAKE_CXX_FLAGS=-std=c++17 .
Then, when linking the files, it will complain about the missing lib -lThreads::Threads. That's an odd library to be honest, never seen a linker include a library with that naming scheme. If you encounter this error, to make it work edit CMakeList.txt and replace the three occurences of "Threads::Threads" with "pthread".
Example:
target_link_libraries(winevfs_lib64 stdc++fs dl pthread)
Hope that helps someone. :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working