Comments (6)
I was getting the same error today and figured out a way to resolve it. Unfortunately, I don't know enough about cmake/vcpkg/pycolmap to know why the files in the /exe dir aren't being included during the build, but I was able to get the build working by manually copying the include/colmap/exe directory from the colmap repository into my vcpkg colmap include directory.
Essentially, the exe header files are not in this directory and need to be for the build to work:
{vcpkg_dir}\installed\x64-windows\include\colmap
from pycolmap.
colmap/exe/feature.h
was only exposed recently in the installed library: colmap/colmap@83aa340 I don't use Windows so I don't know how vcpkg works, I guess that it should have pulled the latest COLMAP commit.
from pycolmap.
@stevosaurus do you mind elaborating a bit more? I've tried getting the files feature.h
included from colmap/src/head/dev-55e04ac3eb.clean/src/exe
to vcpkg/installed/x64-windows/include/colmap
but it still the same error unfortunately.
from pycolmap.
this line here is the problem I believe https://github.com/microsoft/vcpkg/blob/47cbed88514c0e48fdb72ddc29545f35136f5461/ports/colmap/portfile.cmake#L69
this folder was empty before and thus removed at the end of the build but it's no longer the case.
I removed it on my machine, compiled colmap; then installed pycolmap and it seem to work.
from pycolmap.
Unrelated
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
calling `vcpkg_check_features` without the `FEATURES` keyword has been
deprecated.
Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
ports/libjpeg-turbo/portfile.cmake:35 (vcpkg_check_features)
scripts/ports.cmake:142 (include)
from pycolmap.
We now have instructions to build PyCOLMAP on Windows. We also have pre-built wheels that are available here and can be installed with pip. I don't have a Windows machine at hand so it'd be great if someone could confirm that they work. We'll then release them on PyPI.
from pycolmap.
Related Issues (20)
- How to set up scaling sparse models to realistic sizes? HOT 1
- When should a class be bound with shared_ptr as its holder? HOT 2
- pycolmap build from source error HOT 1
- estimate_triangulation result not equal to incremental_mapper result HOT 2
- absolute_pose_estimation HOT 1
- using pycolmap align two scene But either the exact same image is not captured (no overlapping images), or only part of the images overlap
- Question about pycolmap.incremental_mapping HOT 3
- Bind Iterative Global SfM HOT 2
- error in absolute_pose_estimation HOT 1
- Script to export our own wheel HOT 5
- How to resolve conflicts between pycolmap and pytorch HOT 4
- About the function pycolmap.triangulate_points HOT 2
- add new camera to existing sparse scene
- fail to do "pip install ."
- Using prior camera pose
- Help with estimate_triangulation method?
- RGBD for pose estimation. HOT 2
- Segmentation fault for using pycolmap.estimate_triangulation HOT 4
- AttributeError: module 'pycolmap' has no attribute 'extract_sift' HOT 1
- Same data, different alignment results(align_reconstrution_to_locations) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycolmap.