Vcpkg
rust-sdl2
Our great sponsors
Vcpkg | rust-sdl2 | |
---|---|---|
144 | 33 | |
21,191 | 2,589 | |
2.1% | 2.2% | |
10.0 | 7.1 | |
7 days ago | 15 days ago | |
CMake | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vcpkg
-
Dependencies Belong in Version Control
vcpkg may expire assets after 1.5 years, so achieve long-term reproducibility you will need to cache your dependencies.... Somewhere. Not sure what the expected solution is.
https://github.com/microsoft/vcpkg/pull/30546#issuecomment-1...
-
My first Software Release using GitHub Release
There were various approaches recommended depending on our language and ecosystem. My classmates who developed using Node.js were recommended npm, and PyPI or poetry for Python. Since my program is written in C++, I was recommended to look into one of vcpkg or conan, but I ultimately did not use either package manager.
-
Anyone else frustrated with Conan2?
Which dependencies are not in vcpkg? We can ask them to add it. It’s pretty easy just open an issue there https://github.com/microsoft/vcpkg/issues .
-
hypergrep: A new "fastest grep" to search directories recursively for a regex pattern
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j25 Working Directory: /opt/vcpkg/buildtrees/hyperscan/x64-linux-dbg See logs for more information: /opt/vcpkg/buildtrees/hyperscan/install-x64-linux-dbg-out.log Call Stack (most recent call first): installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process) installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build) ports/hyperscan/portfile.cmake:22 (vcpkg_cmake_install) scripts/ports.cmake:147 (include) error: building hyperscan:x64-linux failed with: BUILD_FAILED 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+hyperscan You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[hyperscan]+Build+error&body=Copy+issue+body+from+%2Fopt%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md You can also sumbit an issue by running (GitHub cli must be installed): gh issue create -R microsoft/vcpkg --title "[hyperscan] Build failure" --body-file /opt/vcpkg/installed/vcpkg/issue_body.md
The hyperscan update to vcpkg seems to have happened from 5.4.0 to 5.4.2 in this commit on Apr 20.
-
Configuring incomplete due to CMake Error(missing OpenCVConfig.cmake ProtobufConfig.cmake and TIFF etc.)
Dear Fictrac team, I am hoping to install Fictrac in our windows 11 x64 laptop (Visual Studio 2019, cMake 3.26.4). I followed the installation guideline on github page fictrac and used the latest vcpkg
-
The Future of Boost by Vinnie Falco
unless you want to use clang-cl since it renames the output to make it work for MSVC which in return breaks FindBoost in cmake and requieres https://github.com/microsoft/vcpkg/pull/27694 to fix it. I have touched enough of vcpkg build scripts to know what works and what doesn't and the b2 build is one of the corners I strongly dislike.
-
CMake and Linking External libraries is a kick in the nuts if i've ever seen it.
And then there's also Qt which has plugins. vcpkg Qt5 is nice enough to copy the plugins for you, but not with Qt6. The official answer seems to be "use windeployqt". So I do, and it copies plugins fine. But sqlite doesn't work, despite the plugin sqldrivers/qsqlite.dll being in the right location. Turns out that neither vcpkg or windeployqt copy sqlite3.dll. I switched to static libraries after that, it's a lot slower to link, clang doesn't work for some reason (but clang-cl does) but at least I don't have to worry about DLLs.
- Build faster with Buck2: Our open source build system
- GitHub Actions Incident 29.3
rust-sdl2
- Nannou – An open-source creative-coding framework for Rust
-
Game Lib similar to LWJGL Pygame SDL
Those are 3 very different libraries. Are you looking for something in the middle, or do you want all of the features you described? For what it's worth, there's SLD2 bindings for Rust https://github.com/Rust-SDL2/rust-sdl2
-
How would I connect renderer coded in C and logic coded in rust?
There's already a Rust binding for SDL2. See https://crates.io/crates/sdl2
-
SDL2 vs Winit/Pixels/CPAL/etc. Is going "native" really worth it?
nope. https://github.com/Rust-SDL2/rust-sdl2/issues/884 emscripten target won't work yet either.
-
I would like a simple, but abstracted, drawing library
it seems like what you are looking for is sdl2 bindings
-
C++ coders, why do you stick with the language?
*and* SDL2-sys *and* Rust-SDL2
In Rust you would need libSDL2 *and* SDL2-sys *and* SDL2 *and* libc *and*
-
Hey Rustaceans! Got a question? Ask here! (21/2022)!
The SDL2 crate had something like this, and it's an option I'm considering. However, if possible, I'd prefer a different, simpler GUI library, so if there's an input-specialized crate out there that does this, I'd love it.
-
What do you think about using SDL2 bindings for a simple game?
After a quick look onto the SDL2 bindings, https://github.com/Rust-SDL2/rust-sdl2, it seems quite mature and the sample code I'm reading uses very basic Rust features, nothing too fancy. Which makes sense, since we're binding to a C library.
-
[Media] Fish Fight v0.3: Level Editor; Overhauled modding system; How-to (gameplay, modding, gamedev) Book
This fails to build on Fedora due to an issue with sdl2-sys.
What are some alternatives?
conan - Conan - The open-source C and C++ package manager
winit - Window handling library in pure Rust
bevy - A refreshingly simple data-driven game engine built in Rust
Amethyst - Data-oriented and data-driven game engine written in Rust
CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
rust-sdl - SDL bindings for Rust
vulkan - Haskell bindings for Vulkan
Ncurses - ncurses Git mirror
Boost.Program_options - Boost.org program_options module
raylib - A simple and easy-to-use library to enjoy videogames programming
meson - The Meson Build System
stb - stb single-file public domain libraries for C/C++