Skip to content

Commit

Permalink
Rely on LD_LIBRARY_PATH to find ROS2 libs
Browse files Browse the repository at this point in the history
  • Loading branch information
nstiurca committed Jul 13, 2018
1 parent c339c10 commit f023a71
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/internal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ const RCUTILS_WARN_UNUSED = nothing


# dynamically load the ROS2 libraries
include("find_ros2.jl")
const locations = [ROS_LIB_PATH]

const librmw = find_library(["librmw.$dlext"], locations)
const librcl = find_library(["librcl.$dlext"], locations)
const librcutils = find_library(["librcutils.$dlext"], locations)
const librmw = find_library(["librmw.$dlext"])
const librcl = find_library(["librcl.$dlext"])
const librcutils = find_library(["librcutils.$dlext"])

# const librmw = dlopen(librmw_path)
# const librcutils = dlopen(librcutils_path)
Expand Down

0 comments on commit f023a71

Please sign in to comment.