Would be my guess as well, openjpeg-devel is installed for me
On Fri, Aug 2, 2019 at 10:13 AM Nathan R <[email protected]> wrote: > If you're using the system openjpeg package, my guess is that you haven't > installed openjpeg-devel. > > On 8/2/2019 9:38 AM, Trevor Cable wrote: > > Greetins, > I am working on a project in which oiio would be a fantastic addition but > I must use Centos 7 on our farm. I actually just need oiiotool but presume > I need to compile the entire package for this to work. > > Centos 7 > Linux node01.#####.net 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 > 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux > Cmake 3.15.1 > Boost 1.70 > gcc 8.1.0 > OpenEXR 2.2 > libTiff 4.0.9 > libRaw 0.19.3 > libPng 1.6.37 > libJpg 6b > openJPEG - most recent > > > Upon using ‘make USE_QT=0’ I get an error: > CMake Error at > /usr/local/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 > (message): > Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) > > I have been reading up on CMake but am unable to get to the root cause. > I’ve checked that the JPEG lib and binaries are in the correct system > locations. > > > I’ll include the entire output below. > Does anyone know what might be causing this? > > Also, has anyone successfully compiled oiio on Centos 7? The repo version > is too old for production use so I can’t use that. > > > Thank you for any tips that might point me in the right direction. I will > continue reading up on CMake in the mean time. > > > ******************** BEGIN CONSOLE OUTPUT *************************** > > [tcable@node01 oiio-release]$ make USE_QT=0 > -- The CXX compiler identification is GNU 8.1.0 > -- The C compiler identification is GNU 8.1.0 > -- Check for working CXX compiler: /usr/local/bin/c++ > -- Check for working CXX compiler: /usr/local/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Check for working C compiler: /usr/local/bin/gcc > -- Check for working C compiler: /usr/local/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- CMake version is 3.15.1 > CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy): > The OLD behavior for policy CMP0046 will be removed from a future version > of CMake. > > The cmake-policies(7) manual explains that the OLD behaviors of all > policies are deprecated and that a policy should be set to OLD only under > specific short-term circumstances. Projects should be ported to the NEW > behavior and not rely on setting a policy to OLD. > > > -- Project build dir = /home/tcable/oiio-release/build/linux64 > -- Project install dir = /home/tcable/oiio-release/dist/linux64 > -- platform = linux64 > -- CMAKE_CXX_COMPILER is /usr/local/bin/c++ > -- CMAKE_CXX_COMPILER_ID is GNU > -- Building for C++11 > -- clang-format not found. > -- Setting Namespace to: OpenImageIO_v2_0 > -- Found Boost 1.70.0 at /usr/local/lib/cmake/Boost-1.70.0 > -- Requested configuration: QUIET REQUIRED COMPONENTS > filesystem;system;thread;regex > -- Found boost_headers 1.70.0 at /usr/local/lib/cmake/boost_headers-1.70.0 > -- Found boost_filesystem 1.70.0 at > /usr/local/lib/cmake/boost_filesystem-1.70.0 > -- libboost_filesystem.a > -- Adding boost_filesystem dependencies: headers > -- Found boost_system 1.70.0 at /usr/local/lib/cmake/boost_system-1.70.0 > -- libboost_system.a > -- Adding boost_system dependencies: headers > -- Found boost_thread 1.70.0 at /usr/local/lib/cmake/boost_thread-1.70.0 > -- libboost_thread.a > -- Adding boost_thread dependencies: headers > -- Found boost_regex 1.70.0 at /usr/local/lib/cmake/boost_regex-1.70.0 > -- libboost_regex.a > -- Adding boost_regex dependencies: headers > -- OCIO not found. Specify OCIO_PATH to locate it > -- Skipping OpenColorIO support > -- No Qt5 -- skipping components that need Qt5. > -- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) > -- Field3d will not be used > -- Intel TBB not found, TBB_ROOT_DIR='' > -- OpenVDB will not be used, could not find Intel TBB > CMake Error at > /usr/local/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 > (message): > Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) > Call Stack (most recent call first): > > /usr/local/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 > (_FPHSA_FAILURE_MESSAGE) > /usr/local/share/cmake-3.15/Modules/FindJPEG.cmake:100 > (find_package_handle_standard_args) > src/cmake/externalpackages.cmake:359 (find_package) > CMakeLists.txt:135 (include) > > > -- Configuring incomplete, errors occurred! > See also > "/home/tcable/oiio-release/build/linux64/CMakeFiles/CMakeOutput.log". > See also > "/home/tcable/oiio-release/build/linux64/CMakeFiles/CMakeError.log". > make: *** [cmakesetup] Error 1 > > > *********************** END CONSOLE OUTPUT *************************** > > > > > > > > > > > > > > > _______________________________________________ > Oiio-dev mailing > [email protected]http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
