mapillary / mapillary/OpenSfM

Reconstruction Example Running Error

Open
#937 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

Hi, I have installed all dependencies on Windows as the Building Guide.

Checking Build System
foundation.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\foundation\Release\foundation.lib
bundle.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\bundle\Release\bundle.lib
geometry.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\geometry\Release\geometry.lib
pybundle.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pybundle.pyd
dense.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\dense\Release\dense.lib
pydense.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pydense.pyd
akaze.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\third_party\akaze\Release\akaze.lib
vl.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\third_party\vlfeat\Release\vl.lib
features.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\features\Release\features.lib
pyfeatures.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pyfeatures.pyd
geo.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\geo\Release\geo.lib
pygeo.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pygeo.pyd
pygeometry.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pygeometry.pyd
map.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\map\Release\map.lib
pymap.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pymap.pyd
robust.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\robust\Release\robust.lib
pyrobust.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pyrobust.pyd
sfm.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\sfm\Release\sfm.lib
pysfm.vcxproj -> D:\yuqinji\OpenSfM\opensfm\pysfm.pyd
Building Custom Rule D:/yuqinji/OpenSfM/opensfm/src/CMakeLists.txt
gtest.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\Release\gtest.lib
Building Custom Rule D:/yuqinji/OpenSfM/opensfm/src/CMakeLists.txt
test_main.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\Release\test_main.lib
bundle_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\bundle\Release\bundle_test.exe
dense_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\dense\Release\dense_test.exe
foundation_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\foundation\Release\foundation_test.exe
geo_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\geo\Release\geo_test.exe
geometry_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\geometry\Release\geometry_test.exe
map_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\map\Release\map_test.exe
sfm_test.vcxproj -> D:\yuqinji\OpenSfM\cmake_build\sfm\Release\sfm_test.exe
Building Custom Rule D:/yuqinji/OpenSfM/opensfm/src/CMakeLists.txt

But when I run the bin/opensfm_run_all data/berlin, import error occur.

Here's the log :
(opensfm) D:\yuqinji\OpenSfM>.\bin\opensfm_run_all data\berlin
(opensfm) D:\yuqinji\OpenSfM>call D:\yuqinji\OpenSfM\bin\opensfm.bat extract_metadata data\berlin
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\yuqinji\OpenSfM\bin\opensfm_main.py", line 9, in
from opensfm import commands
File "D:\yuqinji\OpenSfM\opensfm_init_.py", line 1, in
from opensfm import pybundle
ImportError: DLL load failed: 找不到指定的模块。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows command bin/opensfm_run_all data\berlin and inspect the import path through bin/opensfm_main.py and opensfm/__init__.py. Review the generated bindings from opensfm/src/CMakeLists.txt and the launch behavior in bin/opensfm.bat. Done means the example starts without the reported pybundle DLL import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
backend, build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.