mozjpeg icon indicating copy to clipboard operation
mozjpeg copied to clipboard

windows10 mingw build mozjpeg-3.2-pre error ( undefined reference to `jinit_read_jpeg' )

Open SturdyCat opened this issue 8 years ago • 1 comments

windows10 mingw build mozjpeg-3.2-pre error. The same environment compiles 3.1 to complete. The error message is as follows: [ 59%] Linking C executable cjpeg-static.exe CMakeFiles\cjpeg-static.dir/objects.a(cjpeg.c.obj):cjpeg.c:(.text.startup+0x161): undefined reference to `jinit_read_jpeg' collect2.exe: error: ld returned 1 exit status CMakeFiles\cjpeg-static.dir\build.make:259: recipe for target 'cjpeg-static.exe' failed mingw32-make[2]: *** [cjpeg-static.exe] Error 1 CMakeFiles\Makefile2:289: recipe for target 'CMakeFiles/cjpeg-static.dir/all' failed mingw32-make[1]: *** [CMakeFiles/cjpeg-static.dir/all] Error 2 Makefile:137: recipe for target 'all' failed mingw32-make: *** [all] Error 2

SturdyCat avatar Feb 14 '17 01:02 SturdyCat

Can you try the master branch now?

527477ae43c69fc6b4827046b392706b0e44444d

kornelski avatar Feb 14 '17 11:02 kornelski