LibPCL.jl
LibPCL
โ Module.A special package that manages PCL binary depedencies
Pkg.build("LibPCL")
try to search your system PCL libraries and its dependencies, and throws errors if any issues. If PCL librarires are not found, it will install fresh PCL libraries into deps
directrory, but not recommended unless if you have perfect requiremsnts to build PCL, since it's a little hard to build.
Index
Reference
LibPCL.find_library_e
โ Function.find_library_e(mod, libdirs)
find_library_e(mod)
find_library_e(mod, libdirs, ext)
It tries to search the specified library by name. Not exported, but meant to be used by other PCL packages.
Parameters
mod
: Module namelibdirs
: library seach directries (default is dir oflibpclcommon
)ext
: library extention name (e.g..so
)
Retures
libpath
: library path if found, othrewise returnC_NULL
Examples
From the PCLVisualization package,
const libpcl_visualization = LibPCL.find_library_e("libpcl_visualization")
try
Libdl.dlopen(libpcl_visualization, Libdl.RTLD_GLOBAL)
catch e
warn("You might need to set DYLD_LIBRARY_PATH to load dependencies proeprty.")
rethrow(e)
end