[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] ios build attempt
it looks like your building for simulator and not idevice.
and then, if you're building it for simulator, you'll need to go into targets->buildphases->linkbinarywithlibraries and replace the libsndfile_iphone.a with scUBlibsndfile.a from platform/mac/lib.
but otherwise, just plug in your idevice and select it in active scheme. i've build in release without problems.
_f
28 dec 2012 kl. 17:19 skrev John Schmitt <videoolds@xxxxxxxxx>:
> Hi,
>
> I just did the whole procedure again from scratch. The files referenced in externals/yaml/src are found (the file names turn black). I checked and checked again the header search paths for all three configurations (debug, release, cydia).
>
> It builds up to the linking stage. Then I get the following errors.
>
> Does anyone know what this means?
>
> -------------------------------------------------------------------
>
> Ld build_iphone/Debug-iphonesimulator/SuperCollider.app/SuperCollider normal i386
> cd /Users/axel/isc/platform/iphone
> setenv MACOSX_DEPLOYMENT_TARGET 10.6
> setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/axel/isc/platform/iphone/build_iphone/Debug-iphonesimulator -Llib -L../mac/lib -L/Applications/SC3/git/iphone/lib -L/Applications/SC3/git/mac/lib -L/Applications/SC3/git/platform/iphone/lib -L/Applications/SC3/git/platform/mac/lib -F/Users/axel/isc/platform/iphone/build_iphone/Debug-iphonesimulator -filelist /Users/axel/isc/platform/iphone/build_iphone/iPhone_Language.build/Debug-iphonesimulator/SuperCollider.build/Objects-normal/i386/SuperCollider.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 /Users/axel/isc/platform/iphone/build_iphone/Debug-iphonesimulator/libscsynth.a -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework AudioToolbox -framework UIKit -framework Foundation -framework MediaPlayer -framework
> Accelerate -lsndfile_iphone -o /Users/axel/isc/platform/iphone/build_iphone/Debug-iphonesimulator/SuperCollider.app/SuperCollider
>
> ld: warning: directory '/Applications/SC3/git/iphone/lib' following -L not found
> ld: warning: directory '/Applications/SC3/git/mac/lib' following -L not found
> ld: warning: directory '/Applications/SC3/git/platform/iphone/lib' following -L not found
> ld: warning: directory '/Applications/SC3/git/platform/mac/lib' following -L not found
> ld: warning: in lib/libsndfile_iphone.a, missing required architecture i386 in file
> Undefined symbols:
> "_sf_read_float", referenced from:
> prSFRead(VMGlobals*, int)in PyrFilePrim.o
> "_sf_write_int", referenced from:
> prSFWrite(VMGlobals*, int)in PyrFilePrim.o
> "_sf_read_int", referenced from:
> prSFRead(VMGlobals*, int)in PyrFilePrim.o
> "_sf_read_short", referenced from:
> prSFRead(VMGlobals*, int)in PyrFilePrim.o
> "_sf_close", referenced from:
> prSFClose(VMGlobals*, int)in PyrFilePrim.o
> BufFreeCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufWriteCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufWriteCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufCloseCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> _World_Cleanup in libscsynth.a(libscsynth.a-i386-master.o)
> _World_Cleanup in libscsynth.a(libscsynth.a-i386-master.o)
> _World_Cleanup in libscsynth.a(libscsynth.a-i386-master.o)
> _World_Cleanup in libscsynth.a(libscsynth.a-i386-master.o)
> _World_NonRealTimeSynthesis in libscsynth.a(libscsynth.a-i386-master.o)
> _World_NonRealTimeSynthesis in libscsynth.a(libscsynth.a-i386-master.o)
> "_sf_writef_float", referenced from:
> BufWriteCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> _World_NonRealTimeSynthesis in libscsynth.a(libscsynth.a-i386-master.o)
> (anonymous namespace)::DiskIOMsg::Perform()in libscsynth.a(libscsynth.a-i386-master.o)
> "YAML::EncodeBase64(unsigned char const*, unsigned long)", referenced from:
> YAML::Utils::WriteBinary(YAML::ostream&, YAML::Binary const&)in emitterutils.o
> "_sf_readf_float", referenced from:
> BufAllocReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> _World_NonRealTimeSynthesis in libscsynth.a(libscsynth.a-i386-master.o)
> _DiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> _DiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> _DiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_first in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_first in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_first in libscsynth.a(libscsynth.a-i386-master.o)
> (anonymous namespace)::DiskIOMsg::Perform()in libscsynth.a(libscsynth.a-i386-master.o)
> (anonymous namespace)::DiskIOMsg::Perform()in libscsynth.a(libscsynth.a-i386-master.o)
> (anonymous namespace)::DiskIOMsg::Perform()in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> "_sf_write_float", referenced from:
> prSFWrite(VMGlobals*, int)in PyrFilePrim.o
> "_sf_error_str", referenced from:
> BufWriteCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> "_sf_write_double", referenced from:
> prSFWrite(VMGlobals*, int)in PyrFilePrim.o
> "_sf_read_double", referenced from:
> prSFRead(VMGlobals*, int)in PyrFilePrim.o
> "_sf_write_short", referenced from:
> prSFWrite(VMGlobals*, int)in PyrFilePrim.o
> "_sf_open", referenced from:
> prSFOpenRead(VMGlobals*, int) in PyrFilePrim.o
> prSFOpenWrite(VMGlobals*, int) in PyrFilePrim.o
> BufAllocReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufWriteCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> _World_NonRealTimeSynthesis in libscsynth.a(libscsynth.a-i386-master.o)
> _World_NonRealTimeSynthesis in libscsynth.a(libscsynth.a-i386-master.o)
> "_sf_seek", referenced from:
> prSFSeek(VMGlobals*, int)in PyrFilePrim.o
> BufAllocReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufAllocReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> BufReadChannelCmd::Stage2() in libscsynth.a(libscsynth.a-i386-master.o)
> _DiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_first in libscsynth.a(libscsynth.a-i386-master.o)
> (anonymous namespace)::DiskIOMsg::Perform()in libscsynth.a(libscsynth.a-i386-master.o)
> _VDiskIn_next in libscsynth.a(libscsynth.a-i386-master.o)
> "_sf_command", referenced from:
> prSFHeaderInfoString(VMGlobals*, int) in PyrFilePrim.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
#|
fredrikolofsson.com musicalfieldsforever.com
|#
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/