Skip to content

Can't build using MingW on Linux. #38

@pheest

Description

@pheest

Issues I've identified:

  1. GraphicsMagickSrc/magick/Makefile and GraphicsMagickSrc/coders/Makefile link to WIN32 libraries Advapi32 User32 Gdi32 and User32 Gdi32 OleAut32 respectively. Microsoft have these file names with a Capital letter on (case-insensitive) Windows. But MingW has these file names in lower case, which is a problem on (case-sensitive) Linux. The file names should be in lower case in the make file, this will be fine on both Windows and Linux.
  2. GraphicsMagickSrc/ttf/builds/windows/ftdebug cannot compile in these circumstances. The folder is one of several that the GraphicsMagick distribution has, I believe these are intended to allow internal debugging of the GraphicsMagick library. I believe the folder can be removed from the ADSupport compilation.
  3. hdf5src/h5win32defs.h declares struct timezone and struct timespec. But these structures are already declared by Linux headers which are used by MingW. This results in a redefinition error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions