Skip to content

Issue when missing curl or OpenSSL #3052

@lkneip-bdai

Description

@lkneip-bdai

When missing curl or OpenSSL, DOWNLOAD_ENABLED is automatically set to OFF and COLMAP_DOWNLOAD_ENABLED will not be defined. This should simply build Colmap without download functionality. Instead, it raises a compiler error because the guards in util/file.cc are misplaced. Notably, it will still try to compile function "DownloadAndCacheFile" (line 380), which depends on ComputeSHA256() and DownloadFile(url).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions