[gil] io extensions
Hi, I need to use the bmp io extension and tried the 'old' one from the googlecode repo which doesn't work against boost 1.37. Should I use the 'io_new' stuff and if so is there a bit of sample code how to use it in case the user interface has changed? Thanks, Jan.
Hi Jan, you should use the io_new extension. This extension is organized like all boost libraries. Though, look in the \gil_2\libs\gil\io_new\unit_test folder for some test code. Let me know how it goes. Regards, Christian On Mon, Jan 12, 2009 at 9:13 AM, Jan Boehme <jan.boehme@googlemail.com> wrote:
Hi,
I need to use the bmp io extension and tried the 'old' one from the googlecode repo which doesn't work against boost 1.37. Should I use the 'io_new' stuff and if so is there a bit of sample code how to use it in case the user interface has changed?
Thanks, Jan. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Mon, Jan 12, 2009 at 4:58 PM, Christian Henning <chhenning@gmail.com> wrote:
Hi Jan, you should use the io_new extension. This extension is organized like all boost libraries. Though, look in the \gil_2\libs\gil\io_new\unit_test folder for some test code.
Let me know how it goes.
Hi Christian, currently it's hard to work with. There are lots of errors and warnings. I fixed some of them but reached a dead end where I need help. I use GCC 4.3.2 and it seems io_new wasn't tested using this compiler so far. Here we go: boost/gil/extension/io_new/detail/pnm_io_read.hpp:200: error: too few template-parameter-lists boost/gil/extension/io_new/detail/pnm_io_read.hpp:202: error: 'is_bit_aligned_t' was not declared in this scope boost/gil/extension/io_new/detail/pnm_io_read.hpp:202: error: template argument 2 is invalid boost/gil/extension/io_new/detail/pnm_io_read.hpp:212: error: 'is_bit_aligned_t' cannot appear in a constant-expression boost/gil/extension/io_new/detail/pnm_io_read.hpp:212: error: type/value mismatch at argument 1 in template parameter list for 'template<class Buffer, class IsBitAligned> struct boost::gil::detail::negate_bits' boost/gil/extension/io_new/detail/pnm_io_read.hpp:212: error: expected a type, got 'boost::gil::detail::rh_t::buffer_t' boost/gil/extension/io_new/detail/pnm_io_read.hpp:212: error: template argument 2 is invalid boost/gil/extension/io_new/detail/pnm_io_read.hpp:212: error: invalid type in declaration before ';' token boost/gil/extension/io_new/detail/pnm_io_read.hpp:213: error: 'is_bit_aligned_t' cannot appear in a constant-expression boost/gil/extension/io_new/detail/pnm_io_read.hpp:213: error: type/value mismatch at argument 1 in template parameter list for 'template<class Buffer, class IsBitAligned> struct boost::gil::detail::swap_half_bytes' boost/gil/extension/io_new/detail/pnm_io_read.hpp:213: error: expected a type, got 'boost::gil::detail::rh_t::buffer_t' boost/gil/extension/io_new/detail/pnm_io_read.hpp:213: error: template argument 2 is invalid boost/gil/extension/io_new/detail/pnm_io_read.hpp:213: error: invalid type in declaration before ';' token In file included from boost/gil/extension/io_new/pnm_write.hpp:24, from boost/gil/extension/io_new/pnm_all.hpp:23 I have a lot of touched files for which I could send diffs. Thanks for support, Jan.
participants (2)
-
Christian Henning
-
Jan Boehme