norlab-ulaval / libpointmatcher

An Iterative Closest Point (ICP) library for 2D and 3D mapping in Robotics
BSD 3-Clause "New" or "Revised" License
1.58k stars 542 forks source link

An error occurring during compilation #462

Closed Wangxz195 closed 3 years ago

Wangxz195 commented 3 years ago

Scanning dependencies of target icp_customized [ 81%] Linking CXX executable list_modules [ 81%] Building CXX object examples/CMakeFiles/icp_customized.dir/icp_customized.cpp.o [ 82%] Linking CXX executable icp_customized collect2: error: ld returned 1 exit status make[2]: [examples/CMakeFiles/list_modules.dir/build.make:94: examples/list_modules] Error 1 make[1]: [CMakeFiles/Makefile2:469: examples/CMakeFiles/list_modules.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[2]: [examples/CMakeFiles/icp_customized.dir/build.make:94: examples/icp_customized] Error 1 make[1]: [CMakeFiles/Makefile2:496: examples/CMakeFiles/icp_customized.dir/all] Error 2 make: [Makefile:141: all] Error 2

Above is the error message, thank you very much for anyone can help me solve the problem.

aguenette commented 3 years ago

Hi @Wangxz195, I will need more information to be able to help you.

If your are on Ubuntu, you can go here and give me the output of the script.

If you are on macos , go here and give me the output of the different commands.

Finally, you can rerun the make command with this argument: VERBOSE=1 and give me the output.

Thanks!

Wangxz195 commented 3 years ago

@aguenette Thank you very much for your in-time reply, I am sorry that I did not record the log. Also I was told that libpointermatcher is not a necessary dependency in my case, so I did not do further attemption. Thank you again for your efforts, and I will close this issue.

Best regards,