I am interested in the loadRI() search PATH for its libs when i just input the name of the lib(which is "The name can either be an absolute file name or just the name of the library (without suffix or “lib” prefix) in which case the function tries to find the library file itself" in cgkit DOC2.0,can anyone tell me?
grateful for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First, it lets ctypes search for the libraries in its standard locations depending on the operating system. If ctypes couldn't find the library, the loadRI() function tries to find out what renderer is being used (based on the lib name) and then looks for renderer-specific environment variables like AQSISHOME, PIXIEHOME, DELIGHT and RMANTREE to locate the renderer's installation directory. On Linux, it also checks the paths set via LD_LIBRARY_PATH.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-09-25
Thanks for your help, mbaas.
BTW,cgkit is really really wonderful !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am interested in the loadRI() search PATH for its libs when i just input the name of the lib(which is "The name can either be an absolute file name or just the name of the library (without suffix or “lib” prefix) in which case the function tries to find the library file itself" in cgkit DOC2.0,can anyone tell me?
grateful for any help.
First, it lets ctypes search for the libraries in its standard locations depending on the operating system. If ctypes couldn't find the library, the loadRI() function tries to find out what renderer is being used (based on the lib name) and then looks for renderer-specific environment variables like AQSISHOME, PIXIEHOME, DELIGHT and RMANTREE to locate the renderer's installation directory. On Linux, it also checks the paths set via LD_LIBRARY_PATH.
Thanks for your help, mbaas.
BTW,cgkit is really really wonderful !