In file included from zenfs.cc:25: /usr/local/include/rocksdb/plugin/zenfs/fs/fs_zenfs.h:158:40: error: 'std::filesystem' has not been declared 158 | std::string FormatPathLexically(std::filesystem::path filepath); | ^~~~~~~~~~ /usr/local/include/rocksdb/plugin/zenfs/fs/fs_zenfs.h:158:57: error: expected ',' or '...' before 'filepath' 158 | std::string FormatPathLexically(std::filesystem::path filepath); | ^~~~~~~~ zenfs.cc: In function 'std::unique_ptrrocksdb::ZonedBlockDevice rocksdb::zbd_open(bool, bool)': zenfs.cc:61:27: error: 'ZbdBackendType' has not been declared 61 | FLAGS_zbd.empty() ? ZbdBackendType::kZoneFS : ZbdBackendType::kBlockDev, | ^~~~~~~~~~~~~~ zenfs.cc:61:53: error: 'ZbdBackendType' has not been declared 61 | FLAGS_zbd.empty() ? ZbdBackendType::kZoneFS : ZbdBackendType::kBlockDev, | ^~~~~~~~~~~~~~ zenfs.cc:62:15: error: no matching function for call to 'std::unique_ptrrocksdb::ZonedBlockDevice::unique_ptr(<brace-enclosed initializer list>)' 62 | nullptr)};
Hi, I really want to know the reason for that.
Since
I restarted the QEMU ,I failed in buildingzenfs utility
after executing the compileI got the message:
In file included from zenfs.cc:25: /usr/local/include/rocksdb/plugin/zenfs/fs/fs_zenfs.h:158:40: error: 'std::filesystem' has not been declared 158 | std::string FormatPathLexically(std::filesystem::path filepath); | ^~~~~~~~~~ /usr/local/include/rocksdb/plugin/zenfs/fs/fs_zenfs.h:158:57: error: expected ',' or '...' before 'filepath' 158 | std::string FormatPathLexically(std::filesystem::path filepath); | ^~~~~~~~ zenfs.cc: In function 'std::unique_ptrrocksdb::ZonedBlockDevice rocksdb::zbd_open(bool, bool)': zenfs.cc:61:27: error: 'ZbdBackendType' has not been declared 61 | FLAGS_zbd.empty() ? ZbdBackendType::kZoneFS : ZbdBackendType::kBlockDev, | ^~~~~~~~~~~~~~ zenfs.cc:61:53: error: 'ZbdBackendType' has not been declared 61 | FLAGS_zbd.empty() ? ZbdBackendType::kZoneFS : ZbdBackendType::kBlockDev, | ^~~~~~~~~~~~~~ zenfs.cc:62:15: error: no matching function for call to 'std::unique_ptrrocksdb::ZonedBlockDevice::unique_ptr(<brace-enclosed initializer list>)' 62 | nullptr)};