Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #1

Open
siboehm opened this issue Nov 21, 2023 · 0 comments · May be fixed by #2
Open

Fix build #1

siboehm opened this issue Nov 21, 2023 · 0 comments · May be fixed by #2

Comments

@siboehm
Copy link

siboehm commented Nov 21, 2023

python -c "from procgen import ProcgenGym3Env; ProcgenGym3Env(num=1, env_name='coinrun')"
building procgen...RUN FAILED ['cmake', '--build', '.', '--config', 'relwithdebinfo']:
[  3%] Building CXX object CMakeFiles/env.dir/src/cpp-utils.cpp.o
[  6%] Building CXX object CMakeFiles/env.dir/src/basic-abstract-game.cpp.o
[ 13%] Building CXX object CMakeFiles/env.dir/src/game-registry.cpp.o
[ 16%] Building CXX object CMakeFiles/env.dir/src/assetgen.cpp.o
[ 16%] Building CXX object CMakeFiles/env.dir/src/game.cpp.o
[ 20%] Building CXX object CMakeFiles/env.dir/src/games/bigfish.cpp.o
[ 23%] Building CXX object CMakeFiles/env.dir/src/games/bossfight.cpp.o
[ 26%] Building CXX object CMakeFiles/env.dir/src/games/caveflyer.cpp.o
[ 30%] Building CXX object CMakeFiles/env.dir/src/entity.cpp.o
[ 33%] Building CXX object CMakeFiles/env.dir/src/games/dodgeball.cpp.o
clang-11clang-11: clang-11clang-11: : clang-11: : clang-11error: errorerrorerror: clang-11the clang compiler does not support '-march=native': : errorerrorclang-11the clang compiler does not support '-march=native': 
: 
clang-11the clang compiler does not support '-march=native': 
clang-11: : the clang compiler does not support '-march=native': the clang compiler does not support '-march=native'error: error
: the clang compiler does not support '-march=native'
error: the clang compiler does not support '-march=native'the clang compiler does not support '-march=native'
: the clang compiler does not support '-march=native'
error: the clang compiler does not support '-march=native'


make[2]: *** [CMakeFiles/env.dir/src/assetgen.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/env.dir/src/games/bigfish.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/basic-abstract-game.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/games/caveflyer.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/cpp-utils.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/games/bossfight.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/entity.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/games/dodgeball.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/game.cpp.o] Error 1
make[2]: *** [CMakeFiles/env.dir/src/game-registry.cpp.o] Error 1
make[1]: *** [CMakeFiles/env.dir/all] Error 2
make: *** [all] Error 2

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/siboehm/repos/procgen/procgen/env.py", line 246, in __init__
    super().__init__(num, env_name, options, **kwargs)
  File "/Users/siboehm/repos/procgen/procgen/env.py", line 96, in __init__
    lib_dir = build(debug=debug)
  File "/Users/siboehm/repos/procgen/procgen/builder.py", line 138, in build
    check(run(build_cmd), verbose=package)
  File "/Users/siboehm/repos/procgen/procgen/builder.py", line 47, in check
    raise RunFailure("failed to build procgen from source")
procgen.builder.RunFailure: failed to build procgen from source
@siboehm siboehm linked a pull request Nov 21, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant