Comments (2)
i have deleted all python related stuff i could find and now i cab get through venv but:
PS C:\Users\HP\vcpkg> ./vcpkg install libtorch
warning: In the September 2023 release, the default triplet for vcpkg libraries changed from x86-windows to the detected host triplet (x64-windows). For the old behavior, add --triplet x86-windows . To suppress this message, add --triplet x64-windows .
Computing installation plan...
The following packages will be built and installed:
libtorch[core,xnnpack]:x64-windows -> 1.12.1#3
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\HP\AppData\Local\vcpkg\archives in 778 us. Use --debug to see more details.
Installing 1/1 libtorch:x64-windows...
Building libtorch[core,xnnpack]:x64-windows...
-- Using cached pytorch-pytorch-v1.12.1.tar.gz.
-- Cleaning sources at C:/Users/HP/vcpkg/buildtrees/libtorch/src/v1.12.1-e1cb316ec6.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/HP/vcpkg/downloads/pytorch-pytorch-v1.12.1.tar.gz
-- Applying patch pytorch-pr-85958.patch
-- Applying patch fix-cmake.patch
-- Applying patch fix-fbgemm-include.patch
-- Applying patch fix-c10-glog.patch
-- Applying patch use-flatbuffers2.patch
-- Applying patch fix-windows.patch
-- Applying patch fix_werror.patch
-- Using source at C:/Users/HP/vcpkg/buildtrees/libtorch/src/v1.12.1-e1cb316ec6.clean
-- Using flatc: C:/Users/HP/vcpkg/installed/x64-windows/tools/flatbuffers/flatc.exe
-- Using protoc: C:/Users/HP/vcpkg/installed/x64-windows/tools/protobuf/protoc.exe
-- Setting up python virtual environmnent...
-- Installing python packages: typing-extensions;pyyaml;numpy
-- Setting up python virtual environmnent...finished.
-- Using Python3: C:/Users/HP/vcpkg/buildtrees/libtorch/x64-windows-venv/Scripts/python.exe
-- Found external ninja('1.11.0').
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Building x64-windows-dbg
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 torch_cpu -- -v -j9
Working Directory: C:/Users/HP/vcpkg/buildtrees/libtorch/x64-windows-dbg
See logs for more information:
C:\Users\HP\vcpkg\buildtrees\libtorch\build-torch_cpu-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
ports/libtorch/portfile.cmake:158 (vcpkg_cmake_build)
scripts/ports.cmake:168 (include)
error: building libtorch:x64-windows failed with: BUILD_FAILED
build-torch_cpu-x64-windows-dbg-out.log
and err log in attachment
from vcpkg.
Duplicate of PR #35202
C:\Users\HP\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen/cpu/vec/vec_base.h(134): fatal error C1001: Wewnętrzny błąd kompilatora.
(plik kompilatora „D:\a\_work\1\s\src\vctools\Compiler\CxxFE\sl\p1\c\toinil.c”, wiersz 910)
Aby obejść ten problem, spróbuj uprościć lub zmienić program w pobliżu miejsc wymienionych na liście powyżej.
Jeśli to możliwe, podaj kroki umożliwiające odtworzenie na stronie https://developercommunity.visualstudio.com
Wybierz polecenie Pomoc techniczna w menu Pomoc
Visual C++ lub otwórz plik pomocy technicznej, aby uzyskać więcej informacji
from vcpkg.
Related Issues (20)
- [libsndfile] Build error on x64-windows HOT 3
- [vcpkg] VCPKG_TARGET_TRIPLET does not load toolchain file via VCPKG_CHAINLOAD_TOOLCHAIN_FILE HOT 3
- [<port name>] build failure HOT 5
- [qtwebengine] Build error on x64-windows HOT 2
- [openvino] Build error HOT 3
- Add support for VCPKG_BUILD_TYPE = "debug" HOT 7
- [libwebp] Update to version 1.4.0
- [New Port Request] <xad> HOT 1
- [azure-identity-cpp] Build error on x64-windows HOT 4
- [libpng] No hardware optimisation enabled for PowerPC architecture HOT 3
- [boost-filesystem] build failure on Windows using CLang HOT 2
- [assimp] update to 5.4.0 HOT 1
- [vcpkg-tool] (possibly a feature request) status file is not generated after install in manifest mode
- [libtorrent] Build error on x64-windows HOT 1
- [juce] update to 7.0.12
- [boost-*] Header-only support HOT 6
- [azure-kinect-sensor-sdk] build failure on x64-linux HOT 3
- [boost-thread] Build error on x64-osx, Sonoma, Xcode 15.3, CMake 3.29.2 HOT 2
- [ACE] Support CMake-based usage HOT 18
- [openssl] Build error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.