Mekanaizer has sent in a new tutorial called "Tutorial to config DEV-C++ to compile stuff to Dreamcast."[br][br]Check it out for yourself in our Tutorials Section
Printable View
Mekanaizer has sent in a new tutorial called "Tutorial to config DEV-C++ to compile stuff to Dreamcast."[br][br]Check it out for yourself in our Tutorials Section
This is great news! This is the best way to start developping for the DC because you don't need Linux or even use Linux commands. It is all for windows. I already got an pre compiled pacakage from the Spanish DC site and I want to have the new SMS Plus compiled.
No luck so far, but I hope I can manage it with this tutorial.
Hi,
Mekanaizer : I made few weeks ago a little tuto in french about this config :
It's almoth the same with screenshots(yours is up to date). You can rip the screenshots to add to your tuto : there are in french but it should be usefull for readers ;)
This looks good. I've been searching for a modern tutorial on how to compile the various open source programs for the Dreamcast.
I guess I can't do this with CD-RW? Or would I always need a coders cable? Where can I find a coders cable in North America (Canada specifically) ?
ebay is your bet, but they go for, what, $130-$160. u have to mod your dc to run CD-RW, not a good idea as it shortens the dcs life.
multi session cds are the best non bba way to go
coders cables can be brought for as little as 25 dollars but BBAs are expensive to find :)
I found this tutorial on making your own cable ...
http://dev.dcemulation.com/tutorials...oderscable.htm
I guess this is all I would need to get started?
I followed the tutorial exsactly. but i'm still getting errors when i try to compile through dev-cpp... whats happening is its erroring out on the all the #include statements saying that ctype cannot be found. and kos cannot be found either. if you would like to see a sheet on my errors i can post after a reply.
Yes, I'm having troubles too. I followed the directions exactly, but if I try to compile an example project (Like I was told to) I get errors. This is the build log from "testdc.dev":
Quote:
Compiler: Dreamcast
Building Makefile: "D:\Dev-Cpp\Examples\DreamCast\testDc\Makefile.win"
Executing make...
make.exe -f "D:\Dev-Cpp\Examples\DreamCast\testDc\Makefile.win" all
D:\Dev-Cpp\sh-elf\bin\sh-elf-gcc.exe -c main.c -o main.o -I"D:/Dev-Cpp/include" -I"D:/Dev-Cpp/dcinclude" -Wall -g -ml -m4-single-only -O2 -fno-builtin -fno-strict-aliasing -fomit-frame-pointer -fno-optimize-sibling-calls -D_arch_dreamcast
In file included from D:/Dev-Cpp/dcinclude/kos.h:18,
from main.c:1:
D:/Dev-Cpp/include/ctype.h: In function `isalnum':
D:/Dev-Cpp/include/ctype.h:158: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h:158: (Each undeclared identifier is reported only once
D:/Dev-Cpp/include/ctype.h:158: for each function it appears in.)
D:/Dev-Cpp/include/ctype.h: In function `isalpha':
D:/Dev-Cpp/include/ctype.h:159: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `iscntrl':
D:/Dev-Cpp/include/ctype.h:160: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `isdigit':
D:/Dev-Cpp/include/ctype.h:161: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `isgraph':
D:/Dev-Cpp/include/ctype.h:162: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `islower':
D:/Dev-Cpp/include/ctype.h:163: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `isprint':
D:/Dev-Cpp/include/ctype.h:164: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `ispunct':
D:/Dev-Cpp/include/ctype.h:165: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `isspace':
D:/Dev-Cpp/include/ctype.h:166: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `isupper':
D:/Dev-Cpp/include/ctype.h:167: `_imp____mb_cur_max_dll' undeclared (first use in this function)
D:/Dev-Cpp/include/ctype.h: In function `isxdigit':
D:/Dev-Cpp/include/ctype.h:168: `_imp____mb_cur_max_dll' undeclared (first use in this function)
In file included from D:/Dev-Cpp/dcinclude/kos/fs.h:16,
from D:/Dev-Cpp/dcinclude/kos.h:27,
from main.c:1:
D:/Dev-Cpp/dcinclude/arch/types.h: At top level:
D:/Dev-Cpp/dcinclude/arch/types.h:50: conflicting types for `off_t'
D:/Dev-Cpp/include/sys/types.h:56: previous declaration of `off_t'
In file included from D:/Dev-Cpp/dcinclude/kos/fs.h:18,
from D:/Dev-Cpp/dcinclude/kos.h:27,
from main.c:1:
D:/Dev-Cpp/include/time.h:207: syntax error before "char"
In file included from D:/Dev-Cpp/dcinclude/kos.h:27,
from main.c:1:
D:/Dev-Cpp/dcinclude/kos/fs.h:140:1: warning: "SEEK_SET" redefined
D:/Dev-Cpp/include/stdio.h:120:1: warning: this is the location of the previous definition
D:/Dev-Cpp/dcinclude/kos/fs.h:141:1: warning: "SEEK_CUR" redefined
D:/Dev-Cpp/include/stdio.h:124:1: warning: this is the location of the previous definition
D:/Dev-Cpp/dcinclude/kos/fs.h:142:1: warning: "SEEK_END" redefined
D:/Dev-Cpp/include/stdio.h:128:1: warning: this is the location of the previous definition
main.c: In function `main':
main.c:7: warning: implicit declaration of function `dbglog_set_level'
main.c:7: `DBG_DEAD' undeclared (first use in this function)
main.c:21: warning: implicit declaration of function `usleep'
make.exe: *** [main.o] Error 1
Execution terminated
So I think there must be something missing from the tutorial. ;) Either that, or a new build of Dev C++ has some troubles with it.
One thing to check is that under the project settings verify the include and lib directories, in the above log I see reference to a D:\dev-cpp\include folder. Remove this for dreamcast builds.
Troy