On 24/09/2020 17:44, Aileen Sengupta wrote: > > ---------- Forwarded message --------- > From: *Aileen Sengupta* <ailee****@gmail***** > <mailto:ailee****@gmail*****>> > Date: Mon, 21 Sep 2020, 01:18 > Subject: help in the usage of compiling c files > To: <mingw****@lists***** <mailto:mingw****@lists*****>> > > I have recently installed the MinGW and I am trying to run the following > command > gcc -o encoder jpegll_enc.c idc.h readimage.c image_size.c and I get the > following error: Well, the first obvious error is the specification of idc.h, on the command line. That file should be included, by #include "idc.h" in the C source files which need it; you *do not*, (and *should not*), specify it on the gcc command line... > image.png And your other errors are clearly diagnosed in that embedded image; the error messages even tell you *exactly* what you need to do to fix them! -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200924/7402efc8/attachment.sig>