MADRaS icon indicating copy to clipboard operation
MADRaS copied to clipboard

Installation on ubuntu 18.04

Open hari-sikchi opened this issue 5 years ago • 2 comments

Some things are missing in readme, so pointing out for convenience to other people:

  1. Install freeglut
  2. 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 avatar May 09 '19 13:05 hari-sikchi

@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

rudrasohan avatar May 09 '19 20:05 rudrasohan

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?

VictorySpecificationII avatar Nov 03 '19 23:11 VictorySpecificationII