Skip to content

Commit 11eec73

Browse files
committed
update cmakelist
1 parent 1181137 commit 11eec73

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ The folloing works use MapEval for map evalution.
250250
| [**MS-Mapping**](https://github.com/JokerJohn/MS-Mapping) | Multi-session LiDAR mapping | Arxiv'2024 | AC/CD/MME | ![image-20240730152951528](./README/image-20240730152951528.png) |
251251
| [**FusionPortableV2**](https://journals.sagepub.com/doi/full/10.1177/02783649241303525) | SLAM Dataset | IJRR'2024 | COM/CD | ![img](./README/10.1177_02783649241303525-fig15.jpg) |
252252

253+
254+
255+
256+
253257
## Contributors
254258

255259
<a href="https://github.com/JokerJohn/Cloud_Map_Evaluation/graphs/contributors">

map_eval/CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ find_package(OpenMP REQUIRED)
1313
find_package(PCL REQUIRED)
1414
find_package(yaml-cpp REQUIRED)
1515

16+
message(STATUS "yaml-cpp library: ${YAML_CPP_LIBRARY}")
17+
message(STATUS "yaml-cpp include: ${YAML_CPP_INCLUDE_DIR}")
18+
# 打印信息用于调试
19+
message(STATUS "Open3D include dirs: ${Open3D_INCLUDE_DIRS}")
20+
message(STATUS "Open3D libraries: ${Open3D_LIBRARIES}")
21+
message(STATUS "Eigen3 include dir: ${EIGEN3_INCLUDE_DIR}")
22+
23+
1624
include_directories(
1725
include
1826
${Open3D_INCLUDE_DIRS}
@@ -22,7 +30,9 @@ include_directories(
2230
)
2331

2432
add_executable(map_eval src/map_eval.cpp src/map_eval_main.cpp src/voxel_calculator.cpp)
25-
target_link_libraries(map_eval ${Open3D_LIBRARIES} ${PCL_LIBRARIES} ${YAML_CPP_LIBRARIES})
33+
target_link_libraries(map_eval ${Open3D_LIBRARIES} ${PCL_LIBRARIES} ${YAML_CPP_LIBRARY})
34+
35+
2636

2737
# If OpenMP is found, add the flags for OpenMP
2838
if(OpenMP_CXX_FOUND)

0 commit comments

Comments
 (0)