On Mon, Jan 12, 2009 at 4:58 PM, Christian Henning 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 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 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.