[sigc] Libsigc++ compile error



Good time of day!

I need your help.
During compile libsigc++-2.0.0 from http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.0.tar.bz2
I've got the next error message (tail of compiling output) :
----------------------------------------------------------------------------------------------
Making all in tests
make[2]: Entering directory `/home/leonidm/work/IM/libsigc++-2.0.0/tests'
if g++  -I. -I. -I.. -I.. -I..    -g -O2 -MT test_compatibility.o -MD -MP -MF ".deps/test_compatibility.Tpo" \
  -c -o test_compatibility.o `test -f 'test_compatibility.cc' || echo './'`test_compatibility.cc; \
then mv -f ".deps/test_compatibility.Tpo" ".deps/test_compatibility.Po"; \
else rm -f ".deps/test_compatibility.Tpo"; exit 1; \
fi
../sigc++/object_slot.h: In function ‘SigC::Slot1<T_return, T_arg1> SigC::slot(const T_obj1&, T_return (T_obj2::*)(T_arg1)const) [with T_return = void, T_arg1 = const std::string&, T_obj1 = foo, T_obj2 = foo]’:
test_compatibility.cc:57:   instantiated from here
../sigc++/object_slot.h:175: error: no matching function for call to ‘sigc::bound_mem_functor1<void, foo, const std::string&>::bound_mem_functor1(const foo&, void (foo::*&)(const std::string&)const)’
../sigc++/functors/mem_fun.h:1830: note: candidates are: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>::bound_mem_functor1(T_obj&, typename sigc::mem_functor1<T_arg1, T_return, T_obj>::function_type) [with T_return = void, T_obj = foo, T_arg1 = const std::string&]
../sigc++/functors/mem_fun.h:1823: note:                 sigc::bound_mem_functor1<T_return, T_obj, T_arg1>::bound_mem_functor1(T_obj*, typename sigc::mem_functor1<T_arg1, T_return, T_obj>::function_type) [with T_return = void, T_obj = foo, T_arg1 = const std::string&]
../sigc++/functors/mem_fun.h:1814: note:                 sigc::bound_mem_functor1<void, foo, const std::string&>::bound_mem_functor1(const sigc::bound_mem_functor1<void, foo, const std::string&>&)
../sigc++/object_slot.h: In function ‘SigC::Slot1<T_return, T_arg1> SigC::slot(const T_obj1&, T_return (T_obj2::*)(T_arg1)const) [with T_return = void, T_arg1 = const std::string&, T_obj1 = bar, T_obj2 = foo]’:
test_compatibility.cc:58:   instantiated from here
../sigc++/object_slot.h:175: error: no matching function for call to ‘sigc::bound_mem_functor1<void, foo, const std::string&>::bound_mem_functor1(const bar&, void (foo::*&)(const std::string&)const)’
../sigc++/functors/mem_fun.h:1830: note: candidates are: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>::bound_mem_functor1(T_obj&, typename sigc::mem_functor1<T_arg1, T_return, T_obj>::function_type) [with T_return = void, T_obj = foo, T_arg1 = const std::string&]
../sigc++/functors/mem_fun.h:1823: note:                 sigc::bound_mem_functor1<T_return, T_obj, T_arg1>::bound_mem_functor1(T_obj*, typename sigc::mem_functor1<T_arg1, T_return, T_obj>::function_type) [with T_return = void, T_obj = foo, T_arg1 = const std::string&]
../sigc++/functors/mem_fun.h:1814: note:                 sigc::bound_mem_functor1<void, foo, const std::string&>::bound_mem_functor1(const sigc::bound_mem_functor1<void, foo, const std::string&>&)
make[2]: *** [test_compatibility.o] Error 1
make[2]: Leaving directory `/home/leonidm/work/IM/libsigc++-2.0.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leonidm/work/IM/libsigc++-2.0.0'
make: *** [all] Error 2
-------------------------------- end of output -----------------------------------------------
Will you tell me what I have to do for compiling this library?
Without it I couldn't install glibmm-2.4, next gtkmm-2.4 and so on.
Thanks

--
Best regards, Leonid Moskvin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]