ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > PocketPC/WinCE Port > Compiling on Vista?
Compiling on Vista?
  Author    Thread Reply to topic
Lostech



Joined: 04 May 2007
Posts: 157
Compiling on Vista? 

This might be a little offtopic but is someone compiling ScummVM for WinCE with a Vista machine? Does this work?

 Reply with quote  
Post Mon Jul 21, 2008 6:42 am 
 View user's profile Send private message Visit poster's website
mac_es



Joined: 31 Oct 2005
Posts: 99
 

Yes, I can compile it whith mingw/msys under vista

 Reply with quote  
Post Mon Jul 21, 2008 7:53 am 
 View user's profile Send private message
Lostech



Joined: 04 May 2007
Posts: 157
 

Did you set up something special?
On my Vista machine MSYS/MinGW I can compile the PC version but not the WinCE version with cegcc. Seems for me that the cegcc toolchain does not work proper. On the other hand the same installation on a XP machine does work.
Annoying stuff like UAC and DEP are already deactivated and full user access to the folder is available.

 Reply with quote  
Post Mon Jul 21, 2008 9:26 am 
 View user's profile Send private message Visit poster's website
mac_es



Joined: 31 Oct 2005
Posts: 99
 

Yes, the windres command is broken if you use MSYS. So I create the initial PocketScumm.o whith cygwin and then modify the makefile to use the PocketScumm.o instead of generating it.

If there are new icons, you will have to recreate it though.

 Reply with quote  
Post Mon Jul 21, 2008 10:20 am 
 View user's profile Send private message
Lostech



Joined: 04 May 2007
Posts: 157
 

OK, I will try using the existing PocketScumm.o from my XP machine.
THX for the hint.

 Reply with quote  
Post Mon Jul 21, 2008 11:41 am 
 View user's profile Send private message Visit poster's website
mac_es



Joined: 31 Oct 2005
Posts: 99
 

Take care, that you need the first PocketScumm.o the resulting for the windres command (take a look to the makefile)

 Reply with quote  
Post Mon Jul 21, 2008 2:25 pm 
 View user's profile Send private message
Lostech



Joined: 04 May 2007
Posts: 157
 

Hmm, at a closer look it seems that I have already directly after the make start the break:


quote:
../../../Makefile.common:110: no file name for `-include'
mkdir -p ./.deps
arm-wince-mingw32ce-g++ -Wp,-MMD,"./.deps/CEActionsPocket.d2" -O3 -march=armv4 -mtune=xscale -D_WIN32_WCE=300 -D__ARM__ -D_ARM_ -DUNICODE -DSCUMM_NEED_ALIGNMENT -DFPM_DEFAULT -DNONSTANDARD_PORT -DWIN32 -Dcdecl= -D__cdecl__= -Wno-multichar -DUSE_ZLIB -DUSE_MAD -DUSE_MPEG2 -DUSE_TREMOR -DUSE_VORBIS -DUSE_FLAC -DUSE_ARM_SMUSH_ASM -DUSE_ARM_GFX_ASM -DUSE_ARM_COSTUME_ASM -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_CINE=STATIC_PLUGIN -DENABLE_GOB=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LURE=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -I../../.. -I. -I../../../engines -Imissing/gcc -Ilibs/include -Ilibs/include/sdl -ICEgui -ICEkeys -c CEActionsPocket.cpp -o CEActionsPocket.o
make: *** [CEActionsPocket.o] Error 1


I will have to investigate this. Confused Damn Vista...
 Reply with quote  
Post Mon Jul 21, 2008 5:34 pm 
 View user's profile Send private message Visit poster's website
Lostech



Joined: 04 May 2007
Posts: 157
 

Re-Installing everything (MSYS/MINGW/cegcc) as Admin and now it works for WinCE ARM static and plugin version so I can give everyone the advise to reinstall with admin rights and to set up folder rights for the normal user for all MSYS/MINGW folders if someone has the same problems.
But now the normal Windows version can only compiled as static because as plugin version something with fluidsynth fails. Damn Vista...

 Reply with quote  
Post Mon Jul 28, 2008 6:37 pm 
 View user's profile Send private message Visit poster's website
mac_es



Joined: 31 Oct 2005
Posts: 99
 

FYI, You need fluidsynth 1.0.0 to compile. It doesn't compile against newer versions

 Reply with quote  
Post Tue Jul 29, 2008 7:03 am 
 View user's profile Send private message
Lostech



Joined: 04 May 2007
Posts: 157
 

THX for the hint but I did know this already since I had already that problem some months ago using the wrong version Wink
Actually I do have a different problem. I can compile with the fluidsynth feature as a static and also as a plugin version under XP. Itīs also not a problem to compile a static version under Vista. But a plugin compile fails everytime under Vista and I still have not a clue why thatīs not working. Damn Vista...
But at least Iīm already glad that I can compile now most versions also on my Vista machine. Smile

 Reply with quote  
Post Tue Jul 29, 2008 8:03 am 
 View user's profile Send private message Visit poster's website
Lostech



Joined: 04 May 2007
Posts: 157
 

Also this is the WinCE section it might be interesting for those who have the same compiling problems for the regular Windows version as I had:

If someone tries to build a regular Windows plugin version with Fluidsysnth support MinGW must have "Current Release" of binutils-2.17.50 and NOT a newer version!
If using a newer version compiling will break!

Perhaps someone should mention this in the Wiki.

 Reply with quote  
Post Thu Aug 07, 2008 3:35 pm 
 View user's profile Send private message Visit poster's website
nopl



Joined: 26 Aug 2008
Posts: 2
 

Can you post compiled version last build Scummvm for WinCE?

 Reply with quote  
Post Tue Aug 26, 2008 10:15 pm 
 View user's profile Send private message
Lostech



Joined: 04 May 2007
Posts: 157
 

I could, but actually there is a problem with the SVN trunk version which makes ScummVM unuseable (see Bugtracker entry).
But Knakos is already working on this.

On the other hand you could use on of the SVN versions I posted some days ago in the Discworld Topic:
http://rapidshare.com/files/133786790/ScummVM_ARM_2008-07-31.ZIP.html (Static Build)
http://rapidshare.com/files/133536668/ScummVM_ARM_2008-07-30.ZIP.html (Plugin Build)
Those versions should still work.

 Reply with quote  
Post Wed Aug 27, 2008 5:55 am 
 View user's profile Send private message Visit poster's website
nopl



Joined: 26 Aug 2008
Posts: 2
 

Thanks for links, I dont search in all topics.

 Reply with quote  
Post Wed Aug 27, 2008 6:45 am 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
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, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge