Open jackchinor opened 1 year ago
Sorry for the late reply. The error /usr/bin/ld: /usr/local/share/colmap/../../lib/colmap/libpba.a(pba_generated_ProgramCU.cu.o): relocation R_X86_64_PC32 against symbol "_ZN3pba20jte_point_vec_kernelILi2ELi2EEEviiPf" can not be used when making a shared object; recompile with -fPIC
hints that pba in COLMAP was not compiled with the -fPIC flag. I suggest rebuilding COLMAP with -fPIC.
Sorry for the late reply. The error
/usr/bin/ld: /usr/local/share/colmap/../../lib/colmap/libpba.a(pba_generated_ProgramCU.cu.o): relocation R_X86_64_PC32 against symbol "_ZN3pba20jte_point_vec_kernelILi2ELi2EEEviiPf" can not be used when making a shared object; recompile with -fPIC
hints that pba in COLMAP was not compiled with the -fPIC flag. I suggest rebuilding COLMAP with -fPIC.
sorry for late reply. I have tried rebuilding colmap with -fPIC, it doesn't work. any other tips? thanks
pip install -e . Obtaining file:///home/goodix/qxg/groundtruth/pixsfm/pixel-perfect-sfm Preparing metadata (setup.py) ... done Installing collected packages: pixsfm Running setup.py develop for pixsfm error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully. │ exit code: 1 ╰─> [124 lines of output] running develop running egg_info writing pixsfm.egg-info/PKG-INFO writing dependency_links to pixsfm.egg-info/dependency_links.txt writing top-level names to pixsfm.egg-info/top_level.txt reading manifest file 'pixsfm.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pixsfm.egg-info/SOURCES.txt' running build_ext -- A library with BLAS API found. -- Found AMD headers in: /usr/include/suitesparse -- Found AMD library: /usr/lib/x86_64-linux-gnu/libamd.so -- Found CAMD headers in: /usr/include/suitesparse -- Found CAMD library: /usr/lib/x86_64-linux-gnu/libcamd.so -- Found CCOLAMD headers in: /usr/include/suitesparse -- Found CCOLAMD library: /usr/lib/x86_64-linux-gnu/libccolamd.so -- Found CHOLMOD headers in: /usr/include/suitesparse -- Found CHOLMOD library: /usr/lib/x86_64-linux-gnu/libcholmod.so -- Found COLAMD headers in: /usr/include/suitesparse -- Found COLAMD library: /usr/lib/x86_64-linux-gnu/libcolamd.so -- Found SPQR headers in: /usr/include/suitesparse -- Found SPQR library: /usr/lib/x86_64-linux-gnu/libspqr.so -- Found Config headers in: /usr/include/suitesparse -- Found Config library: /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so -- Did not find Intel TBB library, assuming SuiteSparseQR was not compiled with TBB. -- Adding librt to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing). -- Found required Ceres dependency: Eigen version 3.3.7 in /usr/local/share/eigen3/cmake -- Found required Ceres dependency: glog -- Found required Ceres dependency: gflags -- Found Ceres version: 2.1.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, SchurSpecializations, Multithreading] -- Boost version: 1.65.1 -- Found the following Boost libraries: -- program_options -- filesystem -- system -- unit_test_framework -- Found Eigen -- Includes : /usr/local/include/eigen3 -- Found FreeImage -- Includes : /usr/include -- Libraries : /usr/lib/x86_64-linux-gnu/libfreeimage.so -- Found Glog -- Includes : /usr/include -- Libraries : /usr/lib/x86_64-linux-gnu/libglog.so -- Found Glew -- Includes : /usr/include -- Libraries : /usr/lib/x86_64-linux-gnu/libGLEW.so Compiling with AVX2 support. -- HDF5: Using hdf5 compiler wrapper to determine C configuration -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- serialization CMake Warning at third-party/HighFive/CMakeLists.txt:84 (message): Unit tests have been DISABLED.
note: This error originates from a subprocess, and is likely not a problem with pip.
when I run pip install -e . it happens with this error, can you tell me how to fix it? Thanks