Ask Your Question

Revision history [back]

First you need it qwt as dependency in your package.xml(this is only needed if you want to "release" them)

<run_depend> and <build_depend>

You can find the packages available for that here: https://github.com/ros/rosdistro/blob/master/rosdep/base.yaml

Example:

libqwt5-qt4-dev: <--- thats you need to enter inside the tags if you want this library
  arch: [qwt5]
  debian:
    apt:
      packages: [libqwt5-qt4-dev]
  fedora: [qwt-devel]
  gentoo:
portage:

If it is not there and you want to release, you have to add it by forking and sending a pull request to the repository (still only if you want to release it as package)

In your CMakeLists.txt:

find_library(LIBQWT libqwt-xxx.so <searchpath list(optional)&gt;)="" #libqwt="" is="" a="" string="" you="" define="" as="" macro="" for="" that="" library<="" p="">

target_link_libraries(your_exe_name ${LIBQWT} ${catkin_LIBRARIES} )

That should be it, I guess ...

First you need it qwt as dependency in your package.xml(this is only needed if you want to "release" them)

<run_depend> and <build_depend>

You can find the packages available for that here: https://github.com/ros/rosdistro/blob/master/rosdep/base.yaml

Example:

libqwt5-qt4-dev: <--- thats you need to enter inside the tags if you want this library
  arch: [qwt5]
  debian:
    apt:
      packages: [libqwt5-qt4-dev]
  fedora: [qwt-devel]
  gentoo:
portage:

If it is not there and you want to release, you have to add it by forking and sending a pull request to the repository (still only if you want to release it as package)

In your CMakeLists.txt:

find_library(LIBQWT libqwt-xxx.so <searchpath list(optional)&gt;)="" #libqwt="" is="" a="" string="" you="" define="" as="" macro="" for="" that="" library<="" p="">
list(optional)>) #LIBQWT is a string you define as macro for that library
 

target_link_libraries(your_exe_name ${LIBQWT} ${catkin_LIBRARIES} )

)

That should be it, I guess ...

First you need it qwt as dependency in your package.xml(this is only needed if you want to "release" them)

<run_depend> and <build_depend>

You can find the packages available for that here: https://github.com/ros/rosdistro/blob/master/rosdep/base.yaml

Example:

libqwt5-qt4-dev: <--- thats that you need to enter inside the tags if you want this library
  arch: [qwt5]
  debian:
    apt:
      packages: [libqwt5-qt4-dev]
  fedora: [qwt-devel]
  gentoo:
portage:

If it is not there and you want to release, you have to add it by forking and sending a pull request to the repository (still only if you want to release it as package)

In your CMakeLists.txt:

find_library(LIBQWT libqwt-xxx.so <searchpath list(optional)>) #LIBQWT is a string you define as macro for that library

target_link_libraries(your_exe_name
   ${LIBQWT}
   ${catkin_LIBRARIES}
)

That should be it, I guess ...