votchallenge / toolkit

The official VOT Challenge evaluation and analysis toolkit
http://www.votchallenge.net/
GNU General Public License v3.0
158 stars 46 forks source link

How to load LD_LIBRARY_PATH into the toolkit #9

Closed MasterBin-IIAU closed 4 years ago

MasterBin-IIAU commented 4 years ago

When integrating my tracker, I encounter the following problems ImportError: libnvinfer.so.7: cannot open shared object file: No such file or directory But I can run my tracker correctly without using the toolkit and I have already covered it in my ~/.bashrc file as below. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/masterbin-iiau/Downloads/Nvidia/TensorRT/TensorRT-7.0.0.11/lib So I want to ask "how to load LD_LIBARARY_PATH into the toolkit?" Thank you

lukacu commented 4 years ago

I think that this was answered on our forum already, closing. But just in case, you can use the "linkpaths" property to set a list of paths for libraries.

MasterBin-IIAU commented 4 years ago

@lukacu Thank you for your reply. Could you explain "linkpaths" in more detail? Do you mean env_PATH as shown below? Thank you

[NCCPython] label = PyNCC protocol = traxpython command = python_ncc paths = path-to-tracker-source-directory env_PATH = ;${PATH}