Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling: main.cpp
- C:\chhenning\code_blocks\gil_io_test\main.cpp: In function 'int main()':
- C:\chhenning\code_blocks\gil_io_test\main.cpp:14: error: invalid operands of types 'const char*' and 'const char [21]' to binary 'operator+'
- In file included from C:\gil_contributions\gil_2/boost/gil/extension/io_new/bmp_read.hpp:35,
- from C:\gil_contributions\gil_2/boost/gil/extension/io_new/bmp_all.hpp:22,
- from C:\chhenning\code_blocks\gil_io_test\main.cpp:1:
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/read_image.hpp: In function 'void boost::gil::read_image(const String&, Image&, const FormatTag&, typename boost::enable_if<boost::mpl::and_<boost::gil::detail::is_supported_path_spec<String>, boost::gil::is_format_tag<FormatTag>, boost::gil::is_read_supported<typename boost::gil::get_pixel_type<typename Image::view_t>::type, FormatTag>, mpl_::bool_<true>, mpl_::bool_<true> >, void>::type*) [with String = const char*, Image = boost::gil::rgb8_image_t, FormatTag = boost::gil::bmp_tag]':
- C:\chhenning\code_blocks\gil_io_test\main.cpp:13: instantiated from here
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/read_image.hpp:180: error: no matching function for call to 'read_image(boost::gil::reader<boost::gil::detail::file_stream_device<boost::gil::bmp_tag>, boost::gil::bmp_tag, boost::gil::detail::read_and_no_convert>, boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >&)'
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/read_image.hpp:46: note: candidates are: void boost::gil::read_image(Reader&, Image&, typename boost::enable_if<boost::mpl::and_<boost::gil::detail::is_reader<Reader>, boost::gil::is_format_tag<typename Reader::format_tag_t>, boost::gil::is_read_supported<typename boost::gil::get_pixel_type<typename Image::view_t>::type, typename Reader::format_tag_t>, mpl_::bool_<true>, mpl_::bool_<true> >, void>::type*) [with Reader = boost::gil::reader<boost::gil::detail::file_stream_device<boost::gil::bmp_tag>, boost::gil::bmp_tag, boost::gil::detail::read_and_no_convert>, Image = boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector3<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mpl::range_c<int, 0, 3> > >, false, std::allocator<unsigned char> >]
- In file included from C:\gil_contributions\gil_2/boost/gil/extension/io_new/bmp_read.hpp:31,
- from C:\gil_contributions\gil_2/boost/gil/extension/io_new/bmp_all.hpp:22,
- from C:\chhenning\code_blocks\gil_io_test\main.cpp:1:
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/make_reader.hpp: In function 'typename boost::gil::get_reader<String, FormatTag, ConversionPolicy, void>::type boost::gil::make_reader(const String&, const boost::gil::image_read_settings<FormatTag>&, const ConversionPolicy&, typename boost::enable_if<boost::mpl::and_<boost::gil::detail::is_supported_path_spec<String>, boost::gil::is_format_tag<FormatTag>, mpl_::bool_<true>, mpl_::bool_<true>, mpl_::bool_<true> >, void>::type*) [with String = const char*, FormatTag = boost::gil::bmp_tag, ConversionPolicy = boost::gil::detail::read_and_no_convert]':
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/make_reader.hpp:167: instantiated from 'typename boost::gil::get_reader<String, FormatTag, ConversionPolicy, void>::type boost::gil::make_reader(const String&, const FormatTag&, const ConversionPolicy&, typename boost::enable_if<boost::mpl::and_<boost::gil::detail::is_supported_path_spec<String>, boost::gil::is_format_tag<FormatTag>, mpl_::bool_<true>, mpl_::bool_<true>, mpl_::bool_<true> >, void>::type*) [with String = const char*, FormatTag = boost::gil::bmp_tag, ConversionPolicy = boost::gil::detail::read_and_no_convert]'
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/read_image.hpp:180: instantiated from 'void boost::gil::read_image(const String&, Image&, const FormatTag&, typename boost::enable_if<boost::mpl::and_<boost::gil::detail::is_supported_path_spec<String>, boost::gil::is_format_tag<FormatTag>, boost::gil::is_read_supported<typename boost::gil::get_pixel_type<typename Image::view_t>::type, FormatTag>, mpl_::bool_<true>, mpl_::bool_<true> >, void>::type*) [with String = const char*, Image = boost::gil::rgb8_image_t, FormatTag = boost::gil::bmp_tag]'
- C:\chhenning\code_blocks\gil_io_test\main.cpp:13: instantiated from here
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/make_reader.hpp:57: error: dependent-name 'boost::gil::get_reader::type' is parsed as a non-type, but instantiation yields a type
- C:\gil_contributions\gil_2/boost/gil/extension/io_new/detail/make_reader.hpp:57: note: say 'typename boost::gil::get_reader::type' if a type is meant
- Process terminated with status 1 (0 minutes, 13 seconds)
- 3 errors, 0 warnings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement