retrodeluxe / rlengine-msx

RetroDeluxe Game Engine for MSX computers
GNU General Public License v2.0
51 stars 3 forks source link

Make don't works #6

Closed henriquebeira closed 3 years ago

henriquebeira commented 6 years ago

Hi! When I run "make", something wrong happen. Someone can help me?

Thanks! :-)

msx

retrodeluxe commented 6 years ago

Hi Henrique, the error shows a syntax error. Did you change anything?

which version of ubuntu are you using?

regards, E.-

henriquebeira commented 6 years ago

Hi! Many thanks for your reply! :-D

I just installed Ubuntu 17.04 (32 Bits) on a VM, download RLENGINE zip file, and type "make", as you see on my photo. :-) Did I need to install some additional package?

Thanks again!

retrodeluxe commented 6 years ago

Hi, allright, I think the problem might be the 32bit part.

the main.mk script currently assumes if you use linux is a 64bit version (hence the x86_64 directory).

you can try to download the i386 version of sdcc and put it in the prebuilts folder, then edit build/ main.mk.

but I think not all rom sizes will work because the 3.6.5 version in prebuilts is patched.

If you confirm this is the problem I will create a ticket to add support for 32 bit.

henriquebeira commented 6 years ago

Thanks again! :-)

Well, i downloaded i386 version of SDCC (3.6.0), and put it inside the prebuilts/x86_64 folder, and edited build/main.mk I run "make" and a "map_test.rom" was made and running on MSX emulator! :-)

map_test.zip

But others do not worked, please see my image.

virtualbox_ubuntu_26_02_2018_22_37_56

Maybe needs to add support for 32 bit...

Anyway thanks in advance! :-D

retrodeluxe commented 6 years ago

Hi, yes, the -bo option is what I meant about the patched sdcc.

I will create a ticket to fix this problem.

also if you like you can try to build sdcc with the patch. Is the project sdcc-msx in this same GitHub.

regards, E.-

henriquebeira commented 6 years ago

Hello! I see... I'll make another tests for now... Thanks for opening a ticket about it!