make[3]: Entering directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/basic/vq'
rm -f vq-example.elf
/opt/toolchains/dc/kos/utils/vqenc/vqenc -t -v fruit.jpg
make[3]: /opt/toolchains/dc/kos/utils/vqenc/vqenc: No such file or directory
make[3]: *** [Makefile:23: fruit.vq] Error 127
make[3]: Leaving directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/basic/vq'
make[2]: *** [Makefile:16: _dir_vq] Error 2
make[2]: Leaving directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/basic'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl'
/bin/sh: 1: exit: Illegal number: -1
make: *** [Makefile:16: all] Error 2
KOS Examples not Building
-
- DCEmu Newbie
- Posts: 2
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Thu Apr 18, 2024 11:26 pm
- Has thanked: 1 time
- Been thanked: 0
KOS Examples not Building
I'm trying to get into dreamcast development and I'm having an issue where all the KOS examples are not building, the specific error is:
Any help would be greatly appreciated!
-
- DC Developer
- Posts: 108
- Joined: Sun Oct 04, 2009 11:13 am
- Has thanked: 2 times
- Been thanked: 90 times
Re: KOS Examples not Building
It looks like it's trying to use vqenc, but it hasn't been built yet. Go to the /opt/toolchains/dc/kos/utils/vqenc/ directory and build vqenc.
Re: KOS Examples not Building
Tried this and got this error:
Code: Select all
cc -O2 -Wall -DINLINE=inline -I/usr/local/include -c -o get_image_png.o get_image_png.c
get_image_png.c:11:10: fatal error: png.h: No such file or directory
11 | #include <png.h>
| ^~~~~~~
compilation terminated.
make: *** [<builtin>: get_image_png.o] Error 1
EDIT: Looks like I fixed it with:
Code: Select all
sudo apt-get install libxtst-dev libpng++-dev