MADRaS
MADRaS copied to clipboard
Installation on ubuntu 18.04
Some things are missing in readme, so pointing out for convenience to other people:
- Install freeglut
- Install plib in the following manner:
# export CFLAGS="-fPIC"
# export CPPFLAGS=$CFLAGS
# export CXXFLAGS=$CFLAGS
# ./configure
# make
# make install
Also the tensorflow specified in setup.py is a cpu-version right?
@hari-sikchi thanks for pointing it out. Will add this to the readme soon.
Also the tensorflow specified in setup.py is a cpu-version right?
Yes it's the cpu one
Still doesn't work. I don't know why. I have freeglut. I have all the dependencies. I set the flags.
/usr/bin/ld: /usr/lib/libplibjs.a(js.o): relocation R_X86_64_PC32 against symbol `_ZNK10jsJoystick10fudge_axisEfi' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value
THis suggests that the fPIC flag hasn't been set. Any advice?