ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.comDotEmu  Rules - Search - Register - Login curved edge
Folder Forum Index > iPhone Port > Compiling 1.4.0 in XCode, official SDK
Compiling 1.4.0 in XCode, official SDK
  Author    Thread Reply to topic
Sir_Fox



Joined: 11 Jan 2012
Posts: 1
Compiling 1.4.0 in XCode, official SDK 

Hi all,

I'm trying to compile the later releases in Xcode, but on any release > 1.2.0, the build fails. Seems the scummvm.xcodeproj is outdated and out of sync with the rest of the tree. The create_project tool(which does compile in Xcode) only creates an empty Xcode project, with only targets and no file references. As 1.4.0 is released for iPhone, i assume there is a way of doing this.

Any help would be greatly appreciated.

 Reply with quote  
Post Wed Jan 11, 2012 10:29 pm 
 View user's profile Send private message
MrPerphekt



Joined: 03 Feb 2012
Posts: 9
Takes some work 

I finally just managed to get the master branch to build today. It takes quite a bit of work. First I went and removed all the files that no longer exist from the project (the red ones) and then I had to go through every directory in the project and add the files that were missing in the project but existed on disk (not all files on disk are for iOS so you'll have to eliminate those that don't compile). Then I had to add library references that were missing (UIKit etc). It definitely takes quite a bit of work to get the project up to date. I can't say for sure that my end product is a complete build of ScummVM due to me having to disable the SCI engine because of linker errors and I didn't add the other engines that existed on disk but not in the project. However, I am playing Day of the Tentacle on my iPad right now. I don't want to check in what I have to the Git repository because, A.) I'm new to iOS development (I'm a C#/C++ guy) and possibly could have effed things up and B.) I didn't include all the engines. However, if you tell me what files I need to send you (ie: xcodeproj, etc) and where to send them I would gladly do so.

 Reply with quote  
Post Wed Feb 08, 2012 10:31 pm 
 View user's profile Send private message
metaneutrons



Joined: 19 Feb 2012
Posts: 1
 

Hi there,

would you please share your working XCode project with us?

Kind regards,
Fabian

 Reply with quote  
Post Sun Feb 19, 2012 6:55 am 
 View user's profile Send private message
MrPerphekt



Joined: 03 Feb 2012
Posts: 9
Just submitted my xcode project as a patch request 

Hi all,

I just submitted my xcode project as a patch request in the SourceForge Tracker. If you want to grab it you can get it from there. Just look under tracker and you'll see my request with the project attached.

https://sourceforge.net/tracker/?func=detail&aid=3494313&group_id=37116&atid=418822

 Reply with quote  
Post Sat Feb 25, 2012 9:00 pm 
 View user's profile Send private message
josejulio



Joined: 09 Apr 2013
Posts: 2
 

Could you please specify the tag/revision it compiles? i have been trying but i get lots of "file not found errors", I guess that is a revision between 1.4.1 and 1.5.0 versions, as in your xcode project it requires the file: engines/scumm/player_apple2.cpp (which seems to be added after 1.4.1) and audio/softsynth/i386.cpp (wich seems to be removed in 1.5.0)
Thanks in advance

 Reply with quote  
Post Tue Apr 09, 2013 1:06 am 
 View user's profile Send private message
MrPerphekt



Joined: 03 Feb 2012
Posts: 9
 

Hi Jose,

My project was for the 1.4.0 branch. Of course, at the time that was the master branch so things could have changed before they moved on to 1.4.1. When I first started working on it there were a ton of file errors usually because the file wasn't in the project but did exist on disk. Most of the work was getting the project to match the disk structure/files and then fixing a few minor pieces of code. You'll need my version of plugins.cpp which is also available under my patch request. My best advice is, if it can't find the file, remove it from the project and see if it compiles then run it and see if it works. Was lots of trial and error for me and I only focused on the scumm engine because that was all I really cared about at the time.

 Reply with quote  
Post Thu Apr 11, 2013 4:09 pm 
 View user's profile Send private message
josejulio



Joined: 09 Apr 2013
Posts: 2
 

Thanks i'll check it out that way, also scummvm is what i care for, and also i'll like to add the multitasking support and another kind of GUI on my spare (which is really reduced right now) time

 Reply with quote  
Post Mon Apr 15, 2013 7:05 pm 
 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