[BUILD] The CXX compiler identification is unknown
Summarizing:
The CXX compiler identification is unknown
Full console output:
root@puppypc30690:/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0# make --trace -B
Makefile:263: el objetivo 'config' no existe
(if [ ! -e build/linux64/Makefile ] ; then \
cmake -E make_directory build/linux64 ; \
cd build/linux64 ; \
cmake -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX=/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/dist/linux64 \
../.. ; \
fi)
-- The CXX compiler identification is unknown
-- The C compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - broken
CMake Error at /usr/share/cmake-3.20/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_e13cf/fast && gmake[1]: se entra en el directorio '/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeTmp'
/usr/bin/gmake -f CMakeFiles/cmTC_e13cf.dir/build.make CMakeFiles/cmTC_e13cf.dir/build
gmake[2]: se entra en el directorio '/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e13cf.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_e13cf.dir/testCXXCompiler.cxx.o -c /initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
cc1plus: warning: unrecognized gcc debugging option: u
cc1plus: warning: unrecognized gcc debugging option: m
cc1plus: warning: unrecognized gcc debugging option: b
cc1plus: warning: unrecognized gcc debugging option: s
cc1plus: warning: unrecognized gcc debugging option: e
cc1plus: warning: unrecognized gcc debugging option: -
cc1plus: warning: unrecognized gcc debugging option: e
cc1plus: warning: unrecognized gcc debugging option: t
cc1plus: error: too many filenames given; type ���cc1plus --help��� for usage
gmake[2]: *** [CMakeFiles/cmTC_e13cf.dir/build.make:78: CMakeFiles/cmTC_e13cf.dir/testCXXCompiler.cxx.o] Error 1
gmake[2]: se sale del directorio '/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeTmp'
gmake[1]: *** [Makefile:127: cmTC_e13cf/fast] Error 2
gmake[1]: se sale del directorio '/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeTmp'
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeOutput.log".
See also "/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/CMakeFiles/CMakeError.log".
make: *** [Makefile:263: config] Error 1
CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/build/linux64
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=https://openimageio.org
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=OpenImageIO
//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=2.2.14.0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=2
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=2
//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=14
//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=0
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
OpenImageIO_BINARY_DIR:STATIC=/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/build/linux64
//Value Computed by CMake
OpenImageIO_SOURCE_DIR:STATIC=/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0/build/linux64
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=20
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio-2.2.14.0
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.20
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
I know this won't be as helpful as you may have hoped, but I don't think this is an OIIO problem per se.
This business:
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - broken
CMake Error at /usr/share/cmake-3.20/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
That's CMake telling you that, long before any of OIIO's CMake script ever tries to do anything (beyond the project declaration on line 6).
What happens if you run:
/usr/bin/c++ --help
What compiler is it? Evidently, CMake can't figure that out, and it's all downhill from there.
The compiler is gcc 10, unfortunately when I wanted to fix the errors, my system crashed, and it was unusable now I'm from another installed system.
That way I can no longer see the gcc help that I had at that time ... But if I remember correctly, I downloaded it from the following link:
http://ftp.br.debian.org/debian/pool/main/g/gcc-defaults/gcc_10.2.1-1_amd64.deb
I was and am in PuppyLinux, but that is not exactly the important thing, because from there I was mixing different operating systems, the main ones, Debian, ArchLinux and PuppyLinux's own, which is Slackware... The only way I have that libraries are not missing is by mixing the systems, but sometimes symbols are missing.
Previously I found a page to look up the symbols.
https://abi-laboratory.pro/
I went to gcc 10 because in the latest version of gcc I had a bug. In gcc11 it couldn't find -lgcc_s, it was taking a parameter that it couldn't read, and it seems to be taking it as if it were a file.
Now on the new system that I am on, I have gcc 5... Now the error is that it does not find boost.
# reset && make --trace
Makefile:263: target 'config' does not exist
(if [ ! -e build/linux64/Makefile ] ; then \
cmake -E make_directory build/linux64 ; \
cd build/linux64 ; \
cmake -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX=/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio/dist/linux64 \
../.. ; \
fi)
-- Configuring OpenImageIO 2.2.14.0
-- CMake 3.20.2
-- CMake system = Linux-5.7.2-lxpup64
-- CMake system name = Linux
-- Project source dir = /initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio
-- Project build dir = /initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio/build/linux64
-- Project install prefix = /initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio/dist/linux64
-- Configuration types =
-- Build type = Release
-- Setting Namespace to: OpenImageIO_v2_2
-- CMAKE_CXX_COMPILER = /usr/bin/c++
-- CMAKE_CXX_COMPILER_ID = GNU
-- Building for C++11
-- clang-format not found.
--
-- * Checking for dependencies...
-- * - Missing a dependency 'Package'?
-- * Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- * For many dependencies, we supply src/build-scripts/build_Package.bash
-- * - To exclude an optional dependency (even if found),
-- * -DUSE_Package=OFF or set environment var USE_Package=OFF
--
-- Boost library not found
-- Try setting Boost_ROOT ?
CMake Error at src/cmake/checked_find_package.cmake:148 (message):
Boost is required, aborting.
Call Stack (most recent call first):
src/cmake/externalpackages.cmake:60 (checked_find_package)
CMakeLists.txt:121 (include)
-- Configuring incomplete, errors occurred!
See also "/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio/build/linux64/CMakeFiles/CMakeOutput.log".
See also "/initrd/mnt/dev_save/descargas/oiio-2.2.14.0/oiio/build/linux64/CMakeFiles/CMakeError.log".
Makefile:263: recipe for target 'config' failed
make: *** [config] Error 1
Looking for Boost:
# cd /usr/lib64
# ls *boost*
libboost_atomic.so libboost_log_setup.so.1.59.0 libboost_random.so.1.76.0
libboost_atomic.so.1.59.0 libboost_log_setup.so.1.76.0 libboost_regex.so
libboost_atomic.so.1.76.0 libboost_log.so libboost_regex.so.1.59.0
libboost_chrono.a libboost_log.so.1.59.0 libboost_regex.so.1.76.0
libboost_chrono.so libboost_log.so.1.76.0 libboost_serialization.so
libboost_chrono.so.1.59.0 libboost_math_c99f.so libboost_serialization.so.1.59.0
libboost_chrono.so.1.76.0 libboost_math_c99f.so.1.59.0 libboost_serialization.so.1.76.0
libboost_container.so libboost_math_c99f.so.1.76.0 libboost_signals.so
libboost_container.so.1.59.0 libboost_math_c99l.so libboost_signals.so.1.59.0
libboost_container.so.1.76.0 libboost_math_c99l.so.1.59.0 libboost_stacktrace_addr2line.so
libboost_context.so libboost_math_c99l.so.1.76.0 libboost_stacktrace_addr2line.so.1.76.0
libboost_context.so.1.59.0 libboost_math_c99.so libboost_stacktrace_basic.so
libboost_context.so.1.76.0 libboost_math_c99.so.1.59.0 libboost_stacktrace_basic.so.1.76.0
libboost_contract.so libboost_math_c99.so.1.76.0 libboost_stacktrace_noop.so
libboost_contract.so.1.76.0 libboost_math_tr1f.so libboost_stacktrace_noop.so.1.76.0
libboost_coroutine.so libboost_math_tr1f.so.1.59.0 libboost_system.a
libboost_coroutine.so.1.59.0 libboost_math_tr1f.so.1.76.0 libboost_system.so
libboost_coroutine.so.1.76.0 libboost_math_tr1l.so libboost_system.so.1.59.0
libboost_date_time.so libboost_math_tr1l.so.1.59.0 libboost_system.so.1.76.0
libboost_date_time.so.1.59.0 libboost_math_tr1l.so.1.76.0 libboost_test_exec_monitor.a
libboost_date_time.so.1.76.0 libboost_math_tr1.so libboost_thread.so
libboost_exception.a libboost_math_tr1.so.1.59.0 libboost_thread.so.1.59.0
libboost_fiber.so libboost_math_tr1.so.1.76.0 libboost_thread.so.1.76.0
libboost_fiber.so.1.76.0 libboost_nowide.so libboost_timer.a
libboost_filesystem.so libboost_nowide.so.1.76.0 libboost_timer.so
libboost_filesystem.so.1.59.0 libboost_prg_exec_monitor.so libboost_timer.so.1.59.0
libboost_filesystem.so.1.76.0 libboost_prg_exec_monitor.so.1.59.0 libboost_timer.so.1.76.0
libboost_graph.so libboost_prg_exec_monitor.so.1.76.0 libboost_type_erasure.so
libboost_graph.so.1.59.0 libboost_program_options.so libboost_type_erasure.so.1.76.0
libboost_graph.so.1.76.0 libboost_program_options.so.1.59.0 libboost_unit_test_framework.so
libboost_iostreams.so libboost_program_options.so.1.76.0 libboost_unit_test_framework.so.1.59.0
libboost_iostreams.so.1.59.0 libboost_python27.so libboost_unit_test_framework.so.1.76.0
libboost_iostreams.so.1.76.0 libboost_python27.so.1.76.0 libboost_wave.so
libboost_json.so libboost_python39.so libboost_wave.so.1.59.0
libboost_json.so.1.76.0 libboost_python39.so.1.76.0 libboost_wave.so.1.76.0
libboost_locale.so libboost_python.so libboost_wserialization.so
libboost_locale.so.1.59.0 libboost_python.so.1.59.0 libboost_wserialization.so.1.59.0
libboost_locale.so.1.76.0 libboost_random.so libboost_wserialization.so.1.76.0
libboost_log_setup.so libboost_random.so.1.59.0
I have tried the following but it does not work either:
export Boost_ROOT=/usr/include/boost
I see that the include's of boost exist:
# cd /usr/include/boost
# ls *
There are more than three thousand files, I show the last ones:
assert_is_empty.hpp empty.hpp is_general_identifier.hpp is_unary.hpp to_seq.hpp
assert_is_identifier.hpp enum.hpp is_identifier.hpp list to_tuple.hpp
assert_is_list.hpp equal.hpp is_list.hpp list.hpp tuple
assert_is_number.hpp get_type.hpp is_multi.hpp not_equal.hpp tuple.hpp
assert_is_seq.hpp identity.hpp is_number.hpp seq vmd.hpp
wave:
cpp_context.hpp cpp_throw.hpp token_ids.hpp wave_version.hpp
cpp_exceptions.hpp grammars util whitespace_handling.hpp
cpp_iteration_context.hpp language_support.hpp wave_config_constant.hpp
cpplexer preprocessing_hooks.hpp wave_config.hpp
winapi:
access_rights.hpp error_codes.hpp handles.hpp shell.hpp
apc.hpp error_handling.hpp heap_memory.hpp show_window.hpp
basic_types.hpp event.hpp init_once.hpp srw_lock.hpp
bcrypt.hpp file_management.hpp jobs.hpp stack_backtrace.hpp
character_code_conversion.hpp file_mapping.hpp limits.hpp synchronization.hpp
condition_variable.hpp get_current_process.hpp local_memory.hpp system.hpp
config.hpp get_current_process_id.hpp memory.hpp thread.hpp
critical_section.hpp get_current_thread.hpp mutex.hpp thread_pool.hpp
crypt.hpp get_current_thread_id.hpp overlapped.hpp time.hpp
dbghelp.hpp get_last_error.hpp page_protection_flags.hpp timers.hpp
debugapi.hpp get_proc_address.hpp pipes.hpp tls.hpp
detail get_process_times.hpp priority_class.hpp waitable_timer.hpp
directory_management.hpp get_system_directory.hpp process.hpp wait_constants.hpp
dll.hpp get_thread_times.hpp security.hpp wait.hpp
environment.hpp handle_info.hpp semaphore.hpp wait_on_address.hpp
xpressive:
basic_regex.hpp regex_algorithms.hpp regex_iterator.hpp sub_match.hpp xpressive.hpp
detail regex_compiler.hpp regex_primitives.hpp traits xpressive_static.hpp
match_results.hpp regex_constants.hpp regex_token_iterator.hpp xpressive_dynamic.hpp xpressive_typeof.hpp
regex_actions.hpp regex_error.hpp regex_traits.hpp xpressive_fwd.hpp
yap:
algorithm_fwd.hpp algorithm.hpp config.hpp detail expression.hpp print.hpp user_macros.hpp yap.hpp
- gcc (GCC) 5.5.0
- cmake version 3.20.2
Closing this old issue, which I think was on the user's end. If this is still a problem, please re-open or file a new issue.