Skip to content

can't build from source #16

@min-hieu-netropy

Description

@min-hieu-netropy

Hi, I tried compiling the code from source but got the following error

lto-wrapper: warning: using serial compilation of 21 LTRANS jobs
/usr/bin/ld: /usr/local/lib/libabsl_log_internal_log_sink_set.a(log_sink_set.cc.o): relocation R_X86_64_TPOFF32 against `_ZZN4absl12lts_2024011612log_internal12_GLOBAL__N_121ThreadIsLoggingStatusEvE17thread_is_logging' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/madpose.dir/build.make:263: src/madpose.cpython-310-x86_64-linux-gnu.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: src/CMakeFiles/madpose.dir/all] Error 2

I have AMD Ryzen 7 7800X3D, RTX4090, CUDA12.4, ubuntu 22.04 x86_64. This happens at the very end during the linking stage so I'm not sure if this is due to the code or some dependences. I also have ceres 2.3 and colmap 3.12 and poselib 2.0.4 built from scratch and working fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions