kakwa / libvisio2svg

Library/Tools to convert Microsoft (MS) Visio documents (VSS and VSD) to SVG
GNU General Public License v2.0
112 stars 20 forks source link

open_memstream is not supported on macOS #8

Closed tpflueger closed 7 years ago

tpflueger commented 7 years ago

When I try to build, I receive an error because open_memstream is not supported on macOS.

Visio2Svg.cpp:194:13: error: use of undeclared identifier 'open_memstream' out_f = open_memstream(out, out_length);

Is there a potential workaround?

kakwa commented 7 years ago

yes there is, I've done it for emf2svg, it's to include an external memstream.c in the project. I'm working on it in the OSX_SUPPORT branch

tpflueger commented 7 years ago

Great! Thank you!

kakwa commented 7 years ago

It's not released yet, don't close it too soon ^^

kakwa commented 7 years ago

OSX support added in tag 0.5.1