
On 02/07/2012 11:32 p.m., Christian Henning wrote:
Hi there,
I'm in the process of making my gil extension ready for inclusion. The code is now stable and I'm trying to get gcc/clang to work. Since I'm no expert with gcc I would like to ask for some help with various compiler errors. ------------------- #include <boost/gil/extension/io_new/bmp_all.hpp>
using namespace std; using namespace boost::gil;
int main() { { const char* bmp_filename = ""; const char* bmp_out = "";
rgb8_image_t img; read_image( bmp_filename, img, bmp_tag() ); write_view( bmp_out + "all_formats_test.bmp", view( img ), bmp_tag() );
Aren't you trying to concatenate two char pointers there (a pointer and an array, actually)? Neither of those is std::string. Agustín K-ballo Bergé.- http://fusionfenix.com