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

Does it work on MinGW-w64? #17

Closed
oscarfv opened this issue Apr 9, 2019 · 3 comments
Closed

Does it work on MinGW-w64? #17

oscarfv opened this issue Apr 9, 2019 · 3 comments

Comments

@oscarfv
Copy link

oscarfv commented Apr 9, 2019

Hello and first of all thank you for providing the binaries.

I see that build.sh mentions MINGW*. Does this mean that the build is supposed to work on MSYS2+Mingw-w64 ?

@bblanchon
Copy link
Owner

I never tried.
I added MINGW* in an attempt to merge build.bat and build.sh together, but still using Visual Studio.

@asmwarrior
Copy link

I would also suggest you could supply a mingw-w64 build.

See some related discussion here: update pdfium-git / git fetch fails · Issue #6284 · msys2/MINGW-packages

Thanks.

@bblanchon
Copy link
Owner

The Windows build works fine with MinGW, no need to make a different build.

However there is a problem with PDFiumConfig.cmake because it assumes the compiler is MSVC.
Until I find a better solution, you can replace the if(MSVC) with if(WIN32) and set PDFium_ARCH to x86 or x64.

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

3 participants