<div dir="ltr">Hey guys,<div>It's me again. Sorry for the high traffic.</div><div><br></div><div>I released the openni_tracker and the source build works fine. However, when building the deb, orocos-kdl can't be found.</div>
<div><br></div><div><pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:11px">CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package orocos_kdl.

  Set orocos_kdl_DIR to the directory containing a CMake configuration file
  for orocos_kdl.  The file will have one of the following names:

    orocos_kdlConfig.cmake
    orocos_kdl-config.cmake

Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)</pre></div><div><br clear="all"><div>So, I started looking for the cause of this and found this seemingly related issue involving the geometry stack: <a href="https://github.com/ros/geometry/issues/11">https://github.com/ros/geometry/issues/11</a>. The respective fix treats orocos-kdl as a plain Cmake package instead of a catkin package. Unfortunately, when applying this patch to the openni_tracker, my local source build can't find the orocos-kdl library it tries to link to:<br>
</div><div><br></div><div><div>Linking CXX executable /opt/sandbox_workspace/devel/lib/openni_tracker/openni_tracker</div><div>/usr/bin/ld: cannot find -lorocos-kdl</div><div>collect2: ld returned 1 exit status</div><div>
make[2]: *** [/opt/sandbox_workspace/devel/lib/openni_tracker/openni_tracker] Error 1</div></div><div><br></div><div>Again I started off to find hints for the cause of this. I took a look at orocos_kdl-config.cmake and even the package config file, but nothing seems suspicious to me. However, I must say that I don't have lots of CMake experience. So this is harder for me than Korean. 0o</div>
<div><br></div><div>One thing I noticed though is that the CMake log output about orocos-kdl doesn't show any linker flags:</div><div><br></div><div><div>Looking for KDL in: /opt/ros/hydro</div><div>-- checking for one of the modules 'orocos_kdl'</div>
<div>   Includes in: /opt/ros/hydro/include;/usr/include/eigen3</div><div>Compiler flags: -I/opt/ros/hydro/include;-I/usr/include/eigen3</div><div>   Libraries: orocos-kdl</div><div>   Libraries in: /opt/ros/hydro/lib</div>
<div>   Linker flags : </div><div>   Defines: </div></div><div><br></div><div>I will keep looking further into this. But any hints, tips and help is highly appreciated!</div><div><br></div><div>Thanks for reading,</div><div>
Marcus</div><div><br></div><div><br></div><div>-- <br></div><font size="1">Marcus Liebhardt <br>Control Engineer<br>Yujin Robot<font size="1"><br></font></font><font size="1"><span lang="ko">ÁÖ¼Ò</span></font><font size="1">: </font><font size="1"><span lang="ko-Hang">´ëÇѹα¹ </span></font><font size="1">¼­¿ï½Ã ±Ýõ±¸ °¡»êµ¿ 345-30 ³²¼ºÇÁ¶óÀÚ #601, 153-023.<br>
</font><font size="1">Address: Door </font><font size="1">#601, Namsung-Plaza, 345-30 Gasan-dong, Guemcheon-gu, Seoul, 153-023, Republic of Korea<br>Website: <a href="http://www.yujinrobot.com/" style="color:rgb(0,0,0)" target="_blank">http://www.yujinrobot.com</a><br>
Email: <a href="mailto:marcus.liebhardt@yujinrobot.com" style="color:rgb(0,0,0)" target="_blank">marcus.liebhardt@yujinrobot.com</a><br>Phone: +82-70-46577073</font>
</div></div>