Search found 1 match

by Ismoez
2017-12-27T11:21:35-07:00
Forum: Developers
Topic: MinGW64 and ImageMagick
Replies: 6
Views: 24178

Re: MinGW64 and ImageMagick

in file nt-base.h Add:
#include <Winsock2.h>
in:
#if defined(MAGICKCORE_WINDOWS_SUPPORT)
after:
#include <windows.h>

AND in makefile:
there should be a LIBS variable somewhere near row 2637
ADD -lws2_32
in my Makfefile the varible looked like this:
LIBS =
Now it looks like this:
LIBS = -lws2_32