Compiling with Xcode
Moderator: ScummVM Team
Compiling with Xcode
Hello everyone. I'm trying to compile ScummVM for iPhone using Xcode and the oficial SDK, but it doesn't seem to work.
I tried to use the latest version from SVN trunk and from Git, and in both cases the Xcode project seems to be outdated. There are a lot of references to files that don't exist anymore, and even after fixing each one it still fails with more than 100 errors in the linking stage.
Is there anyone maintaining the Xcode project? Is there a way to build ScummVM for iOS devices using the official SDK, or only with the toolchain?
I tried to use the latest version from SVN trunk and from Git, and in both cases the Xcode project seems to be outdated. There are a lot of references to files that don't exist anymore, and even after fixing each one it still fails with more than 100 errors in the linking stage.
Is there anyone maintaining the Xcode project? Is there a way to build ScummVM for iOS devices using the official SDK, or only with the toolchain?
- Vinterstum
- ScummVM Developer
- Posts: 580
- Joined: Sun Oct 16, 2005 6:59 am
- Vinterstum
- ScummVM Developer
- Posts: 580
- Joined: Sun Oct 16, 2005 6:59 am
Thanks, Vinterstum.
Using branch-1-3-0 I was able to build from Xcode for my iOS device. ScummVM-Simulator doesn't build, but I guess that's minor since now I can run it on my device.
As far as I can see, iTunes File Sharing is not implemented, so if my device is not jailbroken the only way to add games is manually, right?
Using branch-1-3-0 I was able to build from Xcode for my iOS device. ScummVM-Simulator doesn't build, but I guess that's minor since now I can run it on my device.
As far as I can see, iTunes File Sharing is not implemented, so if my device is not jailbroken the only way to add games is manually, right?
- Vinterstum
- ScummVM Developer
- Posts: 580
- Joined: Sun Oct 16, 2005 6:59 am
Everytime I try and compile 1.3 for my iPad it fails with some missing file errors. Any thoughts?
arm-apple-darwin10-gcc-4.2.1: /Users/USERNAME/Downloads/scummvm-scummvm-2f6c330/dists/iphone/../../gui/editable.cpp: No such file or directory
arm-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
arm-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
arm-apple-darwin10-gcc-4.2.1: /Users/USERNAME/Downloads/scummvm-scummvm-2f6c330/dists/iphone/../../gui/editable.cpp: No such file or directory
arm-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
arm-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
Hi naevity! Like Vinterstum said, instead of using the "master" branch from github, switch to the "branch-1-3-0" and it will compile successfully. Use the "ScummVM-iPhone" target and compile to device (simulator won't work).naevity wrote:Everytime I try and compile 1.3 for my iPad it fails with some missing file errors. Any thoughts?
- Strangerke
- ScummVM Developer
- Posts: 335
- Joined: Wed Sep 06, 2006 8:39 am
- Location: Belgium
Yes, there are even several mailing lists.
I suggest -devel, in your case.
http://sourceforge.net/mail/?group_id=37116
Best regards,
Strangerke
I suggest -devel, in your case.
http://sourceforge.net/mail/?group_id=37116
Best regards,
Strangerke
I swear I did that, a few times . I'll give it another shot, but this is what I did from memory:cheapo wrote:Hi naevity! Like Vinterstum said, instead of using the "master" branch from github, switch to the "branch-1-3-0" and it will compile successfully. Use the "ScummVM-iPhone" target and compile to device (simulator won't work).naevity wrote:Everytime I try and compile 1.3 for my iPad it fails with some missing file errors. Any thoughts?
Visit here : https://github.com/scummvm/scummvm
Download 1.3.0 package: https://github.com/scummvm/scummvm/zipball/v1.3.0
I thought i used the scummvmiphone target against iOS device too, but maybe I messed something up.
Go to GitHub, click on "Switch Branches" (under "Source") and then select "branch-1-3-0". After that click on Downloads (on the right) and "Download .zip". It will give you all the source files from said branch.naevity wrote:I swear I did that, a few times . I'll give it another shot, but this is what I did from memory:
Visit here : https://github.com/scummvm/scummvm
Download 1.3.0 package: https://github.com/scummvm/scummvm/zipball/v1.3.0
I thought i used the scummvmiphone target against iOS device too, but maybe I messed something up.
Don't forget to add the few files mentioned in the second step of the Official SDK "chapter" in this article.