danielgtaylor / jpeg-archive

Utilities for archiving JPEGs for long term storage.
1.16k stars 121 forks source link

When compiling on Windows : undefined reference error #63

Closed xberg closed 6 years ago

xberg commented 7 years ago

Hi, followed your tutorial on how to compile on windows. At the last command:

CC=gcc mingw32-make1

I get about 20 errors such as: src/util.o:util.c:(.text+0x192): undefined reference to `jpeg_std_error'

and finally: collect2.exe: error: ld returned 1 exit status

lfos commented 6 years ago

Did you install MozJPEG and configure the path to the MozJPEG library/include files correctly? You should be able to roughly follow the instructions in https://github.com/danielgtaylor/jpeg-archive/blob/master/appveyor.yml.

lfos commented 6 years ago

Closing for now. Please report back with more details if this still is an issue...