Maybe you missed this:
cd /usr/local/dc/kos/kos-ports/lib && rm -f libfreetype.a liboggvorbisplay.a libogg.a libvorbis.a
Yes, I execute this and it is in SDK section.
Or doesn't build/install tolua? What the errors?
Yes, I installed Tolua but it cost me a lot, I had to install lua5.2 manually first and then it let me install Tolua
About zlib, 2 days ago it's updated to 1.3: https://github.com/KallistiOS/kos-ports/pull/25
Ah!! jajajaja, I got the version shortly before it was updated, bad luck.
I am here,
cd ./modules && make && make install && cd ../
I have not been able to advance error after error.
SDL installed manually, but in the DS/include/SDL/SDL_config.h file, you cannot find this include
#include "SDL_config_macosx.h"
And so several more.
I don't know what's going on, the above has compiled it.
UPDATE
This is the error, libini.. when i to try compile to "cd ./modules && make && make install && cd ../"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ini
rm -f ini.klf || true
rm -f libini.a || true
cd ./libini && make
Making all in include
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[4]: Nothing to be done for `all-am'.
Making all in src
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
/opt/toolchains/dc/sh-elf/bin/sh-elf-gcc -g -ml -m4-single-only -O2 -g -Wl,-Ttext=0x00000000 -e _start -nostartfiles -nodefaultlibs -o dbg-ini.klf module.o exports.o -L/usr/local/dc/kos/kos/lib/dreamcast -L/usr/local/dc/kos/kos/addons/lib/dreamcast -L/usr/local/dc/kos/kos/../kos-ports/lib -L./libini/src/.libs -L/usr/local/dc/kos/kos/ds/sdk/lib -Wl,--start-group -lini -lds -lkallisti_exports -lds_gcc -Wl,--end-group
/opt/toolchains/dc/sh-elf/lib/gcc/sh-elf/13.1.0/../../../../sh-elf/bin/ld: ./libini/src/.libs/libini.a: error al añadir símbolos: file format not recognized
collect2: error: ld devolvió el estado de salida 1
make[1]: *** [ini.klf] Error 1
make: *** [_dir_ini] Error 2
UPDATE 2*****
All compiled except
cd ./modules && make && make install && cd ../
cd ./commands && make && make install && cd ../ (I thought this was compiled for me but no.)
cd ./applications && make && make install && cd ../
(COMPILED OK)
cd ./firmware/bootloader && make && make release && cd ../../
(COMPILED OK)
cd ./firmware/isoldr && make && make install && cd ../../../
(COMPILED OK)
Do I reinstall everything?
UPDATE 3
I already reinstalled everything again except the PACKAGES and CODE section, and still the same error in the ds/module/ini/libini
VSCode say me error in libini/src/ini.cpp
#include "config.h" <--------- can't find this include
Is there a change to upload with a path?
DS/.vscode/settings.json
{
"C_Cpp.default.includePath": [
"/usr/local/dc/kos/kos/include/",
"/usr/local/dc/kos/kos/kernel/arch/dreamcast/include/",
"/usr/local/dc/kos/kos/addons/include/",
"/usr/local/dc/kos/kos-ports/include/",
"/opt/toolchains/dc/sh-elf/sh-elf/include/",
"/usr/local/dc/kos/kos/ds/include/",
"/usr/local/dc/kos/kos/ds/firmware/isoldr/loader/include"
],
"C_Cpp.default.compilerPath": "kos-cc",
"files.associations": {
"sdl.h": "c",
"sdl_stdinc.h": "c",
"sdl_config.h": "c"
}
}