You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was trying to run the given command: bazel run -c opt :print_names_and_sources /tmp/dm-code_contests/code_contests_valid.riegeli, I got this compilation error.
error: cannot cast private base class 'std::__detail::__variant::_Variant_storage<false, std::shared_futureriegeli::ChunkHeader, riegeli::records_internal::FutureChunkBegin::PadToBlockBoundary>' to 'std::variant<std::shared_futureriegeli::ChunkHeader, riegeli::records_internal::FutureChunkBegin::PadToBlockBoundary>'
This seems to be related to GCC.
I tried gcc-7 and I got an error saying <filesystem.h> is not found.
Then I tried gcc-9/10/11 and they all resulted in the error above. How can I fix this? Thanks.
When I was trying to run the given command:
bazel run -c opt :print_names_and_sources /tmp/dm-code_contests/code_contests_valid.riegeli, I got this compilation error.error: cannot cast private base class 'std::__detail::__variant::_Variant_storage<false, std::shared_futureriegeli::ChunkHeader, riegeli::records_internal::FutureChunkBegin::PadToBlockBoundary>' to 'std::variant<std::shared_futureriegeli::ChunkHeader, riegeli::records_internal::FutureChunkBegin::PadToBlockBoundary>'
This seems to be related to GCC.
I tried
gcc-7and I got an error saying <filesystem.h> is not found.Then I tried
gcc-9/10/11and they all resulted in the error above. How can I fix this? Thanks.