[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] ios build attempt
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
----- Original Message -----
From: Fredrik Olofsson <f@xxxxxxxxxxxxxxxxxxx>
To: sc-users@xxxxxxxxxxxxxxxx
Cc:
Sent: Thursday, December 27, 2012 9:19 PM
Subject: Re: [sc-users] ios build attempt
hm, i vaguely recognize that error. try to clean the project and rebuild. double check that the yaml headers are found on the left side in xcode.
sorry not sure, but i think it's something with the yaml directory not found. the iphone xcode project expects an old version (0.2.6) while the sc source comes with 0.3.0.
_f
27 dec 2012 kl. 21:10 skrev John Schmitt <videoolds@xxxxxxxxx>:
> Hi Fredrik,
>
> thanks so much. You were right. I didn't do git submodule update. Not because I forgot, but because I had no clue ;-)
>
> With your instructions I managed to get X-Code to compile. It now fails at the link stage with only 16 errors, e.g:
>
> "YAML::EncodeBase64(unsigned char const*, unsigned long)", referenced from:
> ...
>
> "_sf_close", referenced from:
>
> ...
>
> etc.
>
> I changed the active configuration to release, but I guess this doesn't matter. Can you tell what's missing?
>
> Axel
>
>
>
>
>
>
> ----- Original Message -----
> From: Fredrik Olofsson <f@xxxxxxxxxxxxxxxxxxx>
> To: sc-users@xxxxxxxxxxxxxxxx
> Cc:
> Sent: Thursday, December 27, 2012 8:34 PM
> Subject: Re: [sc-users] ios build attempt
>
> hi Axel,
> maybe you forgot to do submodule update again after checkout that particular revision?
>
> anyway, here are new build instructions that i used just a few weeks ago. hope it works for you as well.
>
>
> in terminal:
> git clone git://supercollider.git.sourceforge.net/gitroot/supercollider/supercollider isc
> cd isc
> git submodule init && git submodule update
> git checkout 0f2460141127563c01d0dc4501cc82c477178cac
> git submodule init && git submodule update
>
> in xcode:
> go to externals/yaml/src and reset directory to ../../yaml-cpp-0.3.0/src
> doubleclick iPhone_Language, click target SuperCollider, click Build Settings and scroll down to Search Paths, change in Header Search Paths to ../../external_livraries/yaml-cpp-0.3.0/include
>
>
> _f
>
>
> 27 dec 2012 kl. 20:29 skrev John Schmitt <videoolds@xxxxxxxxx>:
>
>> Hi list,
>>
>> got an ipod touch 4 and attempted to build sc ios. I used this info Fredrik Olofsson provided on a thread from a few months ago:
>>
>> "i build isc with xcode and use commit 0f2460141127563c01d0dc4501cc82c477178cac from 14mar 2012
>>
>> then i only need to...
>> expand the iPhone_Synth.xcodeproj in the menu on the left-hand side and add the file function_attributes.h to include/common/
>> add '../../external_libraries/nova-simd' to build settings -> header search path
>> "
>>
>> So I checked out the commit with the above id and followed the other steps but I still get 312 errors.
>>
>> The first one is about "Boost/atomic.hpp: no such file or directory". I found the file in the nova-tt directory and included that in the build header search path but the result is still the same. And that's where I don't know how to proceed further. Any ideas?
>>
>> Cheers,
>> Axel
#|
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/
_______________________________________________
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/