This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Trying to compile and run ScummVM


Trying to compile and run ScummVM

Postby TazDevil76 » Apr 10, 2005 @ 12:59am

Hi,

Maybe someone can help me out: I can compile ScummVM 0.7.1 under Embedded Visual C++ 3.0 but when I try to run it, it says "The Intel 80486 CPU does not support configuration Win32 (WCE ARM)! Executable will not run on devivce."

What am I doing wrong? If I ignore the error the virtual PPC will start up, but it says that scummvm.exe is not a valid executable.


ADD ON: The whole thing shouldn't be executed in the emulator at all, right? Because the emulator and the real PPC are incompatible it won't run. I switched to "Default device" and hoped that it will be started on my iPAQ directly but this fails completely...

René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby refractor » Apr 10, 2005 @ 7:09am

The evc++3 emulator isn't a "real" emulator. You need to build for the "Win32 (WCE x86em)" Debug/Release target to run on the emulator. If that choice isn't there, reinstall evc++ and make sure you choose it in the target list.
Attachments

[The extension png has been deactivated and can no longer be displayed.]

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby TazDevil76 » Apr 10, 2005 @ 8:36am

Thanks for this hint. The x86 option has already been installed but it's not shown in the target combo. I added it under Build->Configurations but now I get hundreds of errors "fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory".

I copied the x86 debug target from PPC2002 debug.

René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby fast_rx » Apr 10, 2005 @ 3:30pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby TazDevil76 » Apr 10, 2005 @ 7:39pm

I still get this error 74 times in different files:

"Command line warning D4002 : ignoring unknown option '/MC'
chunk.cpp
D:\WinCE\scummvm-0.7.1\scumm\smush\chunk.cpp(22) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory"

Can you give advice?

René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby TazDevil76 » Apr 11, 2005 @ 5:51pm

Can anyone assist a bit?
What do I have to do to get it running on the emulator under eMVC4?
I downloaded all the precompiled libs from Arisme's site. Still I'm missing "vorbisfile.h" etc. and cannot compile.
I don't know if I have to set my include path to "PPC\ARM" or to "PPC2003" - my os is PW2003 though...so I guess it's "PPC2003".

To run it in the emulator I will need precompiled libs for the emulator. Are there any sources? I have tried to compile them myself but one tough thing about C++ are the weird includes. :-(
I admit, I'm out of practice (last C++ project was years ago and I switched to Java), but I'd really like to get into coding and finish those paths setup thing...or at least: I'd like to understand what to do. :-)

Thanks.

Regards,
René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Arisme » Apr 11, 2005 @ 6:17pm

Well, I never worked with the emulator, sorry, cannot help much here
Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby TazDevil76 » Apr 11, 2005 @ 6:58pm

But maybe you might be able to help if I compile it for the PPC...
I've set the target to "Win32 (WCE ARMV4) Debug" and get the problems described above.

René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Kzinti » Apr 11, 2005 @ 7:18pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby TazDevil76 » Apr 11, 2005 @ 7:26pm

TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Arisme » Apr 11, 2005 @ 10:06pm

Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby refractor » Apr 11, 2005 @ 10:35pm

You're not trying to mix the obj files are you? The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/LNK1166.asp">LNK1166</a> makes absolutely no sense whatsoever for ARM (all instructions are 32-bits and thus cannot span a page boundary).
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby fast_rx » Apr 12, 2005 @ 3:31am

refractor , I've gotten those warnings in my projects:
rotblit2.obj : warning LNK1166: cannot adjust code at offset=0x00001000, rva=0x0003601C

I had thought that it was something to do with my asm files, but who knows - the program runs fine...
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby Arisme » Apr 12, 2005 @ 9:01am

I got these warnings too, without link problems
Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby refractor » Apr 12, 2005 @ 5:28pm

Ok, weird. :)
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

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 post attachments in this forum