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

Installation on ubuntu 18.04 #26

Open
hari-sikchi opened this issue May 9, 2019 · 2 comments
Open

Installation on ubuntu 18.04 #26

hari-sikchi opened this issue May 9, 2019 · 2 comments

Comments

@hari-sikchi
Copy link

hari-sikchi commented May 9, 2019

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?

@rudrasohan
Copy link
Member

rudrasohan commented May 9, 2019

@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

@VictorySpecificationII
Copy link

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?

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

No branches or pull requests

3 participants