You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for sharing, I am trying to build Leg-Kilo, however I encountered this issue:
Errors /usr/bin/ld: CMakeFiles/legkilo_mapOptmization.dir/src/mapOptmization_node.cpp.o:(.data.rel.ro._ZTVN5gtsam17NoiseModelFactorNIJNS_5Pose3ES1_EEE[_ZTVN5gtsam17NoiseModelFactorNIJNS_5Pose3ES1_EEE]+0x20): undefined reference to `gtsam::NonlinearFactor::error(gtsam::HybridValues const&) const'
/usr/bin/ld: CMakeFiles/legkilo_mapOptmization.dir/src/mapOptmization_node.cpp.o:(.data.rel.ro._ZTVN5gtsam13BetweenFactorINS_5Pose3EEE[_ZTVN5gtsam13BetweenFactorINS_5Pose3EEE]+0x20): undefined reference to `gtsam::NonlinearFactor::error(gtsam::HybridValues const&) const'
/usr/bin/ld: CMakeFiles/legkilo_mapOptmization.dir/src/mapOptmization_node.cpp.o:(.data.rel.ro._ZTVN5gtsam17NoiseModelFactorNIJNS_5Pose3EEEE[_ZTVN5gtsam17NoiseModelFactorNIJNS_5Pose3EEEE]+0x20): undefined reference to `gtsam::NonlinearFactor::error(gtsam::HybridValues const&) const'
/usr/bin/ld: CMakeFiles/legkilo_mapOptmization.dir/src/mapOptmization_node.cpp.o:(.data.rel.ro._ZTVN5gtsam11PriorFactorINS_5Pose3EEE[_ZTVN5gtsam11PriorFactorINS_5Pose3EEE]+0x20): undefined reference to `gtsam::NonlinearFactor::error(gtsam::HybridValues const&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/legkilo_mapOptmization.dir/build.make:501: /home/user/Leg-KILO/devel/.private/legkilo/lib/legkilo/legkilo_mapOptmization] Error 1
make[1]: *** [CMakeFiles/Makefile2:2594: CMakeFiles/legkilo_mapOptmization.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
I would like to note, that I have installed gtsam exactly as recommended in the README, and I got this at the end of the installation:
sudo apt install libgtsam-dev libgtsam-unstable-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtsam-dev is already the newest version (4.0.3-1ubuntu1).
libgtsam-unstable-dev is already the newest version (4.0.3-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 274 not upgraded.
You guidance is highly appreciated
The text was updated successfully, but these errors were encountered:
Thank you very much for your attention. legkilo's compilation environment is basically the same as liosam, and gtsam is the main cause of compilation errors. You can refer to the liosam issue. The most direct way is to delete the original Gtsam in the system file and recompile it, or download the gtsam source code and recompile it yourself. At present, I am busy looking for a job and have no time to manage the project. In the future, I plan to rewrite and optimize the algorithm to reduce the compilation problems. Thanks again for your attention.
Thank you for sharing, I am trying to build Leg-Kilo, however I encountered this issue:
I would like to note, that I have installed
gtsam
exactly as recommended in theREADME
, and I got this at the end of the installation:You guidance is highly appreciated
The text was updated successfully, but these errors were encountered: