Compiling with FC16 on x86_64

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
gvdm
Space Floater
Posts: 43
Joined: Sun Nov 06, 2011 11:04 am

Compiling with FC16 on x86_64

#1 Post by gvdm » Sun Jan 08, 2012 1:41 pm

Just got fedora core 16 going and now trying to compile Freeorion.

Here is the error message:

Code: Select all

Building CXX object src/CMakeFiles/GiGi.dir/Texture.cpp.o
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp: In member function ‘void GG::Texture::Load(const string&, bool)’:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:275:94: error: ‘gray8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:275:142: error: template argument 1 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:276:94: error: ‘gray_alpha8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:276:148: error: template argument 1 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:277:94: error: ‘rgb8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:277:141: error: template argument 1 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:278:94: error: ‘rgba8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:278:142: error: template argument 1 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:281:9: error: ‘gray8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:281:9: error: ‘gray8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:282:9: error: ‘gray_alpha8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:282:9: error: ‘gray_alpha8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:283:9: error: ‘rgb8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:283:9: error: ‘rgb8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:284:9: error: ‘rgba8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:284:9: error: ‘rgba8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:285:5: error: template argument 1 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:285:5: error: template argument 2 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:285:5: error: template argument 3 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:285:5: error: template argument 4 is invalid
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:285:17: error: invalid type in declaration before ‘;’ token
In file included from /usr/include/boost/mpl/aux_/inserter_algorithm.hpp:24:0,
                 from /usr/include/boost/mpl/transform.hpp:28,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:33,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image_view.hpp:25,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:24,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:36:
/usr/include/boost/mpl/clear.hpp: At global scope:
/usr/include/boost/mpl/clear.hpp: In instantiation of ‘boost::mpl::clear<int>’:
/usr/include/boost/mpl/transform.hpp:113:175:   instantiated from ‘boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>’
/usr/include/boost/mpl/eval_if.hpp:38:31:   instantiated from ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_const_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_const_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >’
/usr/include/boost/mpl/transform.hpp:138:412:   instantiated from ‘boost::mpl::transform<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:39:39:   instantiated from ‘boost::gil::detail::images_get_const_views_t<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:77:89:   instantiated from ‘boost::gil::any_image<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/usr/include/boost/mpl/clear.hpp:28:8: error: no class template named ‘apply’ in ‘struct boost::mpl::clear_impl<boost::mpl::non_sequence_tag>’
In file included from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:33:0,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image_view.hpp:25,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:24,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:36:
/usr/include/boost/mpl/transform.hpp: In instantiation of ‘boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>’:
/usr/include/boost/mpl/eval_if.hpp:38:31:   instantiated from ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_const_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_const_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >’
/usr/include/boost/mpl/transform.hpp:138:412:   instantiated from ‘boost::mpl::transform<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:39:39:   instantiated from ‘boost::gil::detail::images_get_const_views_t<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:77:89:   instantiated from ‘boost::gil::any_image<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/usr/include/boost/mpl/transform.hpp:113:175: error: no type named ‘type’ in ‘struct boost::mpl::clear<int>’
In file included from /usr/include/boost/aligned_storage.hpp:24:0,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:11,
                 from /usr/include/boost/type_traits.hpp:20,
                 from /usr/include/boost/signals/trackable.hpp:13,
                 from /usr/include/boost/signals/slot.hpp:15,
                 from /usr/include/boost/signals/signal_template.hpp:21,
                 from /usr/include/boost/signals/signal0.hpp:24,
                 from /usr/include/boost/signal.hpp:19,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/GG/Base.h:46,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/GG/Texture.h:34,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:25:
/usr/include/boost/mpl/eval_if.hpp: In instantiation of ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_const_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_const_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >’:
/usr/include/boost/mpl/transform.hpp:138:412:   instantiated from ‘boost::mpl::transform<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:39:39:   instantiated from ‘boost::gil::detail::images_get_const_views_t<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:77:89:   instantiated from ‘boost::gil::any_image<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/usr/include/boost/mpl/eval_if.hpp:38:31: error: no type named ‘type’ in ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_const_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_const_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >::f_ {aka struct boost::mpl::transform1<int, boost::gil::detail::get_const_view_t<mpl_::arg<1> >, mpl_::na>}’
In file included from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:33:0,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image_view.hpp:25,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:24,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:36:
/usr/include/boost/mpl/transform.hpp: In instantiation of ‘boost::mpl::transform1<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na>’:
/usr/include/boost/mpl/eval_if.hpp:38:31:   instantiated from ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >’
/usr/include/boost/mpl/transform.hpp:138:412:   instantiated from ‘boost::mpl::transform<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:36:39:   instantiated from ‘boost::gil::detail::images_get_views_t<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:78:83:   instantiated from ‘boost::gil::any_image<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/usr/include/boost/mpl/transform.hpp:113:175: error: no type named ‘type’ in ‘struct boost::mpl::clear<int>’
In file included from /usr/include/boost/aligned_storage.hpp:24:0,
                 from /usr/include/boost/type_traits/aligned_storage.hpp:11,
                 from /usr/include/boost/type_traits.hpp:20,
                 from /usr/include/boost/signals/trackable.hpp:13,
                 from /usr/include/boost/signals/slot.hpp:15,
                 from /usr/include/boost/signals/signal_template.hpp:21,
                 from /usr/include/boost/signals/signal0.hpp:24,
                 from /usr/include/boost/signal.hpp:19,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/GG/Base.h:46,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/GG/Texture.h:34,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:25:
/usr/include/boost/mpl/eval_if.hpp: In instantiation of ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >’:
/usr/include/boost/mpl/transform.hpp:138:412:   instantiated from ‘boost::mpl::transform<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:36:39:   instantiated from ‘boost::gil::detail::images_get_views_t<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:78:83:   instantiated from ‘boost::gil::any_image<int>’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/usr/include/boost/mpl/eval_if.hpp:38:31: error: no type named ‘type’ in ‘boost::mpl::eval_if<boost::mpl::or_<boost::mpl::is_na<mpl_::na>, boost::mpl::is_lambda_expression<boost::gil::detail::get_view_t<mpl_::arg<1> > >, boost::mpl::not_<boost::mpl::is_sequence<boost::gil::detail::get_view_t<mpl_::arg<1> > > >, mpl_::bool_<false>, mpl_::bool_<false> >, boost::mpl::transform1<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na>, boost::mpl::transform2<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na, mpl_::na> >::f_ {aka struct boost::mpl::transform1<int, boost::gil::detail::get_view_t<mpl_::arg<1> >, mpl_::na>}’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp: In member function ‘void GG::Texture::Load(const string&, bool)’:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:31: error: ‘gray8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:31: error: ‘gray8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:51: error: no matching function for call to ‘boost::gil::any_image<int>::current_type_is()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:51: note: candidate is:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:120:32: note: template<class T> bool boost::gil::variant::current_type_is() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:76: error: ‘gray8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:172: error: ‘gray8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:172: error: ‘gray8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:192: error: no matching function for call to ‘boost::gil::any_image<int>::_dynamic_cast()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:192: note: candidates are:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:117:36: note: template<class T> const T& boost::gil::variant::_dynamic_cast() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:118:30: note: template<class T> T& boost::gil::variant::_dynamic_cast() [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:193: error: ‘const_view’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:193: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:114:41: note:   ‘boost::gil::const_view’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:194: error: ‘interleaved_view_get_raw_data’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:362:194: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/../../image_view_factory.hpp:101:62: note:   ‘boost::gil::interleaved_view_get_raw_data’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:36: error: ‘gray_alpha8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:36: error: ‘gray_alpha8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:62: error: no matching function for call to ‘boost::gil::any_image<int>::current_type_is()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:62: note: candidate is:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:120:32: note: template<class T> bool boost::gil::variant::current_type_is() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:87: error: ‘gray_alpha8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:189: error: ‘gray_alpha8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:189: error: ‘gray_alpha8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:215: error: no matching function for call to ‘boost::gil::any_image<int>::_dynamic_cast()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:215: note: candidates are:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:117:36: note: template<class T> const T& boost::gil::variant::_dynamic_cast() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:118:30: note: template<class T> T& boost::gil::variant::_dynamic_cast() [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:216: error: ‘const_view’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:216: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:114:41: note:   ‘boost::gil::const_view’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:217: error: ‘interleaved_view_get_raw_data’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:363:217: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/../../image_view_factory.hpp:101:62: note:   ‘boost::gil::interleaved_view_get_raw_data’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:36: error: ‘rgb8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:36: error: ‘rgb8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:55: error: no matching function for call to ‘boost::gil::any_image<int>::current_type_is()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:55: note: candidate is:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:120:32: note: template<class T> bool boost::gil::variant::current_type_is() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:80: error: ‘rgb8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:175: error: ‘rgb8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:175: error: ‘rgb8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:194: error: no matching function for call to ‘boost::gil::any_image<int>::_dynamic_cast()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:194: note: candidates are:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:117:36: note: template<class T> const T& boost::gil::variant::_dynamic_cast() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:118:30: note: template<class T> T& boost::gil::variant::_dynamic_cast() [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:195: error: ‘const_view’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:195: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:114:41: note:   ‘boost::gil::const_view’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:196: error: ‘interleaved_view_get_raw_data’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:364:196: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/../../image_view_factory.hpp:101:62: note:   ‘boost::gil::interleaved_view_get_raw_data’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:36: error: ‘rgba8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:36: error: ‘rgba8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:56: error: no matching function for call to ‘boost::gil::any_image<int>::current_type_is()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:56: note: candidate is:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:120:32: note: template<class T> bool boost::gil::variant::current_type_is() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:81: error: ‘rgba8_pixel_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:177: error: ‘rgba8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:177: error: ‘rgba8_image_t’ is not a member of ‘gil’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:197: error: no matching function for call to ‘boost::gil::any_image<int>::_dynamic_cast()’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:197: note: candidates are:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:117:36: note: template<class T> const T& boost::gil::variant::_dynamic_cast() const [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:118:30: note: template<class T> T& boost::gil::variant::_dynamic_cast() [with T = T, Types = int]
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:198: error: ‘const_view’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:198: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:114:41: note:   ‘boost::gil::const_view’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:199: error: ‘interleaved_view_get_raw_data’ was not declared in this scope
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:365:199: note: suggested alternative:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/../../image_view_factory.hpp:101:62: note:   ‘boost::gil::interleaved_view_get_raw_data’
In file included from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:37:0,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image_view.hpp:25,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:24,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:36:
/usr/include/boost/mpl/at.hpp: At global scope:
/usr/include/boost/mpl/at.hpp: In instantiation of ‘boost::mpl::at_c<int, 0l>’:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:97:29:   instantiated from ‘boost::gil::variant<Types>::variant() [with Types = int]’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:83:28:   instantiated from ‘boost::gil::any_image<ImageTypes>::any_image() [with ImageTypes = int]’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/usr/include/boost/mpl/at.hpp:42:8: error: no class template named ‘apply’ in ‘struct boost::mpl::at_impl<boost::mpl::non_sequence_tag>’
In file included from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image_view.hpp:25:0,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:24,
                 from /home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:36:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp: In constructor ‘boost::gil::variant<Types>::variant() [with Types = int]’:
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/any_image.hpp:83:28:   instantiated from ‘boost::gil::any_image<ImageTypes>::any_image() [with ImageTypes = int]’
/home/gvdm/Games/freeorion/FreeOrion/GG/src/Texture.cpp:302:15:   instantiated from here
/home/gvdm/Games/freeorion/FreeOrion/GG/src/GIL/extension/dynamic_image/variant.hpp:97:29: error: no type named ‘type’ in ‘struct boost::mpl::at_c<int, 0l>’
make[2]: *** [src/CMakeFiles/GiGi.dir/Texture.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/GiGi.dir/all] Error 2
make: *** [all] Error 2
This error message is literally longer than my arm (C++ templates to blame I think)

I have boost 1.47.0-3.fc16

bookwar
Space Krill
Posts: 3
Joined: Sat Jan 21, 2012 12:57 am

Re: Compiling with FC16 on x86_64

#2 Post by bookwar » Sat Jan 21, 2012 1:02 am

Hi, there
If you are interested in version 0.3.15, you can use packages for F16 x86_64 from Russian Fedora community repo:
http://koji.russianfedora.ru/koji/buildinfo?buildID=427
http://koji.russianfedora.ru/koji/buildinfo?buildID=425

Currently I am planning to add packages for 0.3.17 version to official Fedora repos.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Compiling with FC16 on x86_64

#3 Post by Geoff the Medio » Sat Jan 21, 2012 1:06 am

bookwar wrote:Currently I am planning to add packages for 0.3.17 version to official Fedora repos.
You might want to hang around after finishing that, as v0.4 will hopefully be releasing soon.

Post Reply