BoChenYS / satellite-pose-estimation

Satellite Pose Estimation with Deep Landmark Regression and Nonlinear Pose Refinement
MIT License
43 stars 11 forks source link

Error Compile openMVG MEX function #3

Open Hao-HUST opened 3 years ago

Hao-HUST commented 3 years ago

Hi, thanks for releasing the code.

When I tried to compile the OpenMVG mex function for Matlab, the errors occured:

/usr/bin/ld: /usr/local/lib/libopenMVG_geometry.a(Similarity3.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libopenMVG_geometry.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status.

Could you please give me some suggestions?

syndamn commented 3 years ago

were you able to figure this out @hao-HUST? my mex function is also not working

Hao-HUST commented 2 years ago

Not yet, we are still waiting for a response from the project owner. Due to the difficulty of compiling mex function, we pay less attention to this project.