openai / procgen

Procgen Benchmark: Procedurally-Generated Game-Like Gym-Environments

Home Page:https://openai.com/blog/procgen-benchmark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation from source fails

srikarym opened this issue · comments

Installing from source by python setup.py install gives the error

  Target "env" requires the language dialect "CXX17" (with compiler
  extensions), but CMake does not know the compile flags to use to enable it.

Adding set(CMAKE_CXX17_STANDARD_COMPILE_OPTION "-std=c++17") at line 3 in CMakeLists.txt seems to resolve the issue. Is this a valid fix?