[MINC-users] undefined reference to `jpeg_mem_src'

Steffen Bollmann stebollmann at gmail.com
Wed May 24 03:28:15 EDT 2017


Hi all,

I am trying to compile minc-toolkit-v2 develop and I get this error:

[ 44%] Linking C executable dcm2mnc
CMakeFiles/dcm2mnc.dir/dcm2mnc/dicom_read.c.o: In function
`dicom_jpeg_decompress':
dicom_read.c:(.text+0x4a4): undefined reference to `jpeg_mem_src'
collect2: ld returned 1 exit status
make[2]: *** [minctools/conversion/dcm2mnc] Error 1
make[1]: *** [minctools/conversion/CMakeFiles/dcm2mnc.dir/all] Error 2
make: *** [all] Error 2

How can I find out what is causing that error? Is it a missing library on
the system where I build it? Could it be that libjpeg-dev is the culprit
(guessing from 'jpeg_mem_src')?

Thank you for any hints
Steffen


More information about the MINC-users mailing list