When compile orthanc My error message :
[ 92%] Building CXX object CMakeFiles/ServerLibrary.dir/Plugins/Engine/PluginsManager.cpp.o
[ 92%] Building CXX object CMakeFiles/ServerLibrary.dir/Plugins/Engine/SharedLibrary.cpp.o
Linking CXX static library libServerLibrary.a
[ 92%] Built target ServerLibrary
Scanning dependencies of target Orthanc
[ 92%] Building CXX object CMakeFiles/Orthanc.dir/OrthancServer/main.cpp.o
Linking CXX executable Orthanc
libCoreLibrary.a(JpegReader.cpp.o): In function Orthanc::Uncompress(jpeg_decompress_struct&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, Orthanc::ImageAccessor&)': /home/orthanc/Desktop/OrthancBuild/Orthanc-1.3.1/Core/Images/JpegReader.cpp:52: undefined reference to
jpeg_read_header’
/home/orthanc/Desktop/OrthancBuild/Orthanc-1.3.1/Core/Images/JpegReader.cpp:53: undefined reference to jpeg_start_decompress' /home/orthanc/Desktop/OrthancBuild/Orthanc-1.3.1/Core/Images/JpegReader.cpp:91: undefined reference to
jpeg_read_scanlines’
/home/orthanc/Desktop/OrthancBuild/Orthanc-1.3.1/Core/Images/JpegReader.cpp:98: undefined reference to `jpeg_finish_decompress’
…
…
make[2]: *** [Orthanc] Error 1
make[1]: *** [CMakeFiles/Orthanc.dir/all] Error 2
make: *** [all] Error 2
system:Centos6.5
orthanc version :Orthanc-1.3.1
LinuxComplation:cmake -DSTATIC_BUILD=ON
-DALLOW_DOWNLOADS=ON
-DUSE_SYSTEM_JSONCPP=OFF
-DUSE_SYSTEM_MONGOOSE=OFF
-DUSE_SYSTEM_PUGIXML=OFF
-DUSE_SYSTEM_SQLITE=OFF
-DUSE_SYSTEM_BOOST=OFF
-DUSE_SYSTEM_DCMTK=OFF
-DUSE_SYSTEM_GOOGLE_TEST=OFF
-DUSE_SYSTEM_LIBJPEG=OFF
-DUSE_SYSTEM_CURL=OFF
-DCMAKE_BUILD_TYPE=Debug
./Orthanc-1.3.1
what is the problem with me ? please help me ,thank you very much