Opened 12 years ago

Closed 12 years ago

Last modified 5 years ago

#5930 closed defect

IPHONE: Port Compilation Failure

Reported by: SF/erik_andre Owned by:
Priority: normal Component: Port: iOS
Version: Keywords: build
Cc: Game:

Description

I've tried following the instructions here: http://wiki.scummvm.org/index.php/Compiling_ScummVM/iPhone

However I get an error stating that "m4.dat" is missing. The file is not included, and I can't seem to find the reference.

Ticket imported from: #3462176. Ticket imported from: bugs/5930.

Change History (8)

comment:1 by digitall, 12 years ago

Summary: iPhone port won't compileIPHONE: Port Compilation Failure

comment:2 by digitall, 12 years ago

The m4.dat is an external datafile required for the Work In Progress M4 engine. This was removed from the main development tree a while ago as development was stalled and has been moved to an external development branch of the engine developers. See: http://wiki.scummvm.org/index.php/M4 http://forums.scummvm.org/viewtopic.php?p=70157#70157

All references to the m4.dat file should have been removed from the configure and build scripts, but a few stray references persisted for a number of revisions. I have checked the current Git master and this should now be OK. Please ensure you have updated your current source code tree to the latest Git master... and report here if this has fixed the issue. Otherwise, please give the actual failing command and error message from XCode/Command line so we can work out where the stray reference is....

comment:3 by lordhoto, 12 years ago

The XCode files have not been updated for this change (yet). The last update to them took place over half a year ago.

comment:4 by digitall, 12 years ago

Ah, found them: scummvm/dists/iphone/scummvm.xcodeproj/*

Lordhoto: Can these be regenerated by devtools/create_project ?

comment:5 by lordhoto, 12 years ago

No they can't be generated by create_project yet AFAIK.

comment:6 by digitall, 12 years ago

The Xcode project files are provided to help OSX developers work with the standard OSX toolchain and IDE, but the official way to compile / cross-compile on OSX is via the standard Unix configure script and make.

Adding XCode support is on the create_project TODO list, but this is likely to take some time.

Until then, the dists/iphone project files will need to be updated manually, but will tend to lag development, so any developer using them is required to understand and fix up as necessary. A pull request is open on this with some updates, so transferring the discussion to there and closing this with Later: https://github.com/scummvm/scummvm/pull/198

comment:7 by digitall, 12 years ago

Status: newclosed

comment:8 by digitall, 5 years ago

Component: Port: iOS
Note: See TracTickets for help on using tickets.