Skip to content

Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1  #6

@fadedreams

Description

@fadedreams

HI,
I am trying to install ale_python_interface on Ubuntu 14.04 LTS
I have edited ~./bashrc as follows

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/m/Arcade-Learning-Environment/
export LIBRARY_PATH=$LIBRARY_PATH:/home/m/Arcade-Learning-Environment/
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/home/m/Arcade-Learning-Environment/src/

but when I execute "python setup.py build "I get the following error:

m@ubuntu:/ale_python_interface$ python setup.py build
running build
running build_py
running build_ext
building 'ale_python_interface.ale_c_wrapper' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ale_python_interface/ale_c_wrapper.cpp -o build/temp.linux-x86_64-2.7/ale_python_interface/ale_c_wrapper.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from ale_python_interface/ale_c_wrapper.cpp:2:0:
ale_python_interface/ale_c_wrapper.h:4:29: fatal error: ale_interface.hpp: No such file or directory
#include <ale_interface.hpp>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
m@ubuntu:
/ale_python_interface$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions