kakwa / libemf2svg

Microsoft (MS) EMF to SVG conversion library
GNU General Public License v2.0
95 stars 32 forks source link

How to use this library in Windows #41

Open DhruvPatel823 opened 2 years ago

DhruvPatel823 commented 2 years ago

Hello, I am trying to use this library in windows with the help of cmake. I try to compile it from CLI, it throws me error in that. I attach my CMakeOutput.log file and when I try to configure it from CMake GUI it throws me another error. I also attach that screenshot. Can please provide any further solution how can I use it in windows. CMakeOutput.log

image

Kreijstal commented 11 months ago

in mingw it kinda works like this

pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-zlib mingw-w64-x86_64-libpng mingw-w64-x86_64-freetype mingw-w64-x86_64-fontconfig
git clone --depth=1 https://github.com/metanorma/libemf2svg.git
cd libemf2svg/
cmake -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/ -DEXTERNAL_ICONV=iconv -B build
cmake --build build
Kreijstal commented 11 months ago

use the https://github.com/metanorma/libemf2svg.git fork, this one doesn't work