autonomous_exploration
autonomous_exploration copied to clipboard
Failed to compile incremental_DuDe_ROS
I'm trying to compile incremental_DuDe_ROS with ubuntu18.04 and I can't get pass this error
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(api_functions.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(compute.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(data.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(desperate.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(ear_clip.o): relocation R_X86_64_32 against symbol
numerics_h_p' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(elapsed.o): relocation R_X86_64_32 against symbol __gxx_personality_v0@@CXXABI_1.3' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(grid.o): relocation R_X86_64_32 against
.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(heap.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(io.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(list.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(memory.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(misc.o): relocation R_X86_64_32 against symbol __gxx_personality_v0@@CXXABI_1.3' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(numerics.o): relocation R_X86_64_32 against
.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(orientation.o): relocation R_X86_64_32 against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(quads.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(sgo.o): relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(simple.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(statistics.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(triangulate.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(vertex.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(write_ipe.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(bottleneck.o): relocation R_X86_64_32 against symbol numerics_h_p' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(bridge.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(clean_data.o): relocation R_X86_64_32 against symbol _Z6p_compPKvS0_' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(degenerate.o): relocation R_X86_64_32 against
.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(ipe_io.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../Third_Party/dude_final/FIST/libFIST.linux64.a(project.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: 最后的链结失败: 输出不可表示的节
collect2: error: ld returned 1 exit status
CMakeFiles/inc_dude.dir/build.make:770: recipe for target 'devel/lib/inc_dude/inc_dude' failed
make[2]: *** [devel/lib/inc_dude/inc_dude] Error 1
CMakeFiles/Makefile2:1672: recipe for target 'CMakeFiles/inc_dude.dir/all' failed
make[1]: *** [CMakeFiles/inc_dude.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
`
I've seen that incremental_DuDe_ROS is using FIST.lib directly from a compiled version in the third party