So our team is trying to use the LabVIEW vision code that our LabVIEW team created, to run alongside our Java code. The problem is, is that when I start the LabVIEW runtime at “/usr/local/natinst/labview/lvrt” on the RoboRIO, this error pops up:
Can't find library liblvrt.so.15.0
Make sure this library is installed in your LD_LIBRARY_PATH
search path, or in /usr/lib
Now we tried adding the environment variable “LD_LIBRARY_PATH” on the roboRIO to point to liblvrt.so.15.0, but that didn’t work. After, we copied liblvrt.so.15.0 to /usr/lib from /usr/local/natinst/labview/, our code did not seem to run upon startup without us manually running frcRunRobot.sh. But after running our code, what’s strange is that there was an error for “CPUInformation.cpp” at line 405. Has anyone else here tried this at all? If so, did you come across these errors and how did you get across them?
After some more experimentation, it seems like when you copy liblvrt.so.15.0, the script that continuously runs frcRunRobot.sh gets hung somewhere and stops running until the file is deleted. Also adding the environment variable LD_LIBRARY_PATH to .bashrc (in /home/lvuser) and having it point to liblvrt.so.15.0’s directory doesn’t work.
This thread is also in the Java forum too, I just cross posted it to make sure I got both sides of the discussion.