When compiling on Windows : undefined reference error
Closed this issue · 2 comments
xberg commented
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
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
Closing for now. Please report back with more details if this still is an issue...