Page 1 of 1

Compiling Errors FMCB 1.7

Posted: Sat Mar 28, 2009 1:05 am
by Willy
Hi,
I'm trying to compile the old FMCB 1.7 (without any changes).
But I get some errors:

Code: Select all

make

ee-gcc -D_EE -O2 -G0 -Wall  -ID:/PS2DEV/ps2sdk/ee/include -ID:/PS2DEV/ps2sdk/common/include -I. -ID:/PS2DEV/ps2sdk/iop/include -ID:/PS2DEV/ps2sdk/common/include -ID:/PS2DEV/gsKit/include -ID:/PS2DEV/libjpg/include -ID:/PS2DEV/ps2sdk/sbv/include -ID:/PS2DEV/libcdvd/ee -c mcboot.c -o mcboot.o
In file included from mcboot.c:37:
mcboot.h(181) : parse error before '*' token
mcboot.h(181) : warning: type defaults to `int' in declaration of `gsFont'
mcboot.h(181) : warning: data definition has no type or storage class
mcboot.c: In function `print_title':
mcboot.c(2484) : request for member `FontM_Align' in something not a structure or union
mcboot.c: In function `main':
mcboot.c(2744) : warning: implicit declaration of function `mcReset'
mcboot.c(2747) : warning: implicit declaration of function `padReset'
make: *** [mcboot.o] Error 1

I'm using the PS2DevWin32 Version

I can't find any info for mcReset and padReset. Are I'm using false Librarys?

I have:
libcdvd_1.15
libjpg-0.3
gsKit_mod-jan0509 (with gsKit-0.2 I got more errors)



Who can help?

Posted: Sat Mar 28, 2009 2:32 am
by cosmito
I never compiled FMCB but I can add some notes from your output :
mcboot.c(2744) : warning: implicit declaration of function `mcReset'
mcboot.c(2747) : warning: implicit declaration of function `padReset'
These are in principle warnings only, not errors. Make sure the sources refer to libpad.h ...

In fact there both padReset (is it using libpad or libpadx?) and mcReset at ps2sdk.

padReset() :
ps2sdk\ee\include\libpad.h

mcReset() :
ps2sdk\ee\include\libmc.h

So, this don't seems to be the origin of your compilation errors.
You should always concentrate over the first error reported from any source compilation...
mcboot.h(181) : parse error before '*' token
Look at line 181 of mcboot.h and good luck :) Also make sure the project isn't using any unofficial modifications to the ps2sdk... Otherwise, you must start from there.

Doesn't psxscene forums have a homebrew development section? It would make more sense post there since FMCB is officially released there, I guess...

Posted: Sun Mar 29, 2009 11:51 pm
by Willy
Thanks for your answer!

I checked the source code in line 181 and tried a lot with the used code in this line, and well ... it's more complicated then I thought. I think I will train first on some easier codes ;-)

Perhaps I will try it than on psxscene...