libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.31k stars 1.84k forks source link

ios dont build cores, dont build even the app.. #693

Closed mangasprai closed 9 years ago

mangasprai commented 10 years ago

i cant build the emu cores of libretro super after fetching them.. also, with correct provisioning profile, ios retroarch doesnt build due to 3 bugs.. what the..?

inactive123 commented 10 years ago

List them.

mangasprai commented 10 years ago

lets start building the fetched files: tried a million times by now it gives me this:

iOS path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk iOS version: 71 Compiler: ios ios Directory /Users/Dario/dist/ios already exists, skipping creation... === Building bSNES C++98 === clang++ -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c snes/libretro/libretro.cpp -o obj/libretro.o clang -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c libco/libco.c -o obj/libco.o clang++ -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c snes/interface/interface.cpp -o obj/snes-interface.o clang++ -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c snes/system/system.cpp -o obj/snes-system.o clang++ -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c snes/controller/controller.cpp -o obj/snes-controller.o clang++ -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c snes/cartridge/cartridge.cpp -o obj/snes-cartridge.o clang++ -arch armv7 -isysroot -DHAVE_POSIX_MEMALIGN=1 -marm -miphoneos-version-min=5.0 -O3 -fomit-frame-pointer -I. -Isnes -fPIC -DPROFILE_PERFORMANCE -c snes/cheat/cheat.cpp -o obj/snes-cheat.o 2014-05-20 10:12:45.613 xcodebuild[649:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2014-05-20 10:12:45.955 xcodebuild[654:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2014-05-20 10:12:45.990 xcodebuild[660:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2014-05-20 10:12:45.996 xcodebuild[655:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2014-05-20 10:12:46.019 xcodebuild[657:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2014-05-20 10:12:46.040 xcodebuild[658:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2014-05-20 10:12:46.065 xcodebuild[659:d07] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs clang: clang: warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' clang: warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' clang: warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' clang: warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' clang: warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' clang: warning: no such sysroot directory: '-DHAVE_POSIX_MEMALIGN=1' In file included from libco/libco.c:14: libco/armeabi.c:9:10: fatal error: 'assert.h' file not found

include

     ^

In file included from snes/cheat/cheat.cpp:1: In file included from ./snes/snes.hpp:20: In file included from ./nall/string.hpp:4: ./nall/C++98.hpp:4:10: fatal error: 'cstddef' file not found

include

     ^

In file included from snes/controller/controller.cpp:1: In file included from ./snes/snes.hpp:20: In file included from ./nall/string.hpp:4: ./nall/C++98.hpp:4:10: fatal error: 'cstddef' file not found

include

     ^

In file included from In file included from snes/interface/interface.cpp:1: In file included from ./snes/snes.hpp:20: In file included from ./nall/string.hpp:4: ./nall/C++98.hpp:4:10: fatal error: 'cstddef' file not found

include

     ^

snes/system/system.cpp:1: In file included from ./snes/snes.hpp:20: In file included from ./nall/string.hpp:4: ./nall/C++98.hpp:4:10: fatal error: 'cstddef' file not found

include

     ^

In file included from snes/cartridge/cartridge.cpp:1: In file included from ./snes/snes.hpp:20: In file included from ./nall/string.hpp:4: ./nall/C++98.hpp:4:10: fatal error: 'cstddef' file not found

include

     ^

1 error generated. make: * [obj/libco.o] Error 1 make: * Waiting for unfinished jobs.... In file included from snes/libretro/libretro.cpp:2: In file included from ./snes/snes.hpp:20: In file included from ./nall/string.hpp:4: ./nall/C++98.hpp:4:10: fatal error: 'cstddef' file not found

include

     ^

1 error generated. 1 error generated. make: * [obj/snes-interface.o] Error 1 make: * [obj/snes-cheat.o] Error 1 1 error generated. make: * [obj/snes-controller.o] Error 1 1 error generated. make: * [obj/libretro.o] Error 1 1 error generated. make: * [obj/snes-cartridge.o] Error 1 1 error generated. make: * [obj/snes-system.o] Error 1 iMac-di-Dario-Rigon:~ Dario$

Themaister commented 10 years ago

Yes, -isysroot is missing an argument.

mangasprai commented 10 years ago

so what should i do? i just followed the instructions :|

mangasprai commented 10 years ago

!/bin/bash

set -e

BASE_DIR="$PWD" RARCH_DIR=$BASE_DIR/dist RARCH_DIST_DIR=$RARCH_DIR/ios FORMAT=_ios FORMAT_COMPILER_TARGET=ios FORMAT_COMPILER_TARGET_ALT=ios FORMAT_EXT=dylib JOBS=7 MAKE=make CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0" IOS=1

IOSSDKLOC=$(xcrun -sdk iphoneos -show-sdk-path) IOSVER_MAJOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '1') IOSVER_MINOR=$(xcrun -sdk iphoneos -show-sdk-platform-version | cut -c '3') IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR} echo "iOS path: ${IOSSDKLOC}" echo "iOS version: ${IOSVER}"

. /Users/Dario/libretro-super/libretro-build-common.sh

if [ $1 ]; then $1 else build_libretro_bsnes_cplusplus98 build_libretro_bsnes build_libretro_mednafen

build_libretro_mednafen_snes

build_libretro_s9x build_libretro_s9x_next build_libretro_genplus build_libretro_fba_full build_libretro_vbam build_libretro_vba_next build_libretro_fceumm build_libretro_gambatte

build_libretro_meteor

build_libretro_nx build_libretro_prboom build_libretro_stella build_libretro_quicknes build_libretro_nestopia build_libretro_tyrquake build_libretro_mame078

build_libretro_mame

build_libretro_dosbox

build_libretro_scummvm build_libretro_picodrive build_libretro_handy build_libretro_desmume build_libretro_pcsx_rearmed build_libretro_pcsx_rearmed_interpreter build_libretro_modelviewer build_libretro_scenewalker build_libretro_instancingviewer build_libretro_instancingviewer_camera build_libretro_mupen64

build_libretro_ffmpeg

build_libretro_dinothawr build_libretro_3dengine fi

in this file i tried to comment some builds to see if bsnes was the problem.. nope. With any of those builds it tells me something is missing..

Themaister commented 10 years ago

@twinaphex is looking into it.