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

CMake error when linking with Clang-cl (lld-link); requires vcpkg update #2742

Closed
Farwaykorse opened this issue Nov 14, 2018 · 3 comments
Closed

Comments

@Farwaykorse
Copy link

When building with CMake and Clang-cl.
CMake reports an error while linking. See: AppVeyor build of MS/GSL

 The C++ compiler "C:\Program Files\LLVM\bin\clang-cl.exe" is not able to
  compile a simple test program.
...
lld-link.exe : error : could not open C:\Tools\vcpkg\installed\x86-windows\debug\lib\*.lib: no such file or directory

This is a known issue with the installed vcpkg version.
Issue: microsoft/vcpkg#4359
Fixed in: microsoft/vcpkg#4573

Temporary workaround:
Pull the latest vcpkg sources during the install phase. See: documentation. (Bootstrapping vcpkg is not needed.)

install:
  - cd C:\Tools\vcpkg
  - git pull
  - cd %APPVEYOR_BUILD_FOLDER%
@IlyaFinkelshteyn
Copy link
Contributor

@Farwaykorse thank you for the report. As part of #2733 we will update vspkg during next build worker image update.

@XVilka
Copy link

XVilka commented Sep 13, 2019

Isn't this one fixed already?

@IlyaFinkelshteyn
Copy link
Contributor

Yes, it must be, closing, Thanks @XVilka

Frederisk added a commit to Frederisk/DeepLearning-OpticalCharacterRecognition-Model that referenced this issue Dec 31, 2020
which will cause [a cmake error](appveyor/ci#2742), and it can not be fixed by myself.
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

3 participants