Discussion:
[boost] [gil::io] Compilation issue
Christian Henning via Boost
2017-07-03 20:57:31 UTC
Permalink
Hi all,

my metaprogramming zen is failing me and I like to ask for some help.

Using gil's updated develop branch the following code creates a compilation
error with Visual Studio 2015 Update 3.

#include <boost/gil/extension/io/tiff_all.hpp>

using namespace std;
using namespace boost;
using namespace gil;

int main()
{
gray1_image_t img;
write_view( "", view( img ), tiff_tag() );

return 0;
}


The compiler output is here:

https://pastebin.com/raw/d1AB9QMz


I think the error is in
https://github.com/boostorg/gil/blob/develop/include/boost/gil/premultiply.hpp#L29

but I'm not sure what to do.


Any help would be very helpful!

Thanks,
Christian

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Christian Henning via Boost
2017-07-04 01:33:41 UTC
Permalink
OK, my Zen is back. I updated develop branch.

Thanks to everyone who looked into my issue.

Christian
Post by Christian Henning via Boost
Hi all,
my metaprogramming zen is failing me and I like to ask for some help.
Using gil's updated develop branch the following code creates a
compilation error with Visual Studio 2015 Update 3.
#include <boost/gil/extension/io/tiff_all.hpp>
using namespace std;
using namespace boost;
using namespace gil;
int main()
{
gray1_image_t img;
write_view( "", view( img ), tiff_tag() );
return 0;
}
https://pastebin.com/raw/d1AB9QMz
I think the error is in
https://github.com/boostorg/gil/blob/develop/include/
boost/gil/premultiply.hpp#L29
but I'm not sure what to do.
Any help would be very helpful!
Thanks,
Christian
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Loading...