Comments (4)
Note: This issue also seems to apply to SDL2mainTargets
from vcpkg.
Local tests pass with the given usage:
find_package(SDL2 CONFIG REQUIRED)
target_link_libraries(main
PRIVATE
$<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>
$<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
)
Could you try the usage provided by the port?
from vcpkg.
Do not use CMake 3.29.1.
Reinstall all packages which were built with that version.
from vcpkg.
Somehow fixed it not sure how
Anyone finding this later try moving your vcpkg directory, installing libsdl2-dev (and uninstalling after) and/or adding vcpkg/installed/x64-linux to your CMAKE_PREFIX_PATH if not using the manifest
from vcpkg.
Related Issues (20)
- It is not compliant with Microsoft 1ES Compliance Requirement: Guardian Post Analysis Failed HOT 1
- [vcpkg-artifact] 'cmake' matched more than one result HOT 3
- [New Port Request] libzimg
- [openvino] build failure HOT 4
- [New Port Request] Tessil ordered map HOT 2
- [icu] Build failure on Windows GitHub runners HOT 15
- [vulkan*] update to 1.3.283
- [libunwind] Build error on arm64-linux HOT 2
- [utf8proc] CMake package version support
- [upb] Build failure on x64-windows HOT 2
- [<port name>] build failure HOT 4
- [json-c] vcpkg install json-c build failure HOT 12
- [abseil] Build error on x64-windows (insufficient resource) ? HOT 6
- [boost] error: File does not have the expected hash: HOT 4
- [skia] Unresolved external symbol SkSVGDOM::Builder::make HOT 4
- [libmysql] build failure in libedit because warnings as errors HOT 1
- [libiconv] build error HOT 1
- [bzip2] Build failure on arm64-osx HOT 1
- [libiconv] build failure HOT 2
- [ffmpeg] Build error on x64-osx HOT 1
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.