GlobalSfMpy icon indicating copy to clipboard operation
GlobalSfMpy copied to clipboard

Unable to install TheiaSfm

Open akshay-krishnan opened this issue 1 year ago • 2 comments
trafficstars

Hi,

Im facing the below issue when I run cmake .. inside a build folder inside the TheiaSfm folder:

CMake Error at libraries/vlfeat/CMakeLists.txt:3 (include):
  include could not find requested file:

    /home/<user>/GlobalSfMpy/thirdparty/TheiaSfM/cmake;/home/<user>/miniconda3/envs/gsfm/lib/cmake/glog/../../../share/glog/cmake/OptimizeTheiaCompilerFlags.cmake


CMake Error at libraries/vlfeat/CMakeLists.txt:4 (optimizetheiacompilerflags):
  Unknown CMake command "optimizetheiacompilerflags".

I see a OptimizeTheiaCompilerFlags.cmake file in TheiaSfm, but not sure why cmake cannot find it. Have you seen this issue before? Do you have any idea on how to resolve this?

akshay-krishnan avatar Feb 13 '24 19:02 akshay-krishnan

Hi, Sorry, I haven't encountered similar problems like that before ...

zhangganlin avatar Feb 13 '24 20:02 zhangganlin

I'm facing the an error when install TheiaSfm with make -j4

make[1]: *** [CMakeFiles/Makefile2:826: libraries/akaze/CMakeFiles/akaze.dir/all] Error 2 make: *** [Makefile:166: all] Error 2

I think maybe i have already installed eigen 3.4 and ceres 2.2.0 which is " too new" for TheiaSfm ?

minhlenhat21 avatar Jun 28 '24 04:06 minhlenhat21