-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[colmap] Add port for COLMAP 3.6 #12410
Conversation
…nd *.bat) to `tools/` otherwise I get `POST_BUILD_CHECKS_FAILED`. I followed this recommendation: microsoft#834 (comment) Now the *.bat files need to be fixed with the correct path to `tools/`
Last commit fixed some errors in portfile. These changes also move the binary (and *.bat) to
I followed this recommendation and moved it to A second problem is that when I run the binary I get: The code execution cannot proceed because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Co-authored-by: Robert Schumacher <[email protected]>
Co-authored-by: Robert Schumacher <[email protected]>
Co-authored-by: Robert Schumacher <[email protected]>
@ras0219-msft, here you were suggesting to use but the
I think this will require some changes in the COLMAP code, to avoid compiling the binaries tools using a variable that can be disable here. Anyways I would assume that the regular user of COLMAP would expect the binaries to be compiled by default. |
…UTO_CLEAN)` helped. Now it does work running: > <vcpkg-root>\vcpkg\packages\colmap_x64-windows\tools\colmap\colmap.exe > <vcpkg-root>\vcpkg\packages\colmap_x64-windows\tools\colmap\colmap.exe gui ToDo: use `vcpkg.json`.
Please try:
Now it should work:
|
./vcpkg.exe x-format-manifest --all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the changes were incorporated, except that I still need to remove some empty folders
qt5-imageformats:x86-windows fails to build. Any idea what to do in these cases? For the rest architectures seems to work (x64_windows, x64_linux, etc.). |
@pablospe I ran into a few issues compiling this on my machine. I made a few commits yesterday on the COLMAP side to fix them. In addition, I suggest to incorporate the following improvements: portfile:
vcpkg.json
usage:
|
The cuda-redist feature allows one to compile a redistributable COLMAP version with CUDA compiled to different GPU architectures. |
In addition, do you know, if there is a way to tell vcpkg to compile the latest commit from a specific branch from Github instead of checking out the predefined commit here? |
Another comment: COLMAP automatically extracts version information from the git log at compile time using |
Okay, answered this myself. Can be done with |
…elease (probably today) to update the `REF` and `SHA512`
To know the |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@JackBoosY Seems like the CI build failures are not caused by this PR but by some unrelated Azure issues? |
Testing... |
Co-authored-by: nicole mazzuca <[email protected]>
Waiting for merge #12766. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Add port for COLMAP 3.6-dev.3. Related to issue #8820.