|
From: Stephen S. <rad...@gm...> - 2015-11-02 17:01:10
|
Hi, The C++ bindings require C++11 support. The configure program tries to detect whether the C++ compiler has C++11 support, so you should see the following during configure: checking whether C++11 lambdas are supported... no If it says "yes", then it is a case of the compiler having C++11 support but doesn't actually completely support it. I didn't put a lot of effort into detect these cases, but it could be fixed with more tests. In the meantime, you can just disable C++ support explicitly, but giving configure a non-sense value for CXX. I realize this isn't a super clean solution but it should solve your problem: ./autoget.sh CXX=dontuse Steve On Mon, Nov 2, 2015 at 5:33 PM, Paul Keyes <sps...@gm...> wrote: > Hi, I'm having trouble compiling liblo-0.28. Compiler version and errors are > blow. Any help is greatly appreciated! > > gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) > g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) > > Errors: > /usr/local/include/lo/lo_cpp.h:457: error: 'template<class H> const typename > std::enable_if<std::is_same::value, void>::type > lo::Server::add_method(lo::string_type, lo::string_type, H&&)' cannot be > overloaded > /usr/local/include/lo/lo_cpp.h:454: error: with 'template<class H> const > typename std::enable_if<std::is_same::value, void>::type > lo::Server::add_method(lo::string_type, lo::string_type, H&&)' > /usr/local/include/lo/lo_cpp.h:457: error: 'template<class H> const typename > std::enable_if<std::is_same::value, void>::type > lo::Server::add_method(lo::string_type, lo::string_type, H&&)' cannot be > overloaded > > ...followed by many more errors. > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > liblo-devel mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/liblo-devel > |