Comments (6)
The issue is the name of the directory macos-aarch64
which is instead macosx-aarch64
(macosx) on disk. Also, I needed to use --allow-unsupported
to install the package, or the package actually supports the arm64-osx
if we look at the warning:
warning: shader-slang is only supported on '((x86 & windows) | (x64 & (windows | linux | osx)) | (arm64 & (linux | osx))) & !uwp & !static', which does not match arm64-osx. This usually means that there are known build failures, or runtime problems, when building other platforms. Proceeding anyway due to `--allow-unsupported`.
I think the platform condition (arm64 & (linux | osx))
matches the arm64-osx
triplet right ?
from vcpkg.
I think the platform condition
(arm64 & (linux | osx))
matches thearm64-osx
triplet right ?
Yes, if using the official triplet file.
file INSTALL cannot find "/Users/workbudairone/.vcpkg-clion/vcpkg/buildtrees/shader-slang/src/slang-2024-033a74ec75.clean/bin/macos-aarch64/release/libslang.dylib":
This tries to install a dylib from from the source dir, but artifacts should normally be in the build dirs, e.g.
"/Users/workbudairone/.vcpkg-clion/vcpkg/buildtrees/shader-slang/arm64-osx-rel/...
from vcpkg.
Yes, if using the official triplet file.
I think I'm using the official triplet file since I didn't do extra config so far. Just created a vcpkg.json
file in the root of my project, enabled manifest mode and set the path to the vcpkg toolchain file in CMake, that's all. Everything worked great so far until I added shader-slang
in the manifest.
This tries to install a dylib from from the source dir, but artifacts should normally be in the build dirs, e.g.
Just checked the directory, and there is no arm64-osx-rel
folder here, but I can see the dylib files in /Users/workbudairone/.vcpkg-clion/vcpkg/buildtrees/shader-slang/src/slang-2024-033a74ec75.clean/bin/macosx-aarch64/release/
(note the x after macos)
from vcpkg.
Also, after having manually edited the path in the portfile, I found that it also want to install libslang-llvm.dylib
which is not built by the port...
from vcpkg.
And x64-osx fails, too. #38602.
from vcpkg.
I think the platform condition
(arm64 & (linux | osx))
matches thearm64-osx
triplet right ?Yes, if using the official triplet file.
Oh, I didn't spot the trailing !static
.
This port is full of problems.
from vcpkg.
Related Issues (20)
- [openssl] Build error HOT 7
- Packages fail with Visual Studio 17.10 HOT 3
- [ace] update to 8.0.0
- Command failed on windows 64 HOT 8
- [qt5-declarative] qt5_import_qml_plugins always import release libraries even if debug build
- boost-filesystem build failure HOT 3
- [qttools] Install error. HOT 6
- [shader-slang] Add cmake targets HOT 2
- [opencc] hope support for arm64-windows
- vcpkg.exe cannot determine the version of the downloaded nuget.exe. HOT 9
- [armadillo] Build error on x64-windows HOT 6
- [libsodium] build failure, wrong hash since url points to dynamic tag HOT 4
- [openssl] write_contents error HOT 1
- vcpkg was unable to detect the active compiler's information HOT 1
- [boost-math] Build error on x64-linux HOT 3
- boost-json build failure HOT 2
- boost-fiber build failure HOT 1
- [libiconv] Build failure HOT 1
- [Qt5] update to 5.15.14
- [vtk] build failure due to netcdf-c:arm64-osx requiring m4 HOT 16
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.