![]() SDL tries to do the right thing by default, though, so you can usually get away with no options at all. In fact, there are a LOT of good options you can use with configure! Be sure to check out its -help option for details. You can change this to a different location with the -prefix option to the configure script. The last command says "sudo" so we can write it to /usr/local (by default). Git clone -b SDL2 cd SDL mkdir build cd build. ![]() Run "make install" to install your new SDL build on the system.Run the configure script to set things up.Make a separate build directory (SDL will refuse to build in the base of the source tree).Get a copy of the source code, either from Mercurial or an official tarball or whatever.If you're compiling SDL yourself, here's what we refer to as "the Unix way" of building: Gentoo users can sudo emerge libsdl2 to get everything they need. Red Hat-based systems (including Fedora) can simply do sudo dnf install SDL2 to get the library installed system-wide, or "sudo dnf install SDL2-devel" to get headers and other build requirements ready for compiling your own SDL programs. Please see docs/README-linux.md for a more complete discussion of packages involved. sudo apt-get install libsdl2-dev will install everything necessary to build programs that use SDL. SDL supports most popular flavors of Unix: Linux 2.6+, the various BSDs (FreeBSD, NetBSD, OpenBSD), Solaris, and other things like them.įirst! Do you need to compile SDL yourself? It's possible your distribution's package manager already did it for you!ĭebian-based systems (including Ubuntu) can simply do sudo apt-get install libsdl2-2.0-0 to get the library installed system-wide, and all sorts of other useful dependencies, too. Several other platforms will be built "the Unix way," so we'll describe this platform first. You may not statically link SDL 1.2 in most cases due to its LGPL licensing, but you should really stop using SDL 1.2 anyhow. However, we encourage you to not statically link for various technical and moral reasons (see docs/README-dynapi.md), and won't cover the details of how to in this document. SDL 2.0, unlike 1.2, uses the zlib license, which means you can build a static library linked directly to your program, or just compile SDL's C code directly as part of your project, without requirements to publish your source code, etc. Some of these installation instructions happen to work with 1.2, however, on the platforms we cover. It can be installed on legacy platforms that SDL2 doesn't support, such as Mac OS 9 or Windows 95, but settling for 1.2 would not be a drop-in replacement for 2.0. You will need to download the source code first for most of them, unless prebuilt binaries are available. If you're interested, please go to phpMyDomo web site to download it, or to view some screenshots.How to install SDL varies depending on your platform. So please answer the quick poll of this topic. If not I will just develop it for my own needs only. If enough people seems interested, I will do my best to make it evolve. I'm looking for developers to help coding it, as well as users,to install, test and report. Highest WAF (Wife Acceptation Factor) possible Object oriented, MVC design : easily build your own custom pages, in minutes. Minimal server requirements : a php-enabled web server Any Home Automation Software supported via Api Plugins Multiples languages supported: (en | nl | de | fr) Responsive design : Display fine on any Android/IOS tablet, phone and any modern (HTML5) web browser Send Notifications in various way (emails, XBMC, Nabaztag, Growl, xPl, Prowl, NMA, etc.) View all sensors at once, or per user defined groups Switch on/off and change level of Dimmers ![]() Allow to Switch on/off any supported devices or scenes, from the Dashboard page This is a Work In Progress : At this time only Switches and Sensors are fully supported in Domoticz. phpMyDomo don't aim to replace the cool domotic's software you're currently using, but rather to add a convenient web interface to it, especially on small devices like tablets and phonesĬurrently supported software include Domoticz, Domotiga, OpenHab and Domogik. phpMyDomo wants to be the ultimate WebApp that works as well on these devices, as on any computer browser. With todays chinese phones and tablets starting as low as $50, it becomes a cheap and powerfull way to build remotes to control anything smartly in your house. PhpMyDomo is an open-source php Web Application aimed to provide a clean, robust, customizable, fast and intuitive interface to many Home Automation software, including Domoticz. ![]() I've just released phpMyDomo, a cool web interface for Domoticz and other home automation software. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |