PDA

View Full Version : anyones here use Devcpp do compile dc projects ???



arqueiro
February 22nd, 2005, 11:38
im setting up a new dev-compile environment and im needing some help ???

JMD
February 22nd, 2005, 12:19
Hi.
What's your pbm ?

I set up my environement with KOS 1.2 precompiled pack + last DevCpp release.

arqueiro
February 22nd, 2005, 13:28
Hi.
What's your pbm ?

I set up my environement with KOS 1.2 precompiled pack + last DevCpp release.



im trying to put SDL to work, i tink that maybe the problem is on the makefile.... i just erase everything now, and i will setup all again,

im with dcdeccpp 1.2 here...

i will install now and see if work again, thanks....

arqueiro
February 22nd, 2005, 15:21
ok...
now im tryng to compile this:

http://dev.dcemulation.com/files/dcsoftware/demos/plasma.zip

and got this error...

i need to config my devcpp on: Project option > Paramenters > compiler and linker

help please.





Compiler: Dreamcast
Building Makefile: "C:\Dev-Cpp\projetos\plasma\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\projetos\plasma\Makefile.win" all
sh-elf-gcc.exe -c plasma.c -o plasma.o -I"C:/Dev-Cpp/dcinclude" -I"C:/Dev-Cpp/dcinclude" -ml -O -m4-single-only -Wall

In file included from plasma.c:20:
C:/Dev-Cpp/dcinclude/libdream/dream.h:15: redefinition of `uint32'
C:/Dev-Cpp/dcinclude/arch/types.h:19: `uint32' previously declared here
C:/Dev-Cpp/dcinclude/libdream/dream.h:16: redefinition of `uint16'
C:/Dev-Cpp/dcinclude/arch/types.h:20: `uint16' previously declared here
C:/Dev-Cpp/dcinclude/libdream/dream.h:17: redefinition of `uint8'
C:/Dev-Cpp/dcinclude/arch/types.h:21: `uint8' previously declared here
C:/Dev-Cpp/dcinclude/libdream/dream.h:18: redefinition of `int32'
C:/Dev-Cpp/dcinclude/arch/types.h:23: `int32' previously declared here
C:/Dev-Cpp/dcinclude/libdream/dream.h:19: redefinition of `int16'
C:/Dev-Cpp/dcinclude/arch/types.h:24: `int16' previously declared here
C:/Dev-Cpp/dcinclude/libdream/dream.h:20: conflicting types for `int8'
C:/Dev-Cpp/dcinclude/arch/types.h:25: previous declaration of `int8'

In file included from C:/Dev-Cpp/dcinclude/libdream/dream.h:99,
from plasma.c:20:
C:/Dev-Cpp/dcinclude/libdream/fs_iso9660.h:13: redefinition of `struct dirent'
C:/Dev-Cpp/dcinclude/libdream/fs_iso9660.h:16: redefinition of `dirent_t'

C:/Dev-Cpp/dcinclude/kos/fs.h:27: `dirent_t' previously declared here

plasma.c:21:29: libdream/sintab.h: No such file or directory
plasma.c: In function `Pre_Calc':
plasma.c:99: warning: implicit declaration of function `cos'

make.exe: *** [plasma.o] Error 1

Execution terminated

hanf
February 28th, 2005, 11:30
http://www.dcemu.co.uk/devcconfig.shtml

have you tried this?