Compilled Scummvm 1.8.1 for old IOS

Subforum for discussion and help with ScummVM's iPhone port

Moderator: ScummVM Team

Post Reply
User avatar
kelorvs
Posts: 4
Joined: Mon Aug 29, 2016 8:02 am

Compilled Scummvm 1.8.1 for old IOS

Post by kelorvs » Mon Aug 29, 2016 8:59 am

Good Day!
Please Help me compile, Scummvm 1.8.1 for old IOS.
I'm read article here http://wiki.scummvm.org/index.php/Compi ... mVM/iPhone.
I'm installed Xcode 7.3.1
I'm trying build ios toolchain.
Step 1: Build llvm+clang version: 3.7.1. I'm passed.
Step 2: Very many errors, and any next step not passed.
Please help me, how build complete ios toolchain on my Mac OS El Capitan. How to set up and you need to install? I am a novice, please do not kick me!

digitall
ScummVM Developer
Posts: 954
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Mon Aug 29, 2016 11:29 pm

See:
http://wiki.scummvm.org/index.php/Compi ... hain_Setup
https://github.com/lordhoto/ios-toolchain

Apart from this, give the first few errors which you are seeing and we will try to help.

User avatar
kelorvs
Posts: 4
Joined: Mon Aug 29, 2016 8:02 am

Post by kelorvs » Tue Aug 30, 2016 7:46 am

Very Thank you digitall. I will try!

User avatar
kelorvs
Posts: 4
Joined: Mon Aug 29, 2016 8:02 am

Post by kelorvs » Tue Aug 30, 2016 10:21 pm

Good Evening, Mr. Digitall!
I trying build cctools-port.sh and again errors with building.
This Error code.
[codeBuilding cctools-port...
Building target arm-apple-darwin9...
configure.ac:199: installing './compile'
configure.ac:189: installing './missing'
Makefile.am: installing './INSTALL'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libstuff.a(libstuff_la-port.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libstuff.a(libstuff_la-port.o) has no symbols
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
ld: warning: directory not found for option '-L/usr/pkg/lib'
clang-3.7: warning: argument unused during compilation: '-pthread'
clang-3.7: warning: argument unused during compilation: '-pthread'
ld: warning: directory not found for option '-L/usr/pkg/lib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libhelper.a(libhelper_la-strlcat.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libhelper.a(libhelper_la-strlcpy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libhelper.a(libhelper_la-md5.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libhelper.a(libhelper_la-strlcat.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libhelper.a(libhelper_la-strlcpy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libhelper.a(libhelper_la-md5.o) has no symbols
opaque_section_file.cpp:26:10: fatal error: 'vector' file not found
#include <vector>
^
textstub_dylib_file.cpp:29:10: fatal error: 'vector' file not found
#include <vector>
^
lto_file.cpp:38:10: fatal error: 'vector' file not found
#include <vector>
^
macho_dylib_file.cpp:33:10: fatal error: 'vector' file not found
#include <vector>
^
archive_file.cpp:32:10: fatal error: 'vector' file not found
#include <vector>
^
In file included from macho_relocatable_file.cpp:37:
./libunwind/DwarfInstructions.hpp:36:10: fatal error: 'algorithm' file not found
#include <algorithm>
^
1 error generated.
make[4]: *** [libParsers_la-opaque_section_file.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
1 error generated.
make[4]: *** [libParsers_la-archive_file.lo] Error 1
1 error generated.
1 error generated.
make[4]: *** [libParsers_la-textstub_dylib_file.lo] Error 1
make[4]: *** [libParsers_la-lto_file.lo] Error 1
1 error generated.
make[4]: *** [libParsers_la-macho_relocatable_file.lo] Error 1
1 error generated.
make[4]: *** [libParsers_la-macho_dylib_file.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1[/code]

digitall
ScummVM Developer
Posts: 954
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Thu Sep 01, 2016 12:01 pm

You are exactly following the instructions in the guide?
https://github.com/lordhoto/ios-toolcha ... /README.md

I am not an OSX developer and have no Apple machines. I suggest you talk to lordhoto who maintains that toolchain.

User avatar
kelorvs
Posts: 4
Joined: Mon Aug 29, 2016 8:02 am

Post by kelorvs » Thu Sep 01, 2016 8:31 pm

Thanks for answer, Mr. Digitall.
Yes i read this readme. I don't know why this error :(
May be, tell me please, how build scummvm for IOS old devices, differently, example in Linux. :roll: Which OS you used to build scummvm, for IOS devices?

mvickers03
Posts: 4
Joined: Sun Nov 06, 2016 12:12 pm

Post by mvickers03 » Thu Nov 17, 2016 4:07 pm

Hi, I need ScummVM 1.8 for iOS so I can play beavis and butthead.

Did you get it working?

Please share if you did.

digitall
ScummVM Developer
Posts: 954
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Fri Nov 18, 2016 6:37 am

mvickers03: If you are running iOS v7+, you can just download the latest stable release from here:
http://www.scummvm.org/downloads/

If you are running an older iOS then you can try the stable or development auto-generated builds from the buildbot which supports the older iOS toolchain and targets:
http://buildbot.scummvm.org/builds.html

mvickers03
Posts: 4
Joined: Sun Nov 06, 2016 12:12 pm

Post by mvickers03 » Fri Nov 18, 2016 7:11 pm

Thanks! The stable build worked but when I tried to bring up the scumm menu during game it displayed for a split second the went off, the daily build worked fine (displays 1.10 on the main screen) and works fine :) now) playing Beavis and Butthead right now. I just over wrote the Scumm files on the iPad using Ifunbox, it didn't work unless an old ScummVM was installed first.

Thanks man :)

Post Reply