Skip to content

libsdl2 not recognized with Debian10 #133

@soljup

Description

@soljup

Debian10 Buster new install on ASUS A8N-E motherboard...
'SDL major-version' does not recognize installed packages:
libsdl2-2.0-0 nor
libsdl-kitchensink1 (which includes libsdl2)

How is 'SDL_VERSION_ATLEAST(2,0,0)' determined?
I did a 'grep -r SDL_VERSION_ATLEAST *' and couldn't find how it is assigned.
As a hack, I commented-out //&& SDL_VERSION_ATLEAST(2,0,0) in main_unix.cpp so it would make (Since I know I have SDL2 installed) but fails to open display upon run.

SheepShaver configuration summary:

SDL support ...................... : video audio
SDL major-version ................ :
BINCUE support ................... : no
LIBVHD support ................... : no
FBDev DGA support ................ : no
XFree86 DGA support .............. : no
XFree86 VidMode support .......... : no
Using PowerPC emulator ........... : yes
Enable JIT compiler .............. : yes
Enable video on SEGV signals ..... : yes
ESD sound support ................ : no
GTK user interface ............... : gtk2
mon debugger support ............. : no
Addressing mode .................. : real
Bad memory access recovery type .. : siginfo

Configuration done. Now type "make".
root@CSI-debian10:/home/memyselfi/macemu/SheepShaver/src/Unix# make
g++ -I../kpx_cpu/include -I../kpx_cpu/src -DUSE_JIT -I../include -I. -I../CrossPlatform -I../slirp -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=\"/usr/local/share/SheepShaver\" -g -O2  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -c main_unix.cpp -o obj/main_unix.o
main_unix.cpp:838:38: error: missing binary operator before token "("
 #if __MACOSX__ && SDL_VERSION_ATLEAST(2,0,0)
                                      ^
make: *** [Makefile:200: obj/main_unix.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions