sniekum / dmp

This ROS package is a general, robot-agnostic implementation of dynamic movement primitives (DMPs).
www.ros.org/wiki/dmp
93 stars 74 forks source link

neither catkin_make nor rosbuild work #2

Open rachelboy opened 9 years ago

rachelboy commented 9 years ago

It looks like you moved this to catkin recently, but when I try to build it with catkin on my machine, I get the following error: ... [ 98%] Built target dmp [100%] Building CXX object dmp/CMakeFiles/dmp_server.dir/nodes/dmp_server.cpp.o Linking CXX executable /home/rboy/catkin_ws/devel/lib/dmp/dmp_server /home/rboy/catkin_ws/devel/lib/libdmp.so: undefined reference to dmp::LinearApprox::LinearApprox()' /home/rboy/catkin_ws/devel/lib/libdmp.so: undefined reference todmp::LinearApprox::LinearApprox(std::vector<double, std::allocator >, std::vector<double, std::allocator >)' collect2: ld returned 1 exit status make[2]: * [/home/rboy/catkin_ws/devel/lib/dmp/dmp_server] Error 1 make[1]: * [dmp/CMakeFiles/dmp_server.dir/all] Error 2 make: *\ [all] Error 2 Invoking "make" failed

(I ended up rolling back to before you catkinized it and usign rosbuild)

sniekum commented 9 years ago

Hm, someone else Catkinized it, but it looks like they did it to a branch before I added in linear approximation. I just accepted their pull request and merged the changes, but it looks like it will take a little more. Thanks for the heads up.

--Scott

On Fri, Dec 5, 2014 at 2:23 PM, rachelboy notifications@github.com wrote:

It looks like you moved this to catkin recently, but when I try to build it with catkin on my machine, I get the following error: ... [ 98%] Built target dmp [100%] Building CXX object dmp/CMakeFiles/dmp_server.dir/nodes/dmp_server.cpp.o Linking CXX executable /home/rboy/catkin_ws/devel/lib/dmp/dmp_server /home/rboy/catkin_ws/devel/lib/libdmp.so: undefined reference to dmp::LinearApprox::LinearApprox()' /home/rboy/catkin_ws/devel/lib/libdmp.so: undefined reference todmp::LinearApprox::LinearApprox(std::vector

, std::vector >)' collect2: ld returned 1 exit status make[2]: * [/home/rboy/catkin_ws/devel/lib/dmp/dmp_server] Error 1 make[1]: * [dmp/CMakeFiles/dmp_server.dir/all] Error 2 make: *\ [all] Error 2 Invoking "make" failed

(I ended up rolling back to before you catkinized it and usign rosbuild)

— Reply to this email directly or view it on GitHub https://github.com/sniekum/dmp/issues/2.

sniekum commented 9 years ago

I just pushed what I think is a quick fix. I don;t have an environment I can test in at the moment, but if you get a chance, check to see if it works.

On Fri, Dec 5, 2014 at 2:39 PM, Scott Niekum sniekum@gmail.com wrote:

Hm, someone else Catkinized it, but it looks like they did it to a branch before I added in linear approximation. I just accepted their pull request and merged the changes, but it looks like it will take a little more. Thanks for the heads up.

--Scott

On Fri, Dec 5, 2014 at 2:23 PM, rachelboy notifications@github.com wrote:

It looks like you moved this to catkin recently, but when I try to build it with catkin on my machine, I get the following error: ... [ 98%] Built target dmp [100%] Building CXX object dmp/CMakeFiles/dmp_server.dir/nodes/dmp_server.cpp.o Linking CXX executable /home/rboy/catkin_ws/devel/lib/dmp/dmp_server /home/rboy/catkin_ws/devel/lib/libdmp.so: undefined reference to dmp::LinearApprox::LinearApprox()' /home/rboy/catkin_ws/devel/lib/libdmp.so: undefined reference todmp::LinearApprox::LinearApprox(std::vector

, std::vector >)' collect2: ld returned 1 exit status make[2]: * [/home/rboy/catkin_ws/devel/lib/dmp/dmp_server] Error 1 make[1]: * [dmp/CMakeFiles/dmp_server.dir/all] Error 2 make: *\ [all] Error 2 Invoking "make" failed

(I ended up rolling back to before you catkinized it and usign rosbuild)

— Reply to this email directly or view it on GitHub https://github.com/sniekum/dmp/issues/2.