ossia / ossia-supercollider

sets of supercollider classes and bindings to libossia
3 stars 2 forks source link

issue with boost dependency on Linux & mac os #20

Open thibaudk opened 6 years ago

thibaudk commented 6 years ago
-- OSSIA - bindings ----------

-- OSSIA - PureData: 0

-- OSSIA - Max: OFF

-- OSSIA - Python: 0

-- OSSIA - Unity3d: OFF

-- OSSIA - Java: OFF

-- OSSIA - Qt: 0

-- OSSIA - C: OFF

-- OSSIA - CPP: OFF

-- Configuring done

-- Generating done

-- Build files have been written to: /Users/macbook/Documents/ossia-supercollider/build/libossia

[ 12%] Built target Servus

[ 15%] Built target ModernMIDI

[ 17%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/expression/expression_not.cpp.o

[ 17%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/expression/expression_generic.cpp.o

[ 18%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/loop/loop.cpp.o

[ 19%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/mapper/mapper.cpp.o

[ 21%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/expression/expression_pulse.cpp.o

[ 23%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/dataflow/graph.cpp.o

[ 24%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/detail/scenario_execution.cpp.o

[ 24%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/expression/expression_bool.cpp.o

[ 25%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/detail/scenario_offset.cpp.o

[ 25%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/scenario.cpp.o

[ 26%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/time_interval.cpp.o

[ 27%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/time_event.cpp.o

[ 28%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/time_sync.cpp.o

[ 29%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/time_process.cpp.o

[ 30%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/scenario/clock.cpp.o

[ 31%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/state/message.cpp.o

[ 32%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/state/state.cpp.o

[ 34%] Building CXX object OSSIA/CMakeFiles/ossia.dir/ossia/editor/state/state_element.cpp.o

In file included from /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:4:

In file included from /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.hpp:6:

In file included from /usr/local/opt/boost/include/boost/graph/adjacency_list.hpp:37:

In file included from /usr/local/opt/boost/include/boost/graph/named_graph.hpp:21:

In file included from /usr/local/opt/boost/include/boost/optional.hpp:15:

/usr/local/opt/boost/include/boost/optional/optional.hpp:733:64: error: object

      of type '(lambda at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31)'

      cannot be assigned because its copy assignment operator is implicitly

      deleted

    void assign_value ( rval_reference_type val ) { get_impl() = static_...

                                                               ^

/usr/local/opt/boost/include/boost/optional/optional.hpp:262:14: note: in

      instantiation of member function

      'boost::optional_detail::optional_base<(lambda at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31)>::assign_value'

      requested here

             assign_value( boost::move(rhs.get_impl()) );

             ^

/usr/local/opt/boost/include/boost/optional/optional.hpp:231:13: note: in

      instantiation of member function

      'boost::optional_detail::optional_base<(lambda at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31)>::assign'

      requested here

      this->assign(static_cast<optional_base&&>(rhs));

            ^

/usr/local/opt/boost/include/boost/optional/optional.hpp:1031:49: note: in

      instantiation of member function

      'boost::optional_detail::optional_base<(lambda at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31)>::operator='

      requested here

    optional& operator= ( optional && ) = default;

                                                ^

/usr/local/opt/boost/include/boost/container/vector.hpp:2982:26: note: in

      instantiation of member function

      'boost::container::dtl::insert_range_proxy<boost::container::new_allocator<ossia::graph_node

      *>,

      boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default>,

      ossia::graph_node **>::uninitialized_copy_n_and_update' requested here

      insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder....

                         ^

/usr/local/opt/boost/include/boost/container/vector.hpp:2721:13: note: in

      instantiation of function template specialization

      'boost::container::vector<ossia::graph_node *,

      boost::container::new_allocator<ossia::graph_node *>,

      void>::priv_forward_range_insert_new_allocation<boost::container::dtl::insert_range_proxy<boost::container::new_allocator<ossia::graph_node

      *>,

      boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default>,

      ossia::graph_node **> >' requested here

      this->priv_forward_range_insert_new_allocation

            ^

/usr/local/opt/boost/include/boost/container/vector.hpp:2783:17: note: 

      (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see

      all)

         return priv_forward_range_insert_no_capacity(pos, n, insert_ran...

                ^

/usr/local/opt/boost/include/boost/container/detail/flat_tree.hpp:876:56: note: 

      in instantiation of function template specialization

      'boost::container::vector<ossia::graph_node *,

      boost::container::new_allocator<ossia::graph_node *>,

      void>::insert<boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default> >'

      requested here

      typename container_type::iterator const it = seq.insert(seq.cend()...

                                                       ^

/usr/local/opt/boost/include/boost/container/detail/flat_tree.hpp:1316:16: note: 

      in instantiation of function template specialization

      'boost::container::dtl::flat_tree<ossia::graph_node *,

      boost::move_detail::identity<ossia::graph_node *>,

      std::__1::less<ossia::graph_node *>,

      boost::container::new_allocator<ossia::graph_node *>

      >::insert_unique<boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default> >'

      requested here

         this->insert_unique(first, last);

               ^

/usr/local/opt/boost/include/boost/container/detail/flat_tree.hpp:664:13: note: 

      in instantiation of function template specialization

      'boost::container::dtl::flat_tree<ossia::graph_node *,

      boost::move_detail::identity<ossia::graph_node *>,

      std::__1::less<ossia::graph_node *>,

      boost::container::new_allocator<ossia::graph_node *>

      >::priv_range_insertion_construct<boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default> >'

      requested here

      this->priv_range_insertion_construct(unique_insertion, first, last);

            ^

/usr/local/opt/boost/include/boost/container/flat_set.hpp:176:9: note: in

      instantiation of function template specialization

      'boost::container::dtl::flat_tree<ossia::graph_node *,

      boost::move_detail::identity<ossia::graph_node *>,

      std::__1::less<ossia::graph_node *>,

      boost::container::new_allocator<ossia::graph_node *>

      >::flat_tree<boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default> >'

      requested here

      : tree_t(true, first, last)

        ^

/Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:432:31: note: 

      in instantiation of function template specialization

      'boost::container::flat_set<ossia::graph_node *,

      std::__1::less<ossia::graph_node *>,

      boost::container::new_allocator<ossia::graph_node *>

      >::flat_set<boost::iterators::transform_iterator<boost::range_detail::default_constructible_unary_fn_wrapper<(lambda

      at

      /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31),

      ossia::graph_node *>,

      boost::container::vec_iterator<std::__1::shared_ptr<ossia::graph_node> *,

      true>, boost::iterators::use_default, boost::iterators::use_default> >'

      requested here

  return disable_strict_nodes(set<graph_node*>{res.begin(), res.end()});

                              ^

/Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:431:31: note: 

      lambda expression begins here

  auto res = (n | transformed([](auto p) { return p.get(); }));

                              ^

In file included from /Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/graph.cpp:3:

/Users/macbook/Documents/ossia-supercollider/submodules/libossia/OSSIA/ossia/dataflow/audio_parameter.hpp:135:11: warning: 

      private field 'm_tex' is not used [-Wunused-private-field]

  int32_t m_tex{};

          ^

1 warning and 1 error generated.

make[2]: *** [OSSIA/CMakeFiles/ossia.dir/ossia/dataflow/graph.cpp.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [OSSIA/CMakeFiles/ossia.dir/all] Error 2

make: *** [all] Error 2

libossia built succesfully... installing

Install the project...

-- Install configuration: "Release"

CMake Error at OSSIA/cmake_install.cmake:36 (file):

  file INSTALL cannot find

  "/Users/macbook/Documents/ossia-supercollider/build/libossia/OSSIA/libossia.a".

Call Stack (most recent call first):

  cmake_install.cmake:37 (include)
pchdev commented 6 years ago

yep, the version of the libossia submodule doesn't support boost 1.67. If you want a quick fix, download/install the v1.65 or 1.66, as it might take a while for me to solve this, because updating the libossia submodule could introduce a lot of cxx17-related problems in supercollider

pchdev commented 6 years ago

that fixes it for me, if you could try on your setup !

thibaudk commented 6 years ago

Ok, i fnaly got around to testing again.

This builds but the resulting app's interpreter crashes on startup.

thibaudk commented 6 years ago

Trying to build on Ubuntu 18.04 also returns the following error related to boost:

[ 3%] Built target hidapi_parser [ 3%] Building CXX object server/plugins/CMakeFiles/ML_UGens.dir/Onsets.cpp.o [ 3%] Building CXX object server/plugins/CMakeFiles/PV_ThirdParty.dir/FeatureDetection.cpp.o [ 3%] Building C object server/plugins/CMakeFiles/ML_UGens.dir/onsetsds.c.o [ 3%] Linking CXX shared module UIUGens.so Scanning dependencies of target DynNoiseUGens [ 3%] Building CXX object server/plugins/CMakeFiles/DynNoiseUGens.dir/DynNoiseUGens.cpp.o [ 3%] Building CXX object server/plugins/CMakeFiles/ML_UGens.dir/KeyTrack.cpp.o [ 3%] Built target UIUGens [ 3%] Building CXX object server/plugins/CMakeFiles/PV_ThirdParty.dir/PV_ThirdParty.cpp.o Scanning dependencies of target PhysicalModelingUGens [ 3%] Building CXX object server/plugins/CMakeFiles/PhysicalModelingUGens.dir/PhysicalModelingUGens.cpp.o Scanning dependencies of target UnaryOpUGens [ 3%] Building CXX object server/plugins/CMakeFiles/UnaryOpUGens.dir/UnaryOpUGens.cpp.o Scanning dependencies of target DemandUGens [ 3%] Building CXX object server/plugins/CMakeFiles/DemandUGens.dir/DemandUGens.cpp.o [ 4%] Building CXX object server/plugins/CMakeFiles/ML_UGens.dir/MFCC.cpp.o [ 5%] Linking CXX shared module PV_ThirdParty.so [ 5%] Linking CXX shared module DynNoiseUGens.so [ 5%] Linking CXX shared module PhysicalModelingUGens.so [ 5%] Built target PV_ThirdParty Scanning dependencies of target GrainUGens [ 5%] Building CXX object server/plugins/CMakeFiles/GrainUGens.dir/GrainUGens.cpp.o [ 5%] Built target DynNoiseUGens [ 5%] Built target PhysicalModelingUGens In file included from /home/scrime/Documents/dev/ossia-supercollider/submodules/supercollider/server/plugins/DiskIO_UGens.cpp:35:0: /home/scrime/Documents/dev/ossia-supercollider/dependencies/boost/include/boost/lockfree/spsc_queue.hpp: In member function ‘ConstIterator boost::lockfree::detail::ringbuffer_base::push(ConstIterator, ConstIterator, T*, boost::lockfree::detail::ringbuffer_base::size_t)’: /home/scrime/Documents/dev/ossia-supercollider/dependencies/boost/include/boost/lockfree/spsc_queue.hpp:140:43: error: ‘next’ is not a member of ‘boost’ const ConstIterator last = boost::next(begin, input_count); ^~~~ /home/scrime/Documents/dev/ossia-supercollider/dependencies/boost/include/boost/lockfree/spsc_queue.hpp:140:43: note: suggested alternative: ‘get’ const ConstIterator last = boost::next(begin, input_count); ^~~~ get /home/scrime/Documents/dev/ossia-supercollider/dependencies/boost/include/boost/lockfree/spsc_queue.hpp:145:51: error: ‘next’ is not a member of ‘boost’ const ConstIterator midpoint = boost::next(begin, count0); ^~~~ /home/scrime/Documents/dev/ossia-supercollider/dependencies/boost/include/boost/lockfree/spsc_queue.hpp:145:51: note: suggested alternative: ‘get’ const ConstIterator midpoint = boost::next(begin, count0); ^~~~ get

thibaudk commented 6 years ago

After a good bit of tweeking on Ubuntu 18.04, building libossia with boost _1_67_0 and supercollider with boost_1_65_1 produces the following lincking error

[100%] Linking CXX executable sclang
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « boost::re_detail_106700::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) » :
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE18unwind_extra_blockEb[_ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE18unwind_extra_blockEb]+0x22) : référence indéfinie vers « boost::re_detail_106700::put_mem_block(void*) »
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « char const* boost::re_detail_106700::re_is_set_member<char const*, char, boost::regex_traits<char, boost::cpp_regex_traits<char> >, unsigned int>(char const*, char const*, boost::re_detail_106700::re_set_long<unsigned int> const*, boost::re_detail_106700::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, bool) » :
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670016re_is_set_memberIPKccNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_S8_S8_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost16re_detail_10670016re_is_set_memberIPKccNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_S8_S8_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x33c) : référence indéfinie vers « boost::re_detail_106700::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const »
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670016re_is_set_memberIPKccNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_S8_S8_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost16re_detail_10670016re_is_set_memberIPKccNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_S8_S8_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x440) : référence indéfinie vers « boost::re_detail_106700::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const »
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « boost::re_detail_106700::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::find_imp() » :
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv[_ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv]+0xa) : référence indéfinie vers « boost::re_detail_106700::get_mem_block() »
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv[_ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv]+0x125) : référence indéfinie vers « boost::re_detail_106700::verify_options(unsigned int, boost::regex_constants::_match_flags) »
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv[_ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv]+0x16f) : référence indéfinie vers « boost::re_detail_106700::put_mem_block(void*) »
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv[_ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE8find_impEv]+0x2bd) : référence indéfinie vers « boost::re_detail_106700::put_mem_block(void*) »
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « bool boost::regex_search<char const*, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(char const*, char const*, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) » :
PyrStringPrim.cpp:(.text._ZN5boost12regex_searchIPKccNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEbT_S7_RKNS_11basic_regexIT0_T1_EENS_15regex_constants12_match_flagsE[_ZN5boost12regex_searchIPKccNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEbT_S7_RKNS_11basic_regexIT0_T1_EENS_15regex_constants12_match_flagsE]+0x18a) : référence indéfinie vers « boost::re_detail_106700::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) »
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « bool boost::regex_search<char const*, std::allocator<boost::sub_match<char const*> >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(char const*, char const*, boost::match_results<char const*, std::allocator<boost::sub_match<char const*> > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, char const*) » :
PyrStringPrim.cpp:(.text._ZN5boost12regex_searchIPKcSaINS_9sub_matchIS2_EEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEbT_SA_RNS_13match_resultsISA_T0_EERKNS_11basic_regexIT1_T2_EENS_15regex_constants12_match_flagsESA_[_ZN5boost12regex_searchIPKcSaINS_9sub_matchIS2_EEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEbT_SA_RNS_13match_resultsISA_T0_EERKNS_11basic_regexIT1_T2_EENS_15regex_constants12_match_flagsESA_]+0x115) : référence indéfinie vers « boost::re_detail_106700::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) »
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « void boost::re_detail_106700::raise_error<boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > > >(boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::error_type) » :
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670011raise_errorINS_20regex_traits_wrapperINS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEEEvRKT_NS_15regex_constants10error_typeE[_ZN5boost16re_detail_10670011raise_errorINS_20regex_traits_wrapperINS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEEEvRKT_NS_15regex_constants10error_typeE]+0x6c) : référence indéfinie vers « boost::re_detail_106700::get_default_error_string(boost::regex_constants::error_type) »
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670011raise_errorINS_20regex_traits_wrapperINS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEEEvRKT_NS_15regex_constants10error_typeE[_ZN5boost16re_detail_10670011raise_errorINS_20regex_traits_wrapperINS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEEEvRKT_NS_15regex_constants10error_typeE]+0xa0) : référence indéfinie vers « boost::re_detail_106700::raise_runtime_error(std::runtime_error const&) »
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670011raise_errorINS_20regex_traits_wrapperINS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEEEvRKT_NS_15regex_constants10error_typeE[_ZN5boost16re_detail_10670011raise_errorINS_20regex_traits_wrapperINS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEEEvRKT_NS_15regex_constants10error_typeE]+0xf8) : référence indéfinie vers « boost::re_detail_106700::get_default_error_string(boost::regex_constants::error_type) »
libsclang.a(PyrStringPrim.cpp.o) : Dans la fonction « boost::re_detail_106700::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::extend_stack() » :
PyrStringPrim.cpp:(.text._ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE12extend_stackEv[_ZN5boost16re_detail_10670012perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE12extend_stackEv]+0x2e) : référence indéfinie vers « boost::re_detail_106700::get_mem_block() »
collect2: error: ld returned 1 exit status
lang/CMakeFiles/sclang.dir/build.make:131: recipe for target 'lang/sclang' failed
make[2]: *** [lang/sclang] Error 1
CMakeFiles/Makefile2:3471: recipe for target 'lang/CMakeFiles/sclang.dir/all' failed
make[1]: *** [lang/CMakeFiles/sclang.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
thibaudk commented 6 years ago

https://github.com/OSSIA/ossia-supercollider/blob/master/Ossia/Primitives/pyrossiaprim.cpp#L337 "getType" also had to be edited to "get_type"

thibaudk commented 6 years ago

oops didn't mean to close this

pchdev commented 6 years ago

oh yeah, thanks, forgot to commit the get_type() change...