Closed maipbui closed 2 years ago
Hi @maipbui! You have two options to be able to compile libpointmatcher:
The reason is that the CMakeLists.txt file on the master branch of both libraries is not compatible with older version of the libraries.
Hi @maipbui! You have two options to be able to compile libpointmatcher:
- Use version 1.2.4, 1.3.0 or 1.3.1 of libpointmatcher and version 1.0.7 of libnabo, i.e. to check out their respective tag and build the libraries as follows.
- Use the latest changes of both libpointmatcher and libnabo, i.e. checkout their master branch and build the libraries as follows.
The reason is that the CMakeLists.txt file on the master branch of both libraries is not compatible with older version of the libraries.
Hi @aguenette, thanks for the reply. I installed libnabo version 1.0.7 and libpointmatcher 1.2.4 but it failed so what should I do now as your suggestions?
I'm also using Ubuntu 18.04 and I successfully builded libpointmatcher 1.2.4 using libnabo 1.0.7. So, what I suggest you to do is to start back from the beginning, i.e. uninstalling libnabo and removing the build directory, then redo the steps to build it and install it. Same thing for libpointmatcher, but only by removing the build directory.
I'm also using Ubuntu 18.04 and I successfully builded libpointmatcher 1.2.4 using libnabo 1.0.7. So, what I suggest you to do is to start back from the beginning, i.e. uninstalling libnabo and removing the build directory, then redo the steps to build it and install it. Same thing for libpointmatcher, but only by removing the build directory.
Got what you meant, I was able to compile it. Thank you very much!!!
Hello @aguenette,
Does package "libpointmatcher_ros" supported on Ubuntu 18.04, ROS Melodic? I tried to install other software but failed to compile because this below error message. I checked this documentation and see it is only release with fuerte, groovy, and hydro. Would it be possible to install "libpointmatcher_ros" on Ros Melodic and could you please show me how? Thanks for the help!
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"libpointmatcher_ros" with any of the following names:
libpointmatcher_rosConfig.cmake
libpointmatcher_ros-config.cmake
Add the installation prefix of "libpointmatcher_ros" to CMAKE_PREFIX_PATH
or set "libpointmatcher_ros_DIR" to a directory containing one of the above
files. If "libpointmatcher_ros" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
map_compression/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
Same problem. Trying solution now, but the solution offered is essentially "use an older version", which seems counter productive.
@Chick92 please give us more details about your version and from where you are fetching them? I think there are multiple version of "libpointmatcher_ros" floating around.
We are currently supporting that one: https://github.com/norlab-ulaval/libpointmatcher_ros
Hi @pomerlef, i've just managed to successfully build it using the master branches from libpointmatcher and libnabo. I had always assumed that the master branches would be the default ones pulled, apparently not.
Thanks!
I tried all three branches of libpointmatcher but failed to make it. Then I switched to master and succeed. I used libnabo 1.0.7.
@YibinWu open another issue and follow https://github.com/ethz-asl/libpointmatcher/blob/master/doc/CompilationUbuntu.md to include the basic information.
Hello,
I want to install libpointmatcher version 1.2.4 and followed the instructions but failed to compile. Could you please check the error message and help? Thank you. It happens same error when I tried on Ubuntu 16.04.
Ubuntu: 18.04 64-bit git version 2.17.1 cmake version 3.10.2 GCC version:
Boost version:
Version: 1.65.1.0ubuntu1
Eigen3:Version: 3.3.4-4
No doxygen is installed libnabo: install from sourceError message:
This is the message when I successfully installed libnabo