红联Linux门户
Linux帮助

用Ubuntu配置bundler无法提取点

发布时间:2017-04-18 11:01:16来源:linux网站作者:饿二饿二饿
出错:
[- Extracting keypoints -]
sift.txt: 1: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 2: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 3: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 4: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 5: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 6: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 7: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 8: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 9: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 10: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
sift.txt: 11: sift.txt: /home/parallels/Desktop/bundler-v0.4-source/bin/sift: not found
[- Matching keypoints (this can take a while) -]
/home/parallels/Desktop/bundler-v0.4-source/bin/KeyMatchFull list_keys.txt matches.init.txt
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.
[KeyMatchFull] Reading keys took 0.001s
mkdir: cannot create directory ‘bundle’: File exists
[- Running Bundler -]
bundler: BaseApp.h:273: std::vector<KeypointMatch>& MatchTable::GetMatchList(MatchIndex): Assertion `p.first != p.second' failed.
/home/parallels/Desktop/bundler-v0.4-source/RunBundler.sh: line 93:   799 Aborted  (core dumped) $BUNDLER list.txt --options_file options.txt > bundle/out
[- Done -]
 
查到原来是少了个东西。
重要的是不要忘记libc6-dev-i386,否则在bundler / lib目录中调用jhead和sift将导致“File not found”(这当然会打破RunSFM进程)。 这个消息纯粹是误导性的(令人误解!),问题在于缺少32位libc库。 这是一个非常奇怪的行为,一个32位二进制文件没有找到它的32位libc版本。任何内核人读这个?给我一些时间弄清楚。顺便说一句,ia32-libs不是很好!
 
Solved from the nghiaho.com website
It is important NOT to forget the libc6-dev-i386 because otherwise any call to jhead and sift in the bundler/lib directory will result in a “File not found” (which of course breaks the RunSFM process). This message is purely misleading (heck of misleading!), the problem lies in the missing 32 bit libc library. This is quite a strange behaviour for a 32 bit binary not finding its 32 bit libc version. Any kernel guys reading this? Took me some time to figure out. By the way, ia32-libs are NOT ENOUGH!
If you are also building on a 64 bit system, you probably acquired the libc6-dev-i386 libs for jhead and sift on another occasion, as well as libgsl0-dev, but they don’t come with the installer by default.
just: sudo apt-get install libc6-dev-i386
 
解决只需要一句:
sudo install libc6-dev-i386
 
本文永久更新地址:http://www.linuxdiyf.com/linux/30105.html