| Sounds good; good luck with CsoundQT building, and we'll be here happy
to assist for any further issues. Thanks again for taking this on!
steven
On Thu, Dec 11, 2014 at 10:00 AM, joachim heintz wrote:
> thanks, steven. meanwhile i have built without stk opcodes, and that
> worked. but i will try your way when i can go back to this.
>
> currently, my main problem is building csoundqt. i have written andrés
> about it, but i think he is off for some days. i hope i can go on next
> week. or maybe christmas is a good time for it ... =)
>
> at least i found confirmed that the new osx installer for csound 6.04
> does not work for osx 10.6, so it makes sense to proceed.
>
> best -
> joachim
>
>
> Am 11.12.2014 um 00:44 schrieb Steven Yi:
>> Hi Joachim,
>>
>> Sorry this email got drowned out in my inbox! The error is reporting
>> that the library you have is not a universal build (for both i386 and
>> x86_64). It looks like libstk.a was only built with x86_64. I just
>> spent the last 10 minutes trying to get libstk built with both
>> architectures but I didn't succeed. (I've been using the same libstk.a
>> I built a long time ago and don't remember how I built this library.)
>>
>> Ah! Just found a way. So this:
>>
>> 1. untar stk-4.5.0
>> 2. cd into the stk-4.5.0 folder
>> 3. run ./configure
>> 4. edit the src/Makefile so that the CFLAGS line looks like this:
>>
>> CFLAGS = -O3 -Wall -arch i386 -arch x86_64
>>
>> 5. run make -j6
>>
>> Also be sure you're working with a clean stk folder.
>>
>> On Sat, Dec 6, 2014 at 4:08 PM, joachim heintz wrote:
>>> now building stops at stk opcodes -- any idea? this is the output:
>>>
>>> [ 84%] Building CXX object
>>> Opcodes/stk/CMakeFiles/stk-ops.dir/stkOpcodes.cpp.o
>>> cd
>>> /Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/build/Opcodes/stk
>>> && /usr/bin/c++
>>> -DCS_DEFAULT_PLUGINDIR=\"/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64\"
>>> -DHAVE_SOCKETS -DHAVE_SPRINTF_L -DHAVE_STRLCAT -DHAVE_STRTOD_L
>>> -DHAVE_STRTOK_R -DMACOSX -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT
>>> -D_CSOUND_RELEASE_ -Dstk_ops_EXPORTS -I/usr/local/include -I/usr/include
>>> -DHAVE_ATOMIC_BUILTIN -O3 -arch i386 -arch x86_64 -fPIC
>>> -I/usr/local/include
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/./H
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/./include
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/./Engine
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/.
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/build
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/build/include
>>> -I/Library/Frameworks/Python.framework/Headers
>>> -I/Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/include -I/Users/jh/src/stk-4.5.0/include
>>> -Wno-format -o CMakeFiles/stk-ops.dir/stkOpcodes.cpp.o -c
>>> /Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/Opcodes/stk/stkOpcodes.cpp
>>> Linking CXX shared library ../../libstk.dylib
>>> cd
>>> /Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/build/Opcodes/stk
>>> && /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script
>>> CMakeFiles/stk-ops.dir/link.txt --verbose=1
>>> /usr/bin/c++ -I/usr/local/include -I/usr/include -DHAVE_ATOMIC_BUILTIN
>>> -O3 -arch i386 -arch x86_64 -dynamiclib
>>> -Wl,-headerpad_max_install_names -o ../../libstk.dylib -install_name
>>> /Users/jh/src/csound/installer/macosx/2014-12-06-213133/csound6/build/libstk.dylib
>>> CMakeFiles/stk-ops.dir/stkOpcodes.cpp.o
>>> /Users/jh/src/stk-4.5.0/src/libstk.a
>>> ld: warning: in /Users/jh/src/stk-4.5.0/src/libstk.a, file was built for
>>> unsupported file format which is not the architecture being linked (i386)
>>> Undefined symbols:
>>> "stk::BandedWG::BandedWG()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Sitar::Sitar(double)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::FMVoices::FMVoices()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::BlowBotl::BlowBotl()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Stk::setRawwavePath(std::basic_string>> std::char_traits, std::allocator >)", referenced from:
>>> _csoundModuleInit in stkOpcodes.cpp.o
>>> "stk::Resonate::Resonate()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Simple::Simple()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Flute::Flute(double)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::HevyMetl::HevyMetl()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Drummer::Drummer()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Bowed::Bowed(double)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::ModalBar::ModalBar()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Wurley::Wurley()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Shakers::Shakers(int)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Stk::setSampleRate(double)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::PercFlut::PercFlut()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::TubeBell::TubeBell()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::BeeThree::BeeThree()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Saxofony::Saxofony(double)", referenced from:
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> "stk::BlowHole::BlowHole(double)", referenced from:
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> "stk::Brass::Brass(double)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Stk::sampleRateChanged(double, double)", referenced from:
>>> vtable for stk::ReedTablein stkOpcodes.cpp.o
>>> vtable for stk::Noisein stkOpcodes.cpp.o
>>> vtable for stk::JetTablein stkOpcodes.cpp.o
>>> vtable for stk::BowTablein stkOpcodes.cpp.o
>>> vtable for stk::Filterin stkOpcodes.cpp.o
>>> vtable for stk::Instrmntin stkOpcodes.cpp.o
>>> vtable for stk::Functionin stkOpcodes.cpp.o
>>> vtable for stk::Generatorin stkOpcodes.cpp.o
>>> "stk::StkFrames::~StkFrames()", referenced from:
>>> stk::Generator::~Generator()in stkOpcodes.cpp.o
>>> stk::Generator::~Generator()in stkOpcodes.cpp.o
>>> stk::Noise::~Noise()in stkOpcodes.cpp.o
>>> stk::Instrmnt::~Instrmnt()in stkOpcodes.cpp.o
>>> stk::Instrmnt::~Instrmnt()in stkOpcodes.cpp.o
>>> stk::Function::~Function()in stkOpcodes.cpp.o
>>> stk::Function::~Function()in stkOpcodes.cpp.o
>>> stk::ReedTable::~ReedTable()in stkOpcodes.cpp.o
>>> stk::Noise::~Noise()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::BowTable::~BowTable()in stkOpcodes.cpp.o
>>> stk::BowTable::~BowTable()in stkOpcodes.cpp.o
>>> stk::JetTable::~JetTable()in stkOpcodes.cpp.o
>>> stk::JetTable::~JetTable()in stkOpcodes.cpp.o
>>> stk::ReedTable::~ReedTable()in stkOpcodes.cpp.o
>>> "stk::Stk::oStream_", referenced from:
>>> __ZN3stk3Stk8oStream_E$non_lazy_ptr in stkOpcodes.cpp.o
>>> (maybe you meant: __ZN3stk3Stk8oStream_E$non_lazy_ptr)
>>> "stk::StifKarp::StifKarp(double)", referenced from:
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> "stk::Rhodey::Rhodey()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Stk::~Stk()", referenced from:
>>> stk::Generator::~Generator()in stkOpcodes.cpp.o
>>> stk::Generator::~Generator()in stkOpcodes.cpp.o
>>> stk::Generator::~Generator()in stkOpcodes.cpp.o
>>> stk::Generator::~Generator()in stkOpcodes.cpp.o
>>> stk::Noise::~Noise()in stkOpcodes.cpp.o
>>> stk::Noise::~Noise()in stkOpcodes.cpp.o
>>> stk::Instrmnt::~Instrmnt()in stkOpcodes.cpp.o
>>> stk::Instrmnt::~Instrmnt()in stkOpcodes.cpp.o
>>> stk::Instrmnt::~Instrmnt()in stkOpcodes.cpp.o
>>> stk::Instrmnt::~Instrmnt()in stkOpcodes.cpp.o
>>> stk::Function::~Function()in stkOpcodes.cpp.o
>>> stk::Function::~Function()in stkOpcodes.cpp.o
>>> stk::Function::~Function()in stkOpcodes.cpp.o
>>> stk::Function::~Function()in stkOpcodes.cpp.o
>>> stk::ReedTable::~ReedTable()in stkOpcodes.cpp.o
>>> stk::ReedTable::~ReedTable()in stkOpcodes.cpp.o
>>> stk::Noise::~Noise()in stkOpcodes.cpp.o
>>> stk::Noise::~Noise()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::Filter::~Filter()in stkOpcodes.cpp.o
>>> stk::BowTable::~BowTable()in stkOpcodes.cpp.o
>>> stk::BowTable::~BowTable()in stkOpcodes.cpp.o
>>> stk::BowTable::~BowTable()in stkOpcodes.cpp.o
>>> stk::BowTable::~BowTable()in stkOpcodes.cpp.o
>>> stk::JetTable::~JetTable()in stkOpcodes.cpp.o
>>> stk::JetTable::~JetTable()in stkOpcodes.cpp.o
>>> stk::JetTable::~JetTable()in stkOpcodes.cpp.o
>>> stk::JetTable::~JetTable()in stkOpcodes.cpp.o
>>> stk::ReedTable::~ReedTable()in stkOpcodes.cpp.o
>>> stk::ReedTable::~ReedTable()in stkOpcodes.cpp.o
>>> "stk::Clarinet::Clarinet(double)", referenced from:
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> "stk::Stk::rawwavepath_", referenced from:
>>> __ZN3stk3Stk12rawwavepath_E$non_lazy_ptr in stkOpcodes.cpp.o
>>> (maybe you meant: __ZN3stk3Stk12rawwavepath_E$non_lazy_ptr)
>>> "stk::Plucked::Plucked(double)", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Mandolin::Mandolin(double)", referenced from:
>>> OpcodeBase
>>> >::init_(CSOUND_*, void*) in stkOpcodes.cpp.o
>>> "stk::VoicForm::VoicForm()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Stk::handleError(stk::StkError::Type) const", referenced from:
>>> stk::Instrmnt::setFrequency(double)in stkOpcodes.cpp.o
>>> stk::Instrmnt::controlChange(int, double)in stkOpcodes.cpp.o
>>> "typeinfo for stk::Stk", referenced from:
>>> typeinfo for stk::Filterin stkOpcodes.cpp.o
>>> typeinfo for stk::Instrmntin stkOpcodes.cpp.o
>>> typeinfo for stk::Functionin stkOpcodes.cpp.o
>>> typeinfo for stk::Generatorin stkOpcodes.cpp.o
>>> "stk::Whistle::Whistle()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> "stk::Moog::Moog()", referenced from:
>>> OpcodeBase >::init_(CSOUND_*,
>>> void*) in stkOpcodes.cpp.o
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> lipo: can't open input file: /var/tmp//cc2QXqy2.out (No such file or
>>> directory)
>>> make[2]: *** [libstk.dylib] Error 1
>>> make[1]: *** [Opcodes/stk/CMakeFiles/stk-ops.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel |