open-discussion > DTIPrep Installation Error (libtiff)
Showing 1-1 of 1 posts
Display:
Results per page:
Apr 1, 2019  11:04 AM | John Graner
DTIPrep Installation Error (libtiff)
Hello all,

I'm attempting to install DTIPrep using the following commands and ran into an error running "make". I'm running Ubuntu 16.04.6 on a Virtual Machine.
I've been searching the internet for an answer but haven't come across anything that works.
Does anybody have any suggestions?

Thanks,
-John

Attempted install commands:
1. git clone https://github.com/NIRALUser/DTIPrep.git
2. mkdir DTIPrep-build; cd DTIPrep-build
3. cmake ../DTIPrep
4. make

Error Messages:
...
[100%] Linking CXX executable /home/code/DTIPrep-build/bin/itkTestDriver
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_dec_init'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_newlen'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_dec_in'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_strerror'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_dec_free'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_dec_getimage'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_dec_getsize'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGDecode: error: undefined reference to 'jbg_dec_free'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGEncode: error: undefined reference to 'jbg_enc_init'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGEncode: error: undefined reference to 'jbg_enc_out'
/home/code/DTIPrep-build/TIFF-install/lib/libtiff.a(tif_jbig.o):tif_jbig.c:function JBIGEncode: error: undefined reference to 'jbg_enc_free'
collect2: error: ld returned 1 exit status
Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/build.make:126: recipe for target '/home/code/DTIPrep-build/bin/itkTestDriver' failed
make[5]: *** [/home/code/DTIPrep-build/bin/itkTestDriver] Error 1
CMakeFiles/Makefile2:13449: recipe for target 'Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/all' failed
make[4]: *** [Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/ITKv4.dir/build.make:116: recipe for target 'ITKv4-prefix/src/ITKv4-stamp/ITKv4-build' failed
make[2]: *** [ITKv4-prefix/src/ITKv4-stamp/ITKv4-build] Error 2
CMakeFiles/Makefile2:227: recipe for target 'CMakeFiles/ITKv4.dir/all' failed
make[1]: *** [CMakeFiles/ITKv4.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2