flexible-collision-library / fcl

Flexible Collision Library
https://flexible-collision-library.github.io/
Other
1.35k stars 415 forks source link

ERROR: build/fcl/test/geometry/shape/test_box: symbol lookup error #605

Open LYCICI1990 opened 10 months ago

LYCICI1990 commented 10 months ago

I want to intergrate some other planners which dependence the fcl to the ros2 and moveIt2 , so I clone it to my workspace. During building the fcl, some puzzled error ocurr. See my terminal output below:

-- stderr: fcl                                                 
/home/xxx/ws_moveit2/build/fcl/test/geometry/shape/test_box: symbol lookup error: /home/xxx/ws_moveit2/build/fcl/test/geometry/shape/test_box: undefined symbol: _ZNK3fcl3BoxIdE14representationB5cxx11Ei
CMake Error at /usr/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:83 (message):
  Error running test executable.

    Path: '/home/xxx/ws_moveit2/build/fcl/test/geometry/shape/test_box'
    Result: 127
    Output:

Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/GoogleTestAddTests.cmake:179 (gtest_discover_tests_impl)

gmake[2]: *** [test/geometry/shape/CMakeFiles/test_box.dir/build.make:106: test/geometry/shape/test_box] Error 1
gmake[2]: *** Deleting file 'test/geometry/shape/test_box'
gmake[1]: *** [CMakeFiles/Makefile2:2178: test/geometry/shape/CMakeFiles/test_box.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< fcl [51.2s, exited with code 2]

Does anyone ever meet the same question before?How can i fix it and proceed? Thank you in advance!

zzy5510 commented 8 months ago

Maybe you have installed another fcl library in your system path?