Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this library in Windows #41

Open
DhruvPatel823 opened this issue Apr 27, 2022 · 2 comments
Open

How to use this library in Windows #41

DhruvPatel823 opened this issue Apr 27, 2022 · 2 comments

Comments

@DhruvPatel823
Copy link

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
Copy link

Kreijstal commented Nov 9, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants