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)
- [boost-regex] Build error on x64-windows HOT 1
- [cuda] Build error on x64-windows HOT 1
- [libxml2] update to 2.12.6
- [imgui] update to 1.90.6
- [zlib] Build error on x64-windows HOT 1
- [glad] update to 2.0.6 HOT 1
- [boost-container] Build error on wasm32-emscripten
- [cppgraphqlgen] Build error on x64-linux HOT 1
- [gperf] Build error on x64-windows HOT 1
- [qtwebengine] Build error on x64-windows HOT 2
- [boost-cobalt] Build error on x64-linux HOT 5
- [boost-container] build failure on Windows (missing boost-static-assert dependency) HOT 1
- [vcpkg-tool] vcpkg should cache binaries downloaded from AWS locally instead of downloading them every time
- vcpkg ignoring default-features: false in custom overlay HOT 2
- vcpkg_from_gitlab fails to download but project exists / URL is correct HOT 2
- [osg] Build failure on x64-windows HOT 7
- [qtinterfaceframework] Build error on x64-linux
- [zydis] update to 4.1.0
- [zycore] update to 1.5.0
- messy code output in Visual Studio 2022 while building HOT 4
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.