UPenn-RoboCup / UPennalizers

Open Source Repository for Team UPennalizers
GNU General Public License v3.0
69 stars 38 forks source link

unix.so dependency outside of Player #6

Closed jbrindza closed 12 years ago

jbrindza commented 12 years ago

There needs to be a standard way for Lua to find the unix.so library (and others libraries) outside of Player directory. e.g. when running webots. It has been handled with links and with just copying the libraries into the WebotsController directory in the past.

It either needs to be standardized and made clear how it should be done or figure out a way of making sure Player/Lib can be found without needing unix.so first.

EDIT: I think os.getenv('PWD') should be enough. I know I tried this at some point in the past but I can't remember why I decided against it.

yida commented 12 years ago

tested on nao, op, webots