forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling Errors FMCB 1.7

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Willy



Joined: 28 Mar 2009
Posts: 2

PostPosted: Sat Mar 28, 2009 1:05 am    Post subject: Compiling Errors FMCB 1.7 Reply with quote

Hi,
I'm trying to compile the old FMCB 1.7 (without any changes).
But I get some errors:

Code:

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?
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Sat Mar 28, 2009 2:32 am    Post subject: Reply with quote

I never compiled FMCB but I can add some notes from your output :
Quote:
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...
Quote:
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...
Back to top
View user's profile Send private message Visit poster's website
Willy



Joined: 28 Mar 2009
Posts: 2

PostPosted: Sun Mar 29, 2009 11:51 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group