dreamcastdevs / dreamcast_tutorial Goto Github PK
View Code? Open in Web Editor NEWWelcome to Dreamcast programming 101
Welcome to Dreamcast programming 101
make
compilation outcome in dreamcast_tutorial/02_drawing_using_GLdc/nehe02/
:
kos-cc -c main.c -o main.o
/opt/toolchains/dc/kos/utils/genromfs/genromfs -f romdisk.img -d romdisk -v
0 rom 5e6d3df4 [0xffffffff, 0xffffffff] 37777777777, sz 0, at 0x0
1 . [0x803 , 0x865e76 ] 0040755, sz 0, at 0x20
1 .. [0x803 , 0x865e6e ] 0040755, sz 0, at 0x40 [link to 0x20 ]
1 PLACEHOLDER [0x803 , 0x865e77 ] 0100644, sz 0, at 0x60
/opt/toolchains/dc/kos/utils/bin2o/bin2o romdisk.img romdisk romdisk.o
/opt/toolchains/dc/sh-elf/bin/sh-elf-gcc -O2 -fomit-frame-pointer -ml -m4-single-only -ffunction-sections -fdata-sections -I/opt/toolchains/dc/kos/include -I/opt/toolchains/dc/kos/kernel/arch/dreamcast/include -I/opt/toolchains/dc/kos/addons/include -I/opt/toolchains/dc/kos/../kos-ports/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -ml -m4-single-only -Wl,-Ttext=0x8c010000 -Wl,--gc-sections -T/opt/toolchains/dc/kos/utils/ldscripts/shlelf.xc -nodefaultlibs -L/opt/toolchains/dc/kos/lib/dreamcast -L/opt/toolchains/dc/kos/addons/lib/dreamcast -L/opt/toolchains/dc/kos/../kos-ports/lib -o main.elf \
main.o romdisk.o -Wl,--start-group -lkallisti -lc -lgcc -Wl,--end-group -lkosutils -lGLdc -lm
/opt/toolchains/dc/sh-elf/lib/gcc/sh-elf/4.7.3/../../../../sh-elf/bin/ld: /opt/toolchains/dc/kos/addons/lib/dreamcast/libGLdc.a(texture.o): in function `_initTexturePalette':
/opt/toolchains/dc/kos/addons/GLdc/GL/texture.c:33: undefined reference to `_memset4'
The issue seems located on GLdc
side:
https://gitlab.com/simulant/GLdc/-/blob/master/GL/texture.c#L33 .
Maybe it would be safer to lock down a version or tag, to avoid inheriting bugs or changes in later versions ?
Note : the issue also impacts 03_controller_interaction/simple_control
, but not the neighboring project 02_drawing_using_GLdc/png-texture
.
KOS can no longer be installed using the script due to config.mk requirements for dc-chain
This seems to work for me before running download.sh in the dc-chain folder
cp config.mk.stable.sample config.mk
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.