Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Trying to build CSound iOS 5.19

Date2014-10-30 13:34
FromSteven Yi
SubjectRe: [Cs-dev] Trying to build CSound iOS 5.19
AttachmentsNone  None  
Yes, it needs to be static inline instead of just inline (this has come up as an issue in Csound 6 and has been addressed already).

On Thu Oct 30 2014 at 12:52:06 AM lppier <madstrum@gmail.com> wrote:
I ran into additional niggies trying to compile the csound project, after
using the libcsound.a library from the compiled csound build for iOS.

Undefined symbols for architecture armv7:
  "_csp_set_count", referenced from:
      _csp_dag_build in libcsound.a(cs_par_dispatch.o)
  "_csp_set_get_num", referenced from:
      _csp_locks_insert in libcsound.a(cs_par_dispatch.o)
  "_csp_dag_is_finished", referenced from:
      _kperfThread in libcsound.a(csound.o)
      _kperf in libcsound.a(csound.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

So what I did was to look for the individual files cs_par_dispatch.h ,
cs_par_base.h where the above functions were defined. For some reason,
building on osx10.10, the clang compiler doesn't recognise the "inline"
statement fully. http://clang.llvm.org/compatibility.html#inline Removed the
inline from the front of the function, and rebuilt csound for iOS.
Is there any consequence to doing this?

Used the new libcsound.a and it works now with arm64 in the valid
architectures of the iOS project. Still testing it out but so far it seems
ok.

I'm a happy guy!




--
View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-build-CSound-iOS-5-19-tp5738128p5738197.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2014-11-01 05:16
Fromlppier
SubjectRe: [Cs-dev] Trying to build CSound iOS 5.19
Hmm.. I just saw this in the run logs when I start up a simulator .. (I don't
have iPad Air and above - > the one with the 64bit chip) 
Don't see it when I run on the iPad3 itself though. (I only have 1 iPad 3)
and it's 32bit. 

WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libampmidid.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libcellular.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libchua.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libcmidi.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libcontrol.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libcs_date.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libdoppler.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libfareygen.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libfluidOpcodes.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libfractalnoise.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libimage.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libmixer.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libosc.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libplaterev.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libpmidi.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libpy.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtauhal.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtpa.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libscansyn.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libserial.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libsignalflowgraph.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libstdutil.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libsystem_call.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libudprecv.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libudpsend.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libvirtual.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libwidgets.dylib'
(-1)

I think these are dynamic libraries loading at run time for certain csound
opcodes, right? 
Is it any cause for concern if I have only been using the ones included with
iOS so far? 





--
View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-build-CSound-iOS-5-19-tp5738128p5738256.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net