- 错误 C2039 “filesystem”: 不是“std”的成员
解决方法:
# inlcude <filesystem>
using namespace std::experimental::filesystem;
- undefined reference to `std::experimental::filesystem::v1::
g++ -o test test.cpp auxiliary.cpp auxiliary.h -lstdc++fs `pkg-config opencv --cflags --libs`
网友评论