Csound Csound-dev Csound-tekno Search About

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

Date2014-10-26 17:16
FromSteven Yi
SubjectRe: [Cs-dev] Trying to build CSound iOS 5.19
AttachmentsNone  None  
1. Have you tried Csound 6?  It's already built for arm64.
2. You might try using this libsndfile-iOS zip:


3. Copy libsndfile.h to a location that xcode will find.  Try /usr/local/include.



On Sun Oct 26 2014 at 12:51:26 PM lppier <madstrum@gmail.com> wrote:
Hi,

I'm trying to build CSound iOS 5.19 on OS X as I want the arm64
architecture, and 5.19 specifically. I have downloaded CSound 5.19.1 from
the source forge website.
I have CMake and libsndfile installed from
http://www.mega-nerd.com/libsndfile/
I proceeded to run build.sh in the iOS directory of the source.

I see the following error messages. (sorry it's a little long) Where is
sndfile.h supposed to be located? how can I resolve this build error?

Thanks for your help.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.o
Engine/cfgvar.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/cfgvar.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.o
In file included from
/Users/pier/Downloads/Csound5.19.01/Engine/cfgvar.c:30:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.o
Engine/auxfd.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/auxfd.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.o
In file included from /Users/pier/Downloads/Csound5.19.01/Engine/auxfd.c:24:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.o
Engine/corfiles.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/corfiles.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.o
In file included from
/Users/pier/Downloads/Csound5.19.01/Engine/corfiles.c:24:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.o
Engine/cs_par_base.c normal i386 c
com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/cs_par_base.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.o
In file included from
/Users/pier/Downloads/Csound5.19.01/Engine/cs_par_base.c:27:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

** BUILD FAILED **


The following build commands failed:
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.o
Engine/cfgvar.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.o
Engine/auxfd.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.o
Engine/corfiles.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.o
Engine/cs_par_base.c normal i386 c
com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
fatal error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo:
libcsound-device.a and Release/libcsound.a have the same architectures
(armv7) and can't be in the same fat output file



--
View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-build-CSound-iOS-5-19-tp5738128.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-10-26 23:15
Fromlppier
SubjectRe: [Cs-dev] Trying to build CSound iOS 5.19
AttachmentsNone  None  
Hi Steven

I tried it, it's not too suitable, for some reason the sound always breaks up in the beginning but it's ok afterwards. In the interest of keeping things as close as possible while fulfilling the new ios requirements, I tried to build 5.19.
I'll try it out when I get back tonight, thanks. 
Just to clarify, I'm simply trying to compile csound with the old architectures, haven't added arm64 in yet.
Are there any required changes to the csound source code itself to support arm64?
Many thanks.


On 27 Oct 2014, at 1:17 am, Steven Yi [via Csound] <[hidden email]> wrote:

1. Have you tried Csound 6?  It's already built for arm64.
2. You might try using this libsndfile-iOS zip:


3. Copy libsndfile.h to a location that xcode will find.  Try /usr/local/include.



On Sun Oct 26 2014 at 12:51:26 PM lppier <[hidden email]> wrote:
Hi,

I'm trying to build CSound iOS 5.19 on OS X as I want the arm64
architecture, and 5.19 specifically. I have downloaded CSound 5.19.1 from
the source forge website.
I have CMake and libsndfile installed from
http://www.mega-nerd.com/libsndfile/
I proceeded to run build.sh in the iOS directory of the source.

I see the following error messages. (sorry it's a little long) Where is
sndfile.h supposed to be located? how can I resolve this build error?

Thanks for your help.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.o
Engine/cfgvar.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/cfgvar.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.o
In file included from
/Users/pier/Downloads/Csound5.19.01/Engine/cfgvar.c:30:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.o
Engine/auxfd.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/auxfd.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.o
In file included from /Users/pier/Downloads/Csound5.19.01/Engine/auxfd.c:24:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.o
Engine/corfiles.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/corfiles.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.o
In file included from
/Users/pier/Downloads/Csound5.19.01/Engine/corfiles.c:24:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.o
Engine/cs_par_base.c normal i386 c
com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/pier/Downloads/Csound5.19.01
    export LANG=en_US.US-ASCII
    export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/pier/android-sdk-macosx/tools:/Users/pier/.rvm/gems/ruby-1.9.2-p318/bin:/Users/pier/.rvm/gems/ruby-1.9.2-p318@global/bin:/Users/pier/.rvm/rubies/ruby-1.9.2-p318/bin:/Users/pier/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/git/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c -arch i386 -fmessage-length=80 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs
-fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion
-Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-DCMAKE_INTDIR=\"Release-iphonesimulator\" -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes\"
-DUSE_LRINT -DMACOSX -DPIPES -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
-fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations
-Wno-sign-conversion -mios-simulator-version-min=5.0
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/local/include
-I/Users/pier/Downloads/Csound5.19.01/H
-I/Users/pier/Downloads/Csound5.19.01/Engine
-I/Users/pier/Downloads/Csound5.19.01
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources/i386
-I/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/DerivedSources
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-F/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Release -DNDEBUG
-D__BUILDING_LIBCSOUND -DENABLE_NEW_PARSER -DPARCS -DHAVE_DIRENT_H
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -MMD -MT dependencies -MF
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.d
--serialize-diagnostics
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.dia
-c /Users/pier/Downloads/Csound5.19.01/Engine/cs_par_base.c -o
/Users/pier/Downloads/Csound5.19.01/ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.o
In file included from
/Users/pier/Downloads/Csound5.19.01/Engine/cs_par_base.c:27:
In file included from
/Users/pier/Downloads/Csound5.19.01/H/csoundCore.h:743:
/Users/pier/Downloads/Csound5.19.01/H/prototyp.h:27:10: fatal error:
      'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.

** BUILD FAILED **


The following build commands failed:
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cfgvar.o
Engine/cfgvar.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/auxfd.o
Engine/auxfd.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/corfiles.o
Engine/corfiles.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC
ios/cs5iOS/Csound.build/Release-iphonesimulator/csound-static.build/Objects-normal/i386/cs_par_base.o
Engine/cs_par_base.c normal i386 c
com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
fatal error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo:
libcsound-device.a and Release/libcsound.a have the same architectures
(armv7) and can't be in the same fat output file



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

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel



If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/Trying-to-build-CSound-iOS-5-19-tp5738128p5738129.html
To unsubscribe from Trying to build CSound iOS 5.19, click here.
NAML


View this message in context: Re: Trying to build CSound iOS 5.19
Sent from the Csound - Dev mailing list archive at Nabble.com.

Date2014-10-27 12:40
Fromlppier
SubjectRe: [Cs-dev] Trying to build CSound iOS 5.19
Hi Steven, 

Thanks for the tips, I have libcsound.a for arm7,arm7s and arm64 compiled
now. 
Will test it out this weekend to make sure it works. 

Do you want me to upload the arm64 ready binary to sourceforge after I
verify it's working? Perhaps there are others who want it as well.  
I can do a package like csound-iOS-5.19.02.2.zip. Let me know. 



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

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