Open wookayin opened 6 years ago
A note: it should be https://github.com/fps7806/atari-py.git. There is an instruction at https://github.com/uber-research/ape-x/tree/master/gym_tensorflow/atari.
In my machine, the library file built in ale_interface was libale_c.so
, not libale.so
. So I renamed it as a work-around; what happens in your environment?
In Makefile:
LDFLAGS += -lale
Original error message:
/usr/bin/ld: cannot find -lale
collect2: error: ld returned 1 exit status
make: *** [gym_tensorflow.so] Error 1
Did you follow the other instructions on the README (https://github.com/uber-research/ape-x/tree/master/gym_tensorflow/atari)? One of them disables the build of the libale_c.so and enables libale.so instead.
Thanks for your help. -D_GLIBCXX_USE_CXX11_ABI=0
did the trick.
Just out of curiosity, why don't you apply these patches on CMakefile on the forked atari-py
repo directly?
No good reason, I'll add that to the todos
During
make
insideape-x/gym_tensorflow
, we get the following error.The ALE header file seems to be like this or this, but it requires additional steps for installation. README should mention this.
Makefile reads:
Therefore a simple solution is to have
atari-py
directory cloned (which is gitignored) insidegym_tensorflow
, and build (make
) it first. Doing this additional procedure made build successful.