Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
DreamShell dev environment setup on macOS
Автор Сообщение
VeraBecker Не на форуме
Пользователь
**

Сообщений: 53
Зарегистрирован: 13.08.2018
Рейтинг: 0
Сказал спасибо: 29
Поблагодарили 23 раз(а) в 17 сообщ.
Сообщение: #8
RE: DreamShell dev environment setup on macOS
(24.08.2023 08:09)SWAT писал(а):  Go to /usr/local/dc/kos/kos/ds/modules/ini/libini remove Makefile and try again. Looks like you build libini library for your host, not for sh4, maybe doesn't type "source /usr/local/dc/kos/kos/environ.sh" first time or something, because I build it fine right now.
You can just type make in /usr/local/dc/kos/kos/ds/modules/ini to test.

Hi SWAT
Again error, delete libini MakeFile and type make from ini folder, In the ini.cpp I don't find the config.h library that's why it doesn't compile
mmmm, ¿is this folder "/usr/local/dc/dc-elf" necessary?, I don't have it, it's from the toolchain?.

Making all in include
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
Making all in src
if /bin/sh ../libtool --mode=compile sh-elf-g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -fno-exceptions -MT ini.lo -MD -MP -MF ".deps/ini.Tpo" -c -o ini.lo ini.cpp; \
then mv -f ".deps/ini.Tpo" ".deps/ini.Plo"; else rm -f ".deps/ini.Tpo"; exit 1; fi
sh-elf-g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -fno-exceptions -MT ini.lo -MD -MP -MF .deps/ini.Tpo -c ini.cpp -o ini.o
headings.i: In function ‘section_tag* __ini_locateHeading(ini_t*, const char*)’:
ini.cpp:154:23: error: ‘_stricmp’ was not declared in this scope; did you mean ‘strncmp’?
154 | # define strcasecmp _stricmp
| ^~~~~~~~
headings.i:268:23: nota: en expansión de macro ‘strcasecmp’
268 | else if (!strcasecmp (current_h->heading, heading))
| ^~~~~~~~~~
keys.i: In function ‘key_tag* __ini_locateKey(ini_t*, const char*)’:
ini.cpp:154:23: error: ‘_stricmp’ was not declared in this scope; did you mean ‘strncmp’?
154 | # define strcasecmp _stricmp
| ^~~~~~~~
keys.i:306:27: nota: en expansión de macro ‘strcasecmp’
306 | else if (!strcasecmp (current_k->key, key))
| ^~~~~~~~~~
types.i: In function ‘int ini_readBool(ini_fd_t, int*)’:
ini.cpp:154:23: error: ‘_stricmp’ was not declared in this scope; did you mean ‘strncmp’?
154 | # define strcasecmp _stricmp
| ^~~~~~~~
types.i:391:14: nota: en expansión de macro ‘strcasecmp’
391 | if (!strcasecmp (buffer, "true"))
| ^~~~~~~~~~
make[2]: *** [ini.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [build_lib] Error 2


UPDATE THE EXAMPLES KOS, they also failed me
Will it have something to do with that?

cd /opt/toolchains/dc/kos/examples/dreamcast
make

kos-cc -o ghettoplay.elf ghettoplay.o texture.o bkg.o 3dutils.o songmenu.o romdisk.o -loggvorbisplay -lvorbis -logg -lm
/opt/toolchains/dc/sh-elf/lib/gcc/sh-elf/13.1.0/../../../../sh-elf/bin/ld: it can not be found -loggvorbisplay: No such file or directory
/opt/toolchains/dc/sh-elf/lib/gcc/sh-elf/13.1.0/../../../../sh-elf/bin/ld: it can not be found -lvorbis: No such file or directory
/opt/toolchains/dc/sh-elf/lib/gcc/sh-elf/13.1.0/../../../../sh-elf/bin/ld: it can not be found -logg: No such file or directory
(Последний раз сообщение было отредактировано 25.08.2023 в 07:46, отредактировал пользователь VeraBecker.)
24.08.2023 19:14
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
RE: DreamShell dev environment setup on macOS - VeraBecker - 24.08.2023 19:14

Похожие темы
Тема: Автор Ответов: Просмотров: Посл. сообщение
  Приложение для DreamShell SuperClaw 170 400001 01.05.2016 08:12
Посл. сообщение: SWAT
  DreamShell 4.0 - XML Doc SWAT 6 34347 06.04.2015 13:41
Посл. сообщение: SWAT
  DreamShell 4.0 - Module dev SWAT 8 30493 23.12.2013 13:20
Посл. сообщение: SWAT
  Dreamshell BETA3/BETA4 Direct Swap atreyu187 3 19498 09.09.2011 14:27
Посл. сообщение: SWAT
  DreamShell 4.0 - App dev SWAT 3 21522 22.06.2011 23:09
Посл. сообщение: Jirohn
  DreamShell 4.0 - Bug Report SWAT 54 165175 28.03.2011 07:24
Посл. сообщение: SWAT
  Разработка блокнота для DreamShell zaero 28 86769 31.01.2011 16:02
Посл. сообщение: SWAT
  DreamShell 4.0 - Beta Testing SWAT 76 230211 14.07.2010 20:58
Посл. сообщение: SWAT
  DreamShell 4.0 SWAT 43 136789 05.02.2010 07:10
Посл. сообщение: SWAT
  DreamShell 4.0 - API Doc SWAT 1 18708 18.03.2009 13:04
Посл. сообщение: SWAT

Переход:


Пользователи просматривают эту тему: 2 Гость(ей)