thiefcatcher icon indicating copy to clipboard operation
thiefcatcher copied to clipboard

Building is broken (at least on macOS)

Open dei-layborer opened this issue 3 years ago • 2 comments

When trying to build on macOS (13.1 on Apple Silicon), I get an error that thiefcatcher/Core/conanbuildinfo.cmake cannot be found. Searching the repo, the only reference to that file I can find is in the .gitignore, so I don't know if that's the problem.

dei-layborer avatar Jan 05 '23 18:01 dei-layborer

Hi @dei-layborer ; Thanks for reporting the issue. Your problem occurs when conan install . hasn't been ran on the Core directory. I updated the README file with instructions for Linux/Macos but essentially before any cmake command run pushd Core && conan install . && popd Hope that helps

santiagolizardo avatar Jan 07 '23 13:01 santiagolizardo

Thanks for the reply! Unfortunately that hasn't fixed the build process, as I get an error with the command you added:

conanfile.txt: Installing package
Requirements
    fmt/7.1.3 from 'conancenter' - Downloaded
    rapidjson/cci.20211112 from 'conancenter' - Downloaded
Packages
    fmt/7.1.3:070f9bf1d15cf4b2a694de71f450816c2d2f2f25 - Missing
    rapidjson/cci.20211112:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download

Installing (downloading, building) binaries...
ERROR: Missing binary: fmt/7.1.3:070f9bf1d15cf4b2a694de71f450816c2d2f2f25

fmt/7.1.3: WARN: Can't find a 'fmt/7.1.3' package for the specified settings, options and dependencies:
- Settings: arch=armv8, build_type=Release, compiler=apple-clang, compiler.libcxx=libc++, compiler.version=14, os=Macos
- Options: fPIC=True, header_only=False, shared=False, with_fmt_alias=False, with_os_api=True
- Dependencies:
- Requirements:
- Package ID: 070f9bf1d15cf4b2a694de71f450816c2d2f2f25

ERROR: Missing prebuilt package for 'fmt/7.1.3'
Use 'conan search fmt/7.1.3@ --table=table.html -r=remote' and open the table.html file to see available packages
Or try to build locally from sources with '--build=fmt'

More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'

dei-layborer avatar Jan 09 '23 16:01 dei-layborer