-
Notifications
You must be signed in to change notification settings - Fork 126
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
make static command doesnot work on Windows ,with minGW #26
Comments
Is that all output you have? The second error "No rule to make target 'config.mk'" just means the However, "process_begin: CreateProcess(NULL, env bash D:\Librarys\libimagequant-master\configure, ...) failed." doesn't really mean anything. There are dozens of ways in which Another option is to use Rust/Cargo to build it for MSVC (note that MinGW is not compatible with MSVC projects). I'm assuming you're building 64-bit executable for 64-bit Windows:
|
Yes,that was all I got. |
I use MSYS2 to build it, and get a 32-bit "libimagequant.a" file ; But when I build my project, which links libimagequant.a and libgcc.a as the REMEAD says. LNK2019:unresolved external symbol ___getreent, referenced at _liq_crash_if_invalid_handle_pointer_given.constprop.19 looks like this issue : https://github.com/kornelski/pngquant/issues/41 I tried as the issue said, link a "libmingwex.a" with my project , It didn't work... Windows is just so unflattering , isn't it... |
These uresolved symbols look like you've tried to use MinGW library with Visual Studio. They are incompatible in many subtle, but crashy ways. You can only use MinGW gcc with MinGW-only projects. And for Visual Studio projects you must use Microsoft's compiler. If you have an existing Visual Studio project, then add the |
I buiild the msvc-branch with openMP option turn off , and it works. thanks for your help. |
I did as the README says. use "make static" command to build this library.But it failed.
this is the error:
./configure
process_begin: CreateProcess(NULL, env bash D:\Librarys\libimagequant-master\configure, ...) failed.
make (e=2):
mingw32-make: *** No rule to make target 'config.mk', needed by 'pam.o'. Stop.
I am not good at Makefile build system.Don't know what is going on.
Any help will be appreciated~
BTW, msvc brunch build fail with VS2015 too...
The text was updated successfully, but these errors were encountered: