Why Qt Creator gives "No absolute path for library" Error for a known library?
-
Hi and welcome to devnet,
After updating bashrc, did you source it ? Or logged out and in again ?
-
Hi SGaist
Thanks for your response. yes I logged out and rebooted the operating system so many times but nothing happened. this project could be run in Ubuntu terminal so it confirms that bashrc is okay.
-
try LIBS+=-L$$LOCATION_YOUR_LIB -lNameOfYourLib
link: http://qt-project.org/doc/qt-4.8/qmake-project-files.html#declaring-other-libraries -
Dear ningen I've done this and as I told you earlier the project compile successfully so it shows all the libraries are loaded.
My .pro file contains all the header and shared library information about my camera. -
are you trying rm *.pro.user?
-
yes I tried that too .. :((
I think there might be an internal problem with the camera library !!
Since I've never seen something like that before !
but I don't know why it could be run in the Ubuntu terminal
-
Did you check the environment variables in the Run part of the Project panel ?
-
yes, the LD_LIBRARY_PATH is exactly the same as the value I've set in the bashrc file.
Is there any need to add other environment variables which I've set in the bashrc to the evironment variables of the Run part ?
because the first error is not concern with the unknown environment variables !
-
Do you have GENICAM_ROOT_V2_3 and friends in the list of known variables ?
IIRC, pylon needs them to work correctly
-
@Par3a were you able to solve the problem? I have a similar issue.
-
@Pal_ani
Hi and welcome to the forums
The poster has not been online since 2015 so its not likely he will answer.
So if you get no answers, you should open a new ticket with information and
error messages about your "similar issue."