ess476 / yurt-sdl Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Build Steps ------ A pre-build version is included with this library, but you can build one yourself! 1. Run: `./install_ubuntu.sh` or `install_centos.sh` depending on the platform you're running. 2. Run `./build.sh` this will build both development, release, and release PIC static versions, as well as debug and release shared library versions of (YURT) SDL. Usage ------ To run a program on YURT display, specifiy the `DISPLAY` and `SDL_DISPLAY_START` environment variables. For instance, to run on display 3, run: `DISPLAY=:0.3 SDL_DISPLAY_START=3 ./my-sdl-app` If SDL_DISPLAY_START is not specified the default is 0. Tricks ------ You can either have your project build and use SDL library or use LD_PRELOAD. If you're porting an application and don't want to mess with its build system, LD_PRELOAD is probably easier. Note this ONLY works if SDL is being loaded as a shared library LD_PRELOAD will cause the program to use the YURT version of SDL rather than the default one used by the project. For instance, to run on display 3, run: `LD_PRELOAD=/path/to/YURT-SDL/build-SDL-Shared-Release/libSDL2-2.0.so DISPLAY=:0.3 SDL_DISPLAY_START=3 ./my-sdl-app` You can also use that `libSDL2-2.0.so.0` in the root of the project directory. Notes ------ ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.