Git Product home page Git Product logo

Comments (12)

Zhangjiabin12 avatar Zhangjiabin12 commented on June 14, 2024 1
屏幕截图 2024-05-30 233207

from vcpkg.

autoantwort avatar autoantwort commented on June 14, 2024

From the log:

Unable to locate 'atlbase.h'. Ensure you have installed the Active
Template Library (ATL) component of Visual Studio.

from vcpkg.

sKunZel avatar sKunZel commented on June 14, 2024

From the log:

Unable to locate 'atlbase.h'. Ensure you have installed the Active
Template Library (ATL) component of Visual Studio.

I did,
image

from vcpkg.

Neumann-A avatar Neumann-A commented on June 14, 2024

v142 looks like wrong toolset. You want the version without mentioning toolset (which should be v143). (or it should be mentioning newest)

from vcpkg.

sKunZel avatar sKunZel commented on June 14, 2024

v142 looks like wrong toolset. You want the version without mentioning toolset (which should be v143). (or it should be mentioning newest)

I updated to v143, same error.

from vcpkg.

StarGate-One avatar StarGate-One commented on June 14, 2024

Are not the ATL/MFC libraries actually installed by the Windows SDK? or has this changed with VS 2022? Never mind it looks like they are installed by the VS 2022 Installer.

I have the following in the Desktop Development with C++ workload in VS 2022:
image

You might could compare your installed features with mine as ATL installs fine for me.

from vcpkg.

sKunZel avatar sKunZel commented on June 14, 2024

Are not the ATL/MFC libraries actually installed by the Windows SDK? or has this changed with VS 2022? Never mind it looks like they are installed by the VS 2022 Installer.

I have the following in the Desktop Development with C++ workload in VS 2022: image

You might could compare your installed features with mine as ATL installs fine for me.

I installed all ATL x86 x64 windows i could without sucess.

My goal is to install LLVM but got an error with .\vcpkg install llvm :
building llvm:x64-windows failed with: BUILD_FAILED
Elapsed time to handle llvm:x64-windows: 8.6 min
Please ensure you're using the latest port files with git pull and vcpkg update.

from vcpkg.

MonicaLiu0311 avatar MonicaLiu0311 commented on June 14, 2024

If your ./vcpkg install atl:x64-windows installation fails, please confirm that ATL/MFC is installed.

image
image

If your LLVM installation fails, please provide specific error logs.

from vcpkg.

sKunZel avatar sKunZel commented on June 14, 2024

Here are some logs.
If more are recquiered, just tell me how to harvest it.

PS C:\Users\Kevin\Downloads\vcpkg> .\vcpkg install llvm
Computing installation plan...
The following packages will be built and installed:
llvm[clang,core,default-targets,enable-bindings,enable-terminfo,enable-zlib,enable-zstd,lld,target-x86,tools]:[email protected]#5
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\Kevin\AppData\Local\vcpkg\archives in 404 us. Use --debug to see more details.
Installing 1/1 llvm[clang,core,default-targets,enable-bindings,enable-terminfo,enable-zlib,enable-zstd,lld,target-x86,tools]:[email protected]#5...
Building llvm[clang,core,default-targets,enable-bindings,enable-terminfo,enable-zlib,enable-zstd,lld,target-x86,tools]:[email protected]#5...
-- Note: llvm only supports static library linkage. Building static library.
-- Using cached llvm-llvm-project-llvmorg-17.0.2.tar.gz.
-- Cleaning sources at C:/Users/Kevin/Downloads/vcpkg/buildtrees/llvm/src/org-17.0.2-c843ab180e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/Kevin/Downloads/vcpkg/downloads/llvm-llvm-project-llvmorg-17.0.2.tar.gz
-- Applying patch 0001-fix-install-package-dir.patch
-- Applying patch 0002-fix-tools-install-dir.patch
-- Applying patch 0003-fix-llvm-config.patch
-- Applying patch 0004-disable-libomp-aliases.patch
-- Applying patch 0005-remove-numpy.patch
-- Applying patch 0006-create-destination-mlir-directory.patch
-- Applying patch 0007-fix-compiler-rt-warnings.patch
-- Applying patch 0008-add-missing-case.patch
-- Applying patch 0009-add-missing-typename.patch
-- Using source at C:/Users/Kevin/Downloads/vcpkg/buildtrees/llvm/src/org-17.0.2-c843ab180e.clean
-- Getting CMake variables for x64-windows
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Warning at scripts/cmake/vcpkg_execute_build_process.cmake:65 (message):
Please ensure your system has sufficient memory.
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/llvm/portfile.cmake:297 (vcpkg_cmake_install)
scripts/ports.cmake:175 (include)

-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j9
Working Directory: C:/Users/Kevin/Downloads/vcpkg/buildtrees/llvm/x64-windows-dbg
See logs for more information:
C:\Users\Kevin\Downloads\vcpkg\buildtrees\llvm\install-x64-windows-dbg-out.log
C:\Users\Kevin\Downloads\vcpkg\buildtrees\llvm\install-x64-windows-dbg-out-1.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/llvm/portfile.cmake:297 (vcpkg_cmake_install)
scripts/ports.cmake:175 (include)

error: building llvm:x64-windows failed with: BUILD_FAILED
Elapsed time to handle llvm:x64-windows: 1.9 h
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+llvm
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[llvm]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2FKevin%2FDownloads%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

from vcpkg.

autoantwort avatar autoantwort commented on June 14, 2024

Please ensure your system has sufficient memory.

from vcpkg.

sKunZel avatar sKunZel commented on June 14, 2024

60Go available

from vcpkg.

sKunZel avatar sKunZel commented on June 14, 2024
屏幕截图 2024-05-30 233207

Thanks you.
Got it already.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.