start-jsk / rtmros_common

OpenRTM - ROS interoperability packages
http://wiki.ros.org/rtmros_common
12 stars 52 forks source link

Directory structure when built by catkin #186

Closed k-okada closed 10 years ago

k-okada commented 10 years ago

From kei.ok...@gmail.com on August 31, 2013 18:20:19

rosbuild では,,,

    openrtm_aist/bin
    openrtm_aist/include/{coil-1.1,openrtm-1.1}
    openrmt_aiat/lib/{libRTC.a,libcoil.a}
    openrmt_aiat/lib/openrtm-1.1/{cmake,ec,py_helper,sdo}
    openrtm_aist/share/openrtm-1.1/{doc,example}

    openhrp3/bin
    openhrp3/include/OpenHRP-3.1
    openhrp3/lib/*.so
    openhrp3/share/OpenHRP-3.1/{customizer,idl,sample}

    hrpsys/bin
    hrpsys/include/hrpsys/{idl,io,util}
    hrpsys/lib/*.so
    hrpsys/share/hrpsys/{idl,samples}

catkinでは以下の様にしてあるつもりです.説明が不十分あるいは,実態と違うというのがあれば教えて下さい.

    - prefix : {devel,install}
    - pkg_dir : [prefix]/share/[package]

    - bin/ files go under [prefix]/lib/[package]/ so that rosrun works,
      (openrtm_aist/bin goes under lib/[package]/bin/ so that
      [pkg_prefix]/bin/rtm-config works)
    - include directory goes under include so that [pkgdir]/include works
    - lib directory goes under [pkg_refix]/lib
      ( hrpsys plugin libs goes under [pkg_dir]/lib so that `rospack
    find [package]`/lib works)
     - share files go under [pkgdir]/ so that
     `rospack find [package]`/share works)

    (openrtm_aist, openhrp3 is compiled with INSTALL_DIR=)
    devel/
      include/{coil-1.1,openrtm-1.1,OpenHRP-3.1,hrpsys/{idl,io,util}}
      lib/{libRTC.a,libcoil.a}
      lib/openrtm-1.1/{cmake,ec,py_helper,sdo}
      (rospack [package] goes to share/[package])

    (roscd goes to share/[package])
      share/openrtm_aist/share/openrtm-1.1/{doc,example}
      share/openhrp3/share/OpenHRP-3.1
      share/hrpsys/share/hrpsys/{idl,sample}...
      share/hrpsys/lib/*.so (plugins goes here)

     (rosrun invoke program under lib/[package])
     lib/openrtm_aist/bin/
     lib/openhrp3/
     lib/hrpsys/

Original issue: http://code.google.com/p/rtm-ros-robotics/issues/detail?id=188

k-okada commented 10 years ago

From kei.ok...@gmail.com on January 30, 2014 03:05:45

Status: Fixed