Search Criteria
Package Details: sdl_bgi 2.5.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sdl_bgi.git (read-only, click to copy) |
---|---|
Package Base: | sdl_bgi |
Description: | Port of the old Borland Graphics Interface (graphics.h), originally written for DOS, written using SDL2 |
Upstream URL: | http://libxbgi.sourceforge.net/ |
Keywords: | graphics.h |
Licenses: | zlib |
Provides: | libSDL_bgi.so |
Submitter: | Tedyst |
Maintainer: | Tedyst |
Last Packager: | Tedyst |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2021-11-18 19:04 (UTC) |
Last Updated: | 2021-11-18 19:04 (UTC) |
Dependencies (12)
- sdl2AUR (sdl2-compat-gitAUR, sdl2-gitAUR, sdl2-compat)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gtk-doc (make)
- lib32-dbus (make)
- lib32-libelf (make)
- meson (meson-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- shared-mime-info (make)
- util-linux (util-linux-aesAUR, util-linux-selinuxAUR) (make)
- desktop-file-utils (desktop-file-utils-gitAUR) (check)
- lib32-glib2 (check)
Latest Comments
schrmh commented on 2025-03-11 20:51 (UTC) (edited on 2025-03-12 11:42 (UTC) by schrmh)
conflicts with libgraph. Not sure which of the two is more useful, especially to quickly get some old WinBGIm stuff I have lying around working under X11.
Edit: looks good:
https://sdl-bgi.sourceforge.io/compatibility.html
»SDL_bgi has been designed to be functionally compatible with the old Borland Graphics Interface (GRAPHICS.H) for DOS, and with WinBGIm, which itself is a mostly complete GRAPHICS.H implementation.
SDL_bgi is a superset of both, and as far as I can say it provides the most compatible GRAPHICS.H implementation available.«
However, compiling the examples leaves me with errors about too many arguments for the random function. Duh.
Edit 2:
For conio.h replacement use https://gitlab.com/marcodiego/conio
And add this to the Makefile:
Then
sudo make install
Edit 3:
I tried from source but I think I'm still missing something...:
LANG=C gcc -o demo demo_official.c -lSDL_bgi -lSDL2
Edit 4:
Documentation seems to miss
-lm
when compiling. I contacted the author and he told me to add this. I actually did not consider trying that out before.