CMake Error at C:/ProgramFiles/CMake/share/cmake3.8/Modules/FindPackageHandleStandardArgs.cmake:137

  c++, cmake, visual-studio-2015

The following error occurs when I compile MVE after compiling 3rdparty with cmake:

CMake Error at C:/ProgramFiles/CMake/share/cmake3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.8/Modules/FindJPEG.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
libs/mve/CMakeLists.txt:4 (find_package)

how can I fix the error?

Source: Windows Questions C++

LEAVE A COMMENT