ianmicheal / Dreambor7.0-with-vmu-saving-and-rumblepak

Dreambor7.0 with vmu saving and rumblepak
2 stars 0 forks source link

source wont compile under ubuntu 20.04 #1

Open msmalik681 opened 2 years ago

msmalik681 commented 2 years ago

Here is the output when I try to build.

$ ./build.sh Makefile:719: /Makefile.rules: No such file or directory make: No rule to make target '/Makefile.rules'. Stop. Makefile:719: /Makefile.rules: No such file or directory make: No rule to make target '/Makefile.rules'. Stop.

ianmicheal commented 2 years ago

Need sdl_dreamhal just need to cd engine dir this does not use normal SDL

Building the Sega Dreamcast binary

make clean BUILD_DC=1 make BUILD_DC=1

Above cd to engine then the above commands you dont use /build.sh

https://youtu.be/XVyf0YAO8wc

video above shows

On Wed, Jan 12, 2022 at 1:34 PM Malik @.***> wrote:

Here is the output when I try to build.

$ ./build.sh Makefile:719: /Makefile.rules: No such file or directory make: No rule to make target '/Makefile.rules'. Stop. Makefile:719: /Makefile.rules: No such file or directory make: No rule to make target '/Makefile.rules'. Stop.

— Reply to this email directly, view it on GitHub https://github.com/ianmicheal/Dreambor7.0-with-vmu-saving-and-rumblepak/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOIATOUFBJE6RV5OWENE7MDUVXCRPANCNFSM5LZWGUEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

msmalik681 commented 1 year ago

Now I have installed KOS and updated includes to the KOS-ports now I get this error.

Compiling DC Port: source/gamelib/soundmix.c... source/gamelib/soundmix.c:43:10: fatal error: vorbis/include/ivorbisfile.h: No such file or directory 43 | #include <vorbis/include/ivorbisfile.h>

This is what I changed:

ifdef BUILD_DC TARGET = $(VERSION_NAME).elf TARGET_FINAL = $(VERSION_NAME).bin

BUILD_GFX = 1

TARGET_PLATFORM = DC BUILDING = 1 INCLUDES = $(KOS_BASE)/../kos-ports/SDL/inst/include \ $(KOS_BASE)/../kos-ports/libpng/inst/include \ $(KOS_BASE)/../kos-ports/zlib/inst/include \ $(KOS_BASE)/../kos-ports/libogg/inst/include \ $(KOS_BASE)/../kos-ports/libvorbis/inst/include ifeq ($(BUILD_DC), 0) BUILD_DEBUG = 0 endif

msmalik681 commented 1 year ago

OK so I fixed it now its pointing to tremor but now I have a new error:

/opt/toolchains/dc/sh-elf/lib/gcc/sh-elf/12.2.0/../../../../sh-elf/bin/ld: cannot find -lSDLDH: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:732: OpenBOR.elf] Error 1 malik@malik-System-Product-Name:~/Downloads/Dreambor7.0-with-vmu-saving-and-rumblepak-main/dreambor[7.0[RP][VMU]src/engine$

msmalik681 commented 1 year ago

So I changed the SDL include to point to SDLDH and now I get this error:

/home/malik/Downloads/Dreambor7.0-with-vmu-saving-and-rumblepak-main/dreambor[7.0[RP][VMU]src/engine/dc/SDLDH/SDL_configdreamcast.h:120:20: error: conflicting types for ‘memset’; have ‘void (void , int, size_t)’ {aka ‘void (void , int, unsigned int)’} 120 | #define SDLmemset memset | ^~~