Can not double click to open executable file when using Pylon Basler Camera SDK C++
-
wrote on 18 Mar 2022, 02:44 last edited by Iric
Actually, I build pylon (basler libary) from source and i have two location for this. One in ~/Download/pylon-5.0.12-SDK...../pylon5/lib64. This folder have exists when i donwload from their web site. The second in /opt/pylon5/lib64 . This folder appear when i install pylon in to my computer.
Addtion, i have use some libary:- TensorRT in ~/TensorRT/lib/
- OpenCV in /usr/local/lib/
-
Which desktop environment are you using ?
-
wrote on 21 Mar 2022, 10:35 last edited by
I use ubuntu 18.04 Desktop sir.
-
One way is to add .conf files in
/etc/ld.so.conf.d/
with the paths to your custom libraries. Then you have to call ldconfig as root. -
wrote on 23 Mar 2022, 02:26 last edited by
Thanks you very much ! I will try and noitice for you later.
-
One way is to add .conf files in
/etc/ld.so.conf.d/
with the paths to your custom libraries. Then you have to call ldconfig as root.wrote on 30 Mar 2022, 03:00 last edited by@SGaist Thanks you, last week i was verry busy. I already created .conf file in /etc/ld.so.conf.d/ and run ldconfig commanded as root. But i still can't open my app with double click. I have a question about file config. What should be name of the file? Any name i set or specifical name.
-
Can you show your conf file content ?
-
wrote on 31 Mar 2022, 03:02 last edited by
Sure, It here
# Config for My Application /opt/pylon5/lib64 /home/user/TensorRT-8.2.2.1/lib /usr/local/cuda/lib64 /home/user/opencv_build/opencv/build/lib
This is all of libary my app need to run
-
How did you name the file ?
-
wrote on 14 Apr 2022, 01:37 last edited by
Sorry for this delay,
I don't know what is the name i should be set for this file. I set the random name is myapp.conf -
Might be a silly question but does /etc/ld.so.conf load the content of the /etc/ld.so.conf.d folder ?
-
wrote on 28 Feb 2023, 09:01 last edited by
Hi, I have the same problem! Have you found any solution?