Skip to content
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

fmt[core] build failure #13593

Closed
lennyRBLX opened this issue Sep 17, 2020 · 1 comment
Closed

fmt[core] build failure #13593

lennyRBLX opened this issue Sep 17, 2020 · 1 comment
Assignees

Comments

@lennyRBLX
Copy link

Compiler

  • OS: Windows
  • Compiler: x64 VC++

To Reproduce
Steps to reproduce the behavior:
./vcpkg install fmt:x64-windows

Failure logs
D:\VS\Projects\vcpkg>vcpkg.exe install spdlog:x64-windows
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey
Computing installation plan...
The following packages will be built and installed:

  • fmt[core]:x64-windows
    spdlog[core]:x64-windows
    Additional packages (*) will be modified to complete this operation.
    Detecting compiler hash for triplet x64-windows...
    Starting package 1/2: fmt:x64-windows
    Building package fmt[core]:x64-windows...
    Could not locate cached archive: C:\Users\EpiKD\AppData\Local\vcpkg\archives\fb\fbe85803930a7d011b016cb9dcec88c184dddb97.zip
    -- Using cached D:/VS/Projects/vcpkg/downloads/fmtlib-fmt-cd4af11efc9c622896a3e4cb599fa28668ca3d05.tar.gz
    -- Cleaning sources at D:/VS/Projects/vcpkg/buildtrees/fmt/src/8668ca3d05-7f40cec0ee.clean. Use --editable to skip cleaning for the packages you specify.
    -- Extracting source D:/VS/Projects/vcpkg/downloads/fmtlib-fmt-cd4af11efc9c622896a3e4cb599fa28668ca3d05.tar.gz
    -- Applying patch fix-warning4189.patch
    -- Using source at D:/VS/Projects/vcpkg/buildtrees/fmt/src/8668ca3d05-7f40cec0ee.clean
    -- Configuring x64-windows
    -- Building x64-windows-dbg
    -- Building x64-windows-rel
    -- Installing: D:/VS/Projects/vcpkg/packages/fmt_x64-windows/share/fmt/copyright
    -- Fixing pkgconfig file: D:/VS/Projects/vcpkg/packages/fmt_x64-windows/lib/pkgconfig/fmt.pc
    -- Fixing pkgconfig file: D:/VS/Projects/vcpkg/packages/fmt_x64-windows/debug/lib/pkgconfig/fmt.pc
    -- CHECK_LIB_fmt_DEBUG:CHECK_LIB_fmt_DEBUG-NOTFOUND
    CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:232 (message):
    Library "fmt" was not found! If it is a system library use the
    SYSTEM_LIBRARIES parameter for the vcpkg_fixup_pkgconfig call! Otherwise,
    correct the *.pc file
    Call Stack (most recent call first):
    scripts/cmake/vcpkg_fixup_pkgconfig.cmake:328 (vcpkg_fixup_pkgconfig_check_files)
    ports/fmt/portfile.cmake:44 (vcpkg_fixup_pkgconfig)
    scripts/ports.cmake:79 (include)

Additional context
In a previous version of vcpkg, this worked just fine, it seems the fixing pkgconfig file update broke this for me.
Also I need fmt compiled to compile spdlog, I have already tried updating the prefix directory in the .pc files to accommodate for my environment path. I have also tried reinstalling older versions of vcpkg, setting up a new environment, moving environments, and updating / clearing vcpkg.

@JackBoosY JackBoosY self-assigned this Sep 18, 2020
@JackBoosY
Copy link
Contributor

Oh, that's because the vcpkg path contains capital letters. Duplicate to #12709.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants