ekbann / rpi-basilisk2-sdl2-nox

Automatic installation of a minimal Basilisk II (Apple Macintosh Quadra 800) system using Raspberry Pi OS Lite on a Raspberry Pi (1, 2, or 3) without X.
8 stars 1 forks source link

Building of BasiliskII fails #3

Open nexusle opened 5 months ago

nexusle commented 5 months ago

Mac OS X GUI ........................... : no Mac OS X Sound ......................... : no SDL support ............................ : video audio SDL major-version ...................... : BINCUE support ......................... : no LIBVHD support ......................... : no VDE support ............................ : no XFree86 DGA support .................... : no XFree86 VidMode support ................ : no fbdev DGA support ...................... : no Enable video on SEGV signals ........... : no ESD sound support ...................... : no GTK user interface ..................... : no mon debugger support ................... : no Running m68k code natively ............. : no Use JIT compiler ....................... : no JIT debug mode ......................... : no Floating-Point emulation core .......... : IEEE fpu core Assembly optimizations ................. : none Addressing mode ........................ : direct Bad memory access recovery type ........ : siginfo

g++ -I./../include -I./. -I. -I./../CrossPlatform -I./../uae_cpu -I./../slirp -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DFPU_IEEE -D_REENTRANT -DDATADIR=\"/usr/local/share/BasiliskII\" -g -O2 -fno-merge-constants -fno-gcse-sm -c ./../CrossPlatform/video_blit.cpp -o obj/video_blit.o ./../CrossPlatform/video_blit.cpp:26:10: fatal error: SDL.h: No such file or directory 26 | #include | ^~~ compilation terminated. make: [Makefile:196: obj/video_blit.o] Error 1 make: Waiting for unfinished jobs.... g++ -I./../include -I./. -I. -I./../CrossPlatform -I./../uae_cpu -I./../slirp -DHAVE_CONFIG_H -DOS_linux -DDIRECT_ADDRESSING -DFPU_IEEE -D_REENTRANT -DDATADIR=\"/usr/local/share/BasiliskII\" -g -O2 -fno-merge-constants -fno-gcse-sm -c ./../CrossPlatform/video_blit.cpp -o obj/video_blit.o ./../CrossPlatform/video_blit.cpp:26:10: fatal error: SDL.h: No such file or directory 26 | #include | ^~~ compilation terminated. make: *** [Makefile:196: obj/video_blit.o] Error 1

nexusle commented 5 months ago

following this thread will fix building (editing run.sh first)

https://stackoverflow.com/questions/10488775/sdl-h-no-such-file-or-directory-found-when-compiling

change #include to #include <SDL2/SDL.h> in SDLMain.m