[sigc] Compilation Errors
- From: Neil Chakrabarty <nchakrab ucalgary ca>
- To: libsigc-list gnome org
- Subject: [sigc] Compilation Errors
- Date: Sun, 05 Sep 2004 19:12:10 -0600
I am trying to compile the hello world example provided with libsigc++
2.0.3. I know it should work because if I use the provided Makefile,
the program complies properly.
Any suggestions?
[root localhost examples]# g++ -I/usr/local/include/sigc++-2.0
hello_world.cc -c
In file included from
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7,
from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27,
from /usr/local/include/sigc++-2.0/sigc++/signal.h:8,
from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:23,
from hello_world.cc:10:
/usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5:75:
sigc++config.h: No such file or directory
In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27,
from /usr/local/include/sigc++-2.0/sigc++/signal.h:8,
from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:23,
from hello_world.cc:10:
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call1<T_functor,
T_return, T_arg1>::call_it(sigc::internal::slot_rep*, typename
sigc::type_trait<T_arg3>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:122: error: syntax
error before `;' token
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call2<T_functor,
T_return, T_arg1, T_arg2>::call_it(sigc::internal::slot_rep*, typename
sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:158: error: syntax
error before `;' token
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call3<T_functor,
T_return, T_arg1, T_arg2, T_arg3>::call_it(sigc::internal::slot_rep*,
typename sigc::type_trait<T_arg3>::take, typename
sigc::type_trait<T_arg4>::take, typename sigc::type_trait<T_arg5>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:196: error: syntax
error before `;' token
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call4<T_functor,
T_return, T_arg1, T_arg2, T_arg3,
T_arg4>::call_it(sigc::internal::slot_rep*, typename
sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take,
typename sigc::type_trait<T_arg5>::take, typename
sigc::type_trait<T_arg6>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:236: error: syntax
error before `;' token
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call5<T_functor,
T_return, T_arg1, T_arg2, T_arg3, T_arg4,
T_arg5>::call_it(sigc::internal::slot_rep*, typename
sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take,
typename sigc::type_trait<T_arg5>::take, typename
sigc::type_trait<T_arg6>::take, typename sigc::type_trait<T_arg7>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:278: error: syntax
error before `;' token
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call6<T_functor,
T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6>::call_it(sigc::internal::slot_rep*, typename
sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take,
typename sigc::type_trait<T_arg5>::take, typename
sigc::type_trait<T_arg6>::take, typename sigc::type_trait<T_arg7>::take,
typename sigc::type_trait<T_arg6>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:322: error: syntax
error before `;' token
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h: In static member
function `static T_return sigc::internal::slot_call7<T_functor,
T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6,
T_arg7>::call_it(sigc::internal::slot_rep*, typename
sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take,
typename sigc::type_trait<T_arg5>::take, typename
sigc::type_trait<T_arg6>::take, typename sigc::type_trait<T_arg7>::take,
typename sigc::type_trait<T_arg6>::take, typename
sigc::type_trait<T_arg7>::take)':
/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:368: error: syntax
error before `;' token
In file included from
/usr/local/include/sigc++-2.0/sigc++/adaptors/adaptors.h:23,
from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:26,
from hello_world.cc:10:
/usr/local/include/sigc++-2.0/sigc++/adaptors/bind.h: In member function
`typename sigc::adapts<T_functor>::adaptor_type::result_type
sigc::bind_functor<-1, T_functor, T_type1, T_type2, T_type3, T_type4,
T_type5, T_type6, T_type7>::operator()()':
/usr/local/include/sigc++-2.0/sigc++/adaptors/bind.h:1934: error: syntax
error before `,' token
In file included from
/usr/local/include/sigc++-2.0/sigc++/adaptors/adaptors.h:28,
from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:26,
from hello_world.cc:10:
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, void, void, void, void, void,
void>::type sigc::compose1_functor<T_setter, T_getter>::operator()(T_arg1)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:68: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, T_arg2, void, void, void, void,
void>::type sigc::compose1_functor<T_setter,
T_getter>::operator()(T_arg1, T_arg2)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:75: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, T_arg2, T_arg3, void, void, void,
void>::type sigc::compose1_functor<T_setter,
T_getter>::operator()(T_arg1, T_arg2, T_arg3)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:82: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, void,
void, void>::type sigc::compose1_functor<T_setter,
T_getter>::operator()(T_arg1, T_arg2, T_arg3, T_arg4)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:89: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
void, void>::type sigc::compose1_functor<T_setter,
T_getter>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:96: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6, void>::type sigc::compose1_functor<T_setter,
T_getter>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:103: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose1_functor<T_setter,
T_getter>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6, T_arg7>::type sigc::compose1_functor<T_setter,
T_getter>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6,
T_arg7)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:110: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, void, void, void, void, void,
void>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:161: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, T_arg2, void, void, void, void,
void>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1, T_arg2)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:169: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, T_arg2, T_arg3, void, void, void,
void>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1, T_arg2, T_arg3)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:177: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, void,
void, void>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1, T_arg2, T_arg3, T_arg4)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:185: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
void, void>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:193: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6, void>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:201: error:
syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h: In member
function `typename sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6, T_arg7>::type sigc::compose2_functor<T_setter, T_getter1,
T_getter2>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6,
T_arg7)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/compose.h:209: error:
syntax error before `;' token
In file included from
/usr/local/include/sigc++-2.0/sigc++/adaptors/adaptors.h:29,
from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:26,
from hello_world.cc:10:
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, void, void, void, void,
void, void>::type sigc::exception_catch_functor<T_functor, T_catcher,
T_return>::operator()(T_arg1)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:78:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, T_arg2, void, void,
void, void, void>::type sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::operator()(T_arg1, T_arg2)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:91:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, T_arg2, T_arg3, void,
void, void, void>::type sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::operator()(T_arg1, T_arg2, T_arg3)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:104:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4,
void, void, void>::type sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::operator()(T_arg1, T_arg2, T_arg3, T_arg4)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:117:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4,
T_arg5, void, void>::type sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:130:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4,
T_arg5, T_arg6, void>::type sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:143:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::deduce_result_type<T_arg1, T_arg2, T_arg3, T_arg4,
T_arg5, T_arg6, T_arg7>::type sigc::exception_catch_functor<T_functor,
T_catcher, T_return>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5,
T_arg6, T_arg7)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:156:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, void, void,
void, void, void, void, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:198:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, T_arg2, void,
void, void, void, void, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1, T_arg2)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:211:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, T_arg2,
T_arg3, void, void, void, void, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1, T_arg2, T_arg3)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:224:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, T_arg2,
T_arg3, T_arg4, void, void, void, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1, T_arg2, T_arg3, T_arg4)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:237:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, T_arg2,
T_arg3, T_arg4, T_arg5, void, void, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:250:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, T_arg2,
T_arg3, T_arg4, T_arg5, T_arg6, void, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:263:
error: syntax error before `;' token
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: In
member function `typename sigc::deduce_result_type<T_arg1, T_arg2,
T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, void,
sigc::is_base_and_derived<sigc::adaptor_base, T_arg1>::value>::type
sigc::exception_catch_functor<T_functor, T_catcher,
void>::operator()(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)':
/usr/local/include/sigc++-2.0/sigc++/adaptors/exception_catch.h:276:
error: syntax error before `;' token
-Neil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]