google-deepmind / lab

A customisable 3D platform for agent-based AI research
Other
7.06k stars 1.36k forks source link

C++ version problem? #248

Open Tsbuild74 opened 1 month ago

Tsbuild74 commented 1 month ago

I have no idea how to fix this. I have checked the Issues and tried to solve it like #241 but still had the error like c++ version things. Here's the information about the error:

Compiling absl/log/internal/conditions.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 32 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox In file included from external/com_google_absl/absl/base/config.h:92:0, from external/com_google_absl/absl/base/attributes.h:37, from external/com_google_absl/absl/log/internal/conditions.h:36, from external/com_google_absl/absl/log/internal/conditions.cc:15: external/com_google_absl/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."

error "C++ versions less than C++14 are not supported."

^~~~~ Target //:deepmind_lab.so failed to build Use --verbose_failures to see the command lines of failed build steps.

So how can i solve this problem?