Re: Unable to compile example program in Windows using MSYS MinGW

On Thu, 24 May 2018, "Damon H. (TheDcoder)" via gtk-list wrote:

I am a C beginner and trying to follow "[Getting Started](" chapter from the documentation. I have adapted the first example program and when I compile it on Windows using packages MSYS and the MinGW(w-64?) GCC compiler it doesn't run.

I get two error dialog boxes (one after the other) and then the program exits without showing any GUI. The errors are:

The procedure entry point deflateSetHeader could not be located in the dynamic link library C:\msys64\mingw64\bin\libgio-2.0-0.dll.

The procedure entry point inflateReset2 could not be located in the dynamic link library C:\msys64\mingw64\bin\libpng16-16.dll.

These functions should be provided by zlib. Is that not being linked in? (linker flag: -lz)

Allin Cottrell

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]