Closed theavengerr closed 11 years ago
We need ARMv7s arch build script for IOS...
@cv47 here is a script that seems to build and install fine but i can't test because i am having trouble linking ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7s' --extra-ldflags='-arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk' --enable-pic --enable-decoder=rawvideo --disable-asm ,for easier building we could make both armv7 and armv7s libs and and make a fat lib using lipo
I have already tried this script...not working Failed on lipo command....return same architecture
weird worked with me,will try to upload fat ffmpeg libraries after i manage to get them both
alright,here's a fat library,please test it as i have given up on linking with xcode http://www.mediafire.com/download.php?y4932z5esuurbqb also it didn't work because the lipo that comes with mountain lion doesn't know anything about the armv7s arch,so if you use lipo to check them it will return armv7 only,instead use the one in the ios sdk using this command xcrun -sdk iphoneos lipo
@cv47 i have successfully compiled ppsspp video-support branch using the fat libraries i supplied earlier for both arch armv7 and armv7s and it is working perfectly,please note the configurations i used for the libraries are the following: for armv7: ./configure \ --prefix=armv7 \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --enable-avresample \ --enable-cross-compile \ --sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" \ --target-os=darwin \ --cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" \ --extra-cflags="-arch armv7 -mfpu=neon -miphoneos-version-min=6.0" \ --extra-ldflags="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.0" \ --arch=arm \ --cpu=cortex-a8 \ --enable-pic \
for armv7s: ./configure \ --prefix=armv7s \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --enable-avresample \ --enable-cross-compile \ --sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" --target-os=darwin \ --cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" \ --extra-cflags="-arch armv7s -mfpu=neon -miphoneos-version-min=6.0" \ --extra-ldflags="-arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.0" \ --arch=arm \ --cpu=cortex-a9 \ --enable-pic \
then i used xcrun -sdk iphoneos lipo to create the fat libraries since the lipo that comes with mac doesn't know about armv7s
Hi! any progress on this ? so eager to get video on iOS....
so i managed to get it working but i can't seem to able to link the needed libraries through cmake,any help on the subject would be appreciated
Can you paste the errors you get?
-[Unknown]
btw sorry it's not the right place to ask, but @theavengerr do you think you could write up a simple guide to teach others how to build for iOS? (I'd love to try and experiment!)
On Sun, Jun 2, 2013 at 8:07 AM, Unknown W. Brackets < notifications@github.com> wrote:
Can you paste the errors you get?
-[Unknown]
— Reply to this email directly or view it on GitHubhttps://github.com/hrydgard/ppsspp/issues/1730#issuecomment-18799391 .
video build testing......i don't have any IOS device Based on v0.7.6-1107 http://www.mediafire.com/download/ud5284e5itzf779/PPSSPP.ipa
it works flawlessly
how do we get an ios build with atrac3+ working ??? they have it on Android already
@tamagotchi someone can take some time to compile a shared library and rewrite atrac3plus interface
&cv47 it works And I can already make it but i can't seem to be able to link the libraries with cmake so it's not supported out of the box like other platforms
?? Does that mean that we need a cydia type tweak to enable atrac3+ on ios devices??
When I install the PPSSPP ipa compiled by cv47, I can't get Dynarec to work because it detects my iPhone 4S as an Unjailbroken Device, but that's not true. I tried reinstalling it but nothing happened. Does anyone else have the same problem?
Same problem (iPad 3). But there's really not much point fixing this, as @theavengerr will hopefully soon find a way to link the libraries properly, so the separate built won't be needed anymore.
Well, that's true, but it would be great to have something in hand by now xD I really hope this comes out soon... Where will he release the new builds? His cydia repo hasn't been updated for a long time.
Ideally he will push a commit (once he fixes it) that @hrydgard will merge in the main code, so that we can simply pick it up from @angelXwind repo.
On Sun, Jun 9, 2013 at 3:43 PM, DarkTony93 notifications@github.com wrote:
Well, that's true, but it would be great to have something in hand by now xD I really hope this comes out soon... Where will he release the new builds? His cydia repo hasn't been updated for a long time.
— Reply to this email directly or view it on GitHubhttps://github.com/hrydgard/ppsspp/issues/1730#issuecomment-19162223 .
Oh, I see. That's the usual way :) Thanks @bsauvage1, have a nice day :) Keep up the good work, devs! =D
Before:
After:
I found a way to force Dynarec to work. In the Documents folder of PPSSPP cg there is a file called ppsspp.ini with all your saved settings in it. You only have to switch Jit from false to true and it will work. :)
Great!!!! (but strange that we have to force this... well it's an experimental build after all... I'm also hoping this addition (and the atrac3+) can be added to iOS very soon...!!!!)
On Sun, Jun 9, 2013 at 4:49 PM, DarkTony93 notifications@github.com wrote:
I found a way to force Dynarec to work. In the document folder there is a file called ppsspp.ini with all your saved settings in it. You only have to switch Dynarec from false to true and it will work. :)
— Reply to this email directly or view it on GitHubhttps://github.com/hrydgard/ppsspp/issues/1730#issuecomment-19162811 .
is there a test version of the ios atrac3+ build?
be patient,guy...this testing version get crash on some games, unstable (not compile by me) http://www.mediafire.com/?m6aspsoschw6thb
@openglhk just tried and couldn't make it work on any game (crash at the first video): FF7CC, Persona 3, GoW Chains of Sparta...
Guess we'll just have to wait!
Thanks for posting this anyway.
@DarkTony93 I have updated the ppsspp.ini, yet it still refuses to turn on Dynarec (iPad 3)
Video works great @46fps on the iPad (but frameskip makes it stutter very badly, so it's better without it)
It works on iphone with Need for speed most wanted.music and videos but other games crash..
Thank you for posting
@bsauvage1 You don't have to turn it on in the settings, you just have to change the value in the .ini file. Even after the mod in that file, don't touch the Dynarec option in the settings :) The build is a little bit slower than the normal one, but it is still a WIP, so that's fine. =D And yeah, you have to turn off frameskip during videos, otherwise it will stutter.
I've submitted a pull request (#2241) that modifies the iOS cmake file to include the ffmpeg support. Hopefully it will get merged in soon. Thanks go to @theavengerr for figuring out how to get ffmpeg to compile!
Okay, it's been merged. Now it's up to @angelXwind to update her builds
That will be done in an hour or so as I set up KarenBuildBot again (took it down temporarily to move things around and fix some weird bug with another project I compile)
....does it work with atrac3+ ?
THANK YOU @theavengerr, @jtraynham, @angelXwind, and all our faithful iOS devs!!!!
aaaaaaaand closed
in the video-support branch,USE_FFMPEG is not defined for ios and ffmpeg libraries are not linked when using cmake,i tried linking them myself but xcode drove me nuts,also the ios build script is not working for the currently used ffmpeg version but it worked flawlessly on a fresh clone from latest git