环境
WSL2
Ubuntu 20.04 LTS
问题
在进行特征提取时,出现如下错误:
==============================================================================
Feature extraction
==============================================================================
Shader not supported by your hardware!
ERROR: SiftGPU not fully supported.
terminate called without an active exception
*** Aborted at 1667203673 (unix time) try "date -d @1667203673" if you are using GNU date ***
PC: @ 0x7f188a94e00b gsignal
*** SIGABRT (@0x3e800000618) received by PID 1560 (TID 0x7f1885f4f900) from PID 1560; stack trace: ***
@ 0x7f188c53c631 (unknown)
@ 0x7f188ba7f420 (unknown)
@ 0x7f188a94e00b gsignal
@ 0x7f188a92d859 abort
@ 0x7f188ad49911 (unknown)
@ 0x7f188ad5538c (unknown)
@ 0x7f188ad553f7 std::terminate()
@ 0x55a35c1c447f colmap::internal::FeatureWriterThread::~FeatureWriterThread()
@ 0x55a35c10a61f colmap::SiftFeatureExtractor::~SiftFeatureExtractor()
@ 0x55a35c0bd54c RunFeatureExtractor()
@ 0x55a35c0a9eaf main
@ 0x7f188a92f083 __libc_start_main
@ 0x55a35c0adf6e _start
分析
colmap采用sudo apt install colmap
的形式安装
猜测可能是这种安装方式不对,采用官方的安装方式
方法
首先,sudo apt remove colmap
进行删除
然后,参考 colmap官方install 进行安装。