apriltags
apriltags copied to clipboard
Exclude the github download
May I know how to exclude the github download in the CMakeList.txt file? I would like to build the code without the Internet.
This latest version of the code should not require a download during build. Instead, it requires checking out two repositories into your catkin workspace, apriltags and apriltags-cpp.
This was changed in https://github.com/personalrobotics/apriltags/pull/25.
https://github.com/personalrobotics/apriltags https://github.com/personalrobotics/apriltags-cpp
2 questions:
- I clone apriltags and it shows
Could not find a package configuration file provided by "apriltagscpp" with any of the following names: apriltagscppConfig.cmake apriltagscpp-config.cmake Add the installation prefix of "apriltagscpp" to CMAKE_PREFIX_PATH or set "apriltagscpp_DIR" to a directory containing one of the above files. If "apriltagscpp" provides a separate development package or SDK, be sure it has been installed.
- I clone apriltags-cpp and it shows
This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead.
The second error message is correct. apriltagscpp is a standard CMake (i.e. non-Catkin) package. catkin_make only supports building a homogeneous workspace (i.e. only Catkin packages), so it not possible to build a a mixture of Catkin and non-Catkin packages.
You need to build to workspace with catkin build or catkin_make_isolated, which do support non-homogeneous workspaces. I recommend catkin build because it supports building multiple packages in parallel.
Alternatively, you can use cmake to manually install apriltagscpp into a directory of your choice and add that directory to CMAKE_PREFIX_PATH before building apriltags.
2 questions:
- I clone apriltags and it shows
Could not find a package configuration file provided by "apriltagscpp" with any of the following names: apriltagscppConfig.cmake apriltagscpp-config.cmake Add the installation prefix of "apriltagscpp" to CMAKE_PREFIX_PATH or set "apriltagscpp_DIR" to a directory containing one of the above files. If "apriltagscpp" provides a separate development package or SDK, be sure it has been installed.
I have the same problem. Is there another package needed called apriltagscpp (not apriltags-cpp)?