building problem scummvm

Subforum for discussion and help with ScummVM's Symbian (mobile phones, etc) ports

Moderator: ScummVM Team

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Fri Nov 01, 2013 12:38 pm

Known issues : key mappings not works. Can't add Zvision and full mohawk engines due linker errors. Broken sword2.5 can't find hypot() in libc:
'hypot' was not declared in this scope

I don't know what the hell happens, but now I get many errors like this :
/Symbian/S60_5th_Edition_SDK_v1.0/epoc32/include/bitstd.h:427: error: 'CBitwiseBitmap' has not been declared
/Symbian/S60_5th_Edition_SDK_v1.0/epoc32/include/bitstd.h:429: warning: ISO C++ forbids declaration of 'CBitwiseBitmap' with no type
/Symbian/S60_5th_Edition_SDK_v1.0/epoc32/include/bitstd.h:429: error: expected ',' or '...' before '*' token

Anotherguest
ScummVM Porter
Posts: 1425
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest » Fri Nov 01, 2013 12:43 pm

I think that sword2.5 requires to much free memory anyway. I'm using S60V3 mostly for building but also the S60 5th SDK, depends if I want to do WINSCW debugging also. Reason for me using the old GCCE is because the newer versions has many link errors which the original (3.4.3) does not have.

But my SDL libs are compiled with ARM RVCT compiler for effciency. Also keymappings are done for ScummVM using my port of SDL not sure if its the same with Hannus SDL.

When it comes to the base addresses each new engine just requires us to up the range of the data range.

Anotherguest
ScummVM Porter
Posts: 1425
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest » Fri Nov 01, 2013 12:57 pm

Here is my latest version of SDL 1.2.14
http://anotherguest.se/SDL-1.2.14_ag.zip

With remotecontrol support (mouse keyboard), touch interface, working keys with E models with qwerty etc.
Should build fine with both gcce and ARMV5 compiler

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Fri Nov 01, 2013 1:56 pm

I already used you SDL 1.2.14 version. But if you update it within two month ago this may help.
I think last symbian devices has sufficient memory to run Sword25.
I find what hypot() is hidden in math.h by '#ifndef _REENT_ONLY'. I try to use solution from reent.h and add option to GCCE -DMISSING_SYSCALL_NAMES but it is not work
Can you add aac support? If you need I share nessery files for building libfaad :D

Anotherguest
ScummVM Porter
Posts: 1425
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest » Fri Nov 01, 2013 2:38 pm

Sadly I did not upload a new SDL to my homepage for quite some time, like a couple of years. So this is my latest and greatest :-)

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Fri Nov 01, 2013 5:02 pm

Anotherguest wrote:Sadly I did not upload a new SDL to my homepage for quite some time, like a couple of years. So this is my latest and greatest :-)
Maybe some library needed? You build scummvn 1.6 with S60_5th_Edition_SDK_v1.0? You installed(or not) SDK extensions?

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Fri Nov 01, 2013 8:04 pm

Mohawk still remains unitegrated :twisted:
Many errors like this :
myst_state.cpp:(.text+0x408): undefined reference to `Mohawk::MohawkEngine_Myst::setMainCursor(unsigned short)'

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Sat Nov 02, 2013 9:30 pm

Found peace of cake :D
class CStreamEngine : public MMdaAudioOutputStreamCallback, public CActive

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Sun Nov 03, 2013 9:29 am

I found what esdl.lib buided without 4 headers. I add them from symbian.zip in root of SDL folder. With them Swype 2.1 works only in landscape mode.
Where get right headers?

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Sun Nov 03, 2013 2:34 pm

New release Sdl from Anotherguest doesn't work.
Sorry. It works after phone restart.

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Mon Nov 04, 2013 9:36 am

What the hell come to me :twisted: File system on memory card is dead =(

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Sat Nov 09, 2013 9:26 pm

Mohawk cant start : Myst error : coukd not switch to resolution '544'x332'
I have little time...

Anotherguest
ScummVM Porter
Posts: 1425
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest » Mon Nov 25, 2013 12:36 pm

Working on this issue now! :-) lets see if we can override to a more common res.

Anotherguest
ScummVM Porter
Posts: 1425
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest » Mon Nov 25, 2013 2:28 pm

Whooppa. Missing RGB support.. wrong resolution. and not enabled engines in the checked in code. Well I got a movie playing :-) Great!

fedor
Posts: 26
Joined: Sat Oct 12, 2013 11:32 am

Post by fedor » Sat Nov 30, 2013 9:17 pm

Anotherguest wrote:Whooppa. Missing RGB support.. wrong resolution. and not enabled engines in the checked in code. Well I got a movie playing :-) Great!
Nice work!

Post Reply