Issue with enviroment creation script for KallistiOS

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
assortedkingdede
DCEmu Newbie
DCEmu Newbie
Posts: 8
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Wed May 20, 2020 9:08 pm
Has thanked: 1 time
Been thanked: 0

Issue with enviroment creation script for KallistiOS

Post by assortedkingdede »

I have been working on a configuration for KallistiOS but I have been having trouble with the script that sets it up (environ.sh). I have been doing the tutorial at [http://www.racketboy.com/forum/viewtopic.php?p=1059999#]. I keep getting the error
-bash: environ.sh: line 71: unexpected EOF while looking for matching `"'
-bash: environ.sh: line 76: syntax error: unexpected end of file
Any information will help. Thanks!
User avatar
assortedkingdede
DCEmu Newbie
DCEmu Newbie
Posts: 8
Joined: Wed May 20, 2020 9:08 pm
Has thanked: 1 time
Been thanked: 0

Re: New issue after solving my first one.

Post by assortedkingdede »

Update: I used a different method and I managed to compile KallistiOS but now I am having issues with assembling programs. The following is from when I had this issue.

Owner@Owner-PC /usr/local/dc/kos/examples/dreamcast/png
$ make
rm -f example.elf
rm -f romdisk_boot.*
kos-cc -c example.c -o example.o
/usr/local/dc/kos/utils/gnu_wrappers/kos-cc: line 50: /opt/toolchains/dc/sh-elf/bin/sh-elf-gcc: No such file or directory
make: *** [/usr/local/dc/kos/Makefile.rules:11: example.o] Error 127
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5652
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: Issue with enviroment creation script for KallistiOS

Post by BlueCrab »

That post over at Racketboy is pretty old, to be honest... It wouldn't surprise me if there are some issues with it these days...

My suggestion if you're on Windows 10 is instead of using Cygwin to set up WSL. I have some instructions I wrote a while back up on the KOS website here on how to set that up: http://gamedev.allusion.net/softprj/kos/setup-wsl.php . Probably the only major thing that might have changed since then is that you should just search for "Debian" in the Microsoft store instead of "Debian GNU/Linux" (unless you also want to set up WSL 2 in the process and you're on one of the Insider rings for Win10).

If you're still on Windows 7 (or 8/8.1, or even an earlier version), someone else might be able to chime in on what the preferred way to set things up on them these days...

Also, I'm moving this to the Programming forum, as it's a better place for it...
User avatar
assortedkingdede
DCEmu Newbie
DCEmu Newbie
Posts: 8
Joined: Wed May 20, 2020 9:08 pm
Has thanked: 1 time
Been thanked: 0

Re: New issue

Post by assortedkingdede »

After the Racketboy tutorial failed me, I actually ended up using one from {https://dcemulation.org/index.php?title ... ing_Cygwin] which as I said in the second post got me further but ended up presenting issues when using a makefile to compile a program.

Edit: bin2o seems to be the source of the error.
User avatar
ThePerfectK
Insane DCEmu
Insane DCEmu
Posts: 147
Joined: Thu Apr 27, 2006 10:15 am
Has thanked: 27 times
Been thanked: 35 times

Re: Issue with enviroment creation script for KallistiOS

Post by ThePerfectK »

that guide is super super out of date. I've actually rewritten the setup portion many times since then, those instructions outright don't work anymore. One day I'll post the updated version once it's finished.
Still Thinking!~~
Post Reply