Scummvm 0.9.0 just wont compile

Subforum for discussion and help with ScummVM's PSP (PlayStation Portable) port

Moderator: ScummVM Team

Post Reply
RavenLife
Posts: 16
Joined: Fri Feb 03, 2006 12:59 am

Scummvm 0.9.0 just wont compile

Post by RavenLife »

i have installed all the required (not optional) things it says i need in the psp readme file.
(after some considerable trouble)

but all i get is errors all over, and then it just end short with

Code: Select all

../../graphics/animation.h:97: error: expected ';' before '*' token
make: *** [engines/sword1/animation.o] Error 1
anyways what im trying to say is what am i doing wrong here

i only want to change the directory in which scumm saves savegames

i can post code cygwin throws at me if it willhelp

thanks

RavenLife
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

You'll have to edit the Makefile if you haven't installed the optional libraries.

Also, I recommend using an SVN checkout of the 0-9-0 branch, as the 0.9.0 release had some serious bugs.
RavenLife
Posts: 16
Joined: Fri Feb 03, 2006 12:59 am

Post by RavenLife »

thanks

i think ill install the optional extras then

may just be easier :D

thanks for that though

could you tell me how to do the perticular svn co?
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

Well, it's just commenting out or deleting 4-6 lines, they're documented too so I doubt building those libraries is much quicker. :)
But they're easy to build and good to have anyway.

You can check out the 0-9-0 branch with

Code: Select all

svn co https://svn.sourceforge.net/svnroot/scummvm/scummvm/branches/branch-0-9-0 scummvm-0-9-0
RavenLife
Posts: 16
Joined: Fri Feb 03, 2006 12:59 am

Post by RavenLife »

thankyou for the help

RL
RavenLife
Posts: 16
Joined: Fri Feb 03, 2006 12:59 am

Post by RavenLife »

sorry for the double post
(could you merge them for me)

but....

whilst im here could you tell me what im supposed to do with the libmpeg2
as the readme doesnt make that much sense to me?

BTW

still getting errors after commenting out the 6 lines

Code: Select all

../../graphics/animation.h:47:29: error: mpeg2dec/mpeg2.h: No such file or direc
tory
../../graphics/animation.h:96: error: ISO C++ forbids declaration of 'mpeg2dec_t
' with no type
../../graphics/animation.h:96: error: expected ';' before '*' token
../../graphics/animation.h:97: error: ISO C++ forbids declaration of 'mpeg2_info
_t' with no type
../../graphics/animation.h:97: error: expected ';' before '*' token
make: *** [engines/sword1/animation.o] Error 1
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

Looks like you missed the libmpeg2 lines.
RavenLife
Posts: 16
Joined: Fri Feb 03, 2006 12:59 am

Post by RavenLife »

yeh i did - silly me

now im getting hundreds of warnings and mp3 errors

im so crap at this -
im obviously missing something...

Code: Select all

../../sound/mp3.cpp:392: error: 'MAD_ERROR_BADCRC' was not declared in this scop
e
../../sound/mp3.cpp:400: error: 'MAD_ERROR_BUFLEN' was not declared in this scop
e
../../sound/mp3.cpp:408: error: '_mad_header' was not declared in this scope
../../sound/mp3.cpp:408: error: invalid application of 'sizeof' to incomplete ty
pe 'Audio::mad_header'
../../sound/mp3.cpp:414: error: 'mad_frame_finish' was not declared in this scop
e
../../sound/mp3.cpp:415: error: 'mad_stream_finish' was not declared in this sco
pe
../../sound/mp3.cpp: In member function 'virtual void Audio::MP3TrackInfo::play(
Audio::Mixer*, Audio::SoundHandle*, int, int)':
../../sound/mp3.cpp:443: error: 'mad_timer_t' was not declared in this scope
../../sound/mp3.cpp:443: error: expected `;' before 'durationTime'
../../sound/mp3.cpp:446: error: '_mad_header' was not declared in this scope
../../sound/mp3.cpp:458: error: 'durationTime' was not declared in this scope
../../sound/mp3.cpp:459: error: 'mad_timer_set' was not declared in this scope
../../sound/mp3.cpp:461: error: 'durationTime' was not declared in this scope
../../sound/mp3.cpp:461: error: 'mad_timer_set' was not declared in this scope
../../sound/mp3.cpp:465: error: 'durationTime' was not declared in this scope
make: *** [sound/mp3.o] Error 1
now if i comment out the libmad libtremor lines and type make kxploit again i get a bit further...
Post Reply