google-deepmind / google-deepmind/lab

C++ version problem?

Open
#248 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.