It solved the problem :
I've changed line 28 with :

CXXFLAGS += -fPIC -std=c++11

Merci !

Pierre

> You’ll probably to play with compiler/link options in OSC Makefile in
> architecture/osclib/Makefile, like adding -std=c++11…etc….
> 
> Stéphane
> 
> > Le 21 sept. 2016 à 10:03, Pierre Lecomte <pierre.leco...@gadz.org> a écrit
> > :
> > 
> > Hello,
> > 
> >> Probably « yet another lib++/libstdc++ or c++11 » related compilation
> >> issue
> >> 
> >> : which OS X version? which Xcode/clang versions?
> > 
> > Linux Ubuntu 16.04
> > clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
> > 
> > Thanks.
> > Pierre
> > 
> >> Thanks.
> >> 
> >> Stéphane
> >> 
> >>> Le 20 sept. 2016 à 13:10, Pierre Lecomte <pierre.leco...@gadz.org> a
> >>> écrit
> >>> 
> >>> 
> >>> Hello,
> >>> I've got some issues when trying to compile some code with osc aliases :
> >>> 
> >>> test.dsp:
> >>> 
> >>> import("stdfaust.lib");
> >>> process=_*hslider("Gain[osc:/gain 0 10]", 0, 0, 10, 0.01);
> >>> 
> >>> faust2jaqt -osc test.dsp returns :
> >>> 
> >>> test.o: dans la fonction « void
> >>> oscfaust::FaustFactory::addAlias<float>(std::__cxx11::basic_string<char,
> >>> std::char_traits<char>, std::allocator<char> > const&, float*, float,
> >>> float, float, float, float, char const*) »:
> >>> test.cpp:
> >>> (.text._ZN8oscfaust12FaustFactory8addAliasIfEEvRKNSt7__cxx1112basic_stri
> >>> ng
> >>> IcSt11char_traitsIcESaIcEEEPT_SA_SA_SA_SA_SA_PKc[_ZN8oscfaust12FaustFact
> >>> or
> >>> y8addAliasIfEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_
> >>> SA
> >>> _SA_SA_SA_SA_PKc] +0x25a): référence indéfinie vers «
> >>> oscfaust::MessageDriven::getOSCAddress[abi:cxx11]() const »
> >>> test.o: dans la fonction « void
> >>> oscfaust::FaustFactory::addnode<float>(char
> >>> const*, float*, float, float, float, bool, bool) »:
> >>> test.cpp:
> >>> (.text._ZN8oscfaust12FaustFactory7addnodeIfEEvPKcPT_S4_S4_S4_bb[_ZN8oscf
> >>> au
> >>> st12FaustFactory7addnodeIfEEvPKcPT_S4_S4_S4_bb] +0xbb): référence
> >>> indéfinie vers «
> >>> oscfaust::MessageDriven::getOSCAddress[abi:cxx11]() const »
> >>> test.o:(.rodata._ZTVN8oscfaust9FaustNodeIfEE[_ZTVN8oscfaust9FaustNodeIfE
> >>> E]
> >>> +0x28): référence indéfinie vers «
> >>> oscfaust::MessageDriven::propose(oscfaust::Message const*,
> >>> oscfaust::OSCRegexp const*, std::__cxx11::basic_string<char,
> >>> std::char_traits<char>,
> >>> std::allocator<char> >) »
> >>> collect2: error: ld returned 1 exit status
> >>> make: *** [test] Erreur 1
> >>> 
> >>> However, I've got the library file
> >>> 
> >>> /usr/local/lib/libOSCFaust.a
> >>> 
> >>> on my local installation..
> >>> 
> >>> Any ideas ?
> >>> 
> >>> Thanks,
> >>> Pierre
> >>> 
> >>> ------------------------------------------------------------------------
> >>> --
> >>> ---- _______________________________________________
> >>> Faudiostream-users mailing list
> >>> Faudiostream-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



------------------------------------------------------------------------------
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to