[MINC-users] undefined reference to `jpeg_mem_src'

Robert D. Vincent bert at phalarope.com
Wed May 24 06:16:50 EDT 2017


You probably need to install a different version of libjpeg-dev

I've been successfully building with libjpeg8-dev installed on a Ubuntu
16.04 system.

   -bert

On Wed, May 24, 2017 at 3:28 AM, Steffen Bollmann <stebollmann at gmail.com>
wrote:

> 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
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list