getting further #2

Open
opened 3 years ago by Synku · 2 comments
Synku commented 3 years ago
Owner

-- libsodium: libraries at /usr/lib/x86_64-linux-gnu/libsodium.a
CMake Error at /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find QREncode (missing: QRENCODE_LIBRARY QRENCODE_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
cmake/FindQREncode.cmake:7 (find_package_handle_standard_args)
CMakeLists.txt:123 (find_package)

-- Configuring incomplete, errors occurred!

-- libsodium: libraries at /usr/lib/x86_64-linux-gnu/libsodium.a CMake Error at /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find QREncode (missing: QRENCODE_LIBRARY QRENCODE_INCLUDE_DIR) Call Stack (most recent call first): /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) cmake/FindQREncode.cmake:7 (find_package_handle_standard_args) CMakeLists.txt:123 (find_package) -- Configuring incomplete, errors occurred!
Synku commented 3 years ago
Poster
Owner

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/cmake/boost_system-1.71.0/boost_system-config.cmake

but it set boost_system_FOUND to FALSE so package "boost_system" is
considered to be NOT FOUND. Reason given by package:

No suitable build variant has been found.

The following variants have been tried and rejected:

  • libboost_system.so.1.71.0 (shared, Boost_USE_STATIC_LIBS=ON)

  • libboost_system.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.18/Modules/FindBoost.cmake:448 (find_package)
CMakeLists.txt:150 (find_package)

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package): Found package configuration file: /usr/lib/x86_64-linux-gnu/cmake/boost_system-1.71.0/boost_system-config.cmake but it set boost_system_FOUND to FALSE so package "boost_system" is considered to be NOT FOUND. Reason given by package: No suitable build variant has been found. The following variants have been tried and rejected: * libboost_system.so.1.71.0 (shared, Boost_USE_STATIC_LIBS=ON) * libboost_system.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON) Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component) /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.18/Modules/FindBoost.cmake:448 (find_package) CMakeLists.txt:150 (find_package)
Synku commented 3 years ago
Poster
Owner

Lines 117 to 182 of BoostConfig.cmake

find_package(boost_{__boost_comp_nv} {Boost_VERSION} EXACT CONFIG {_BOOST_REQUIRED} {_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})

set(__boost_comp_found {boost_{__boost_comp_nv}_FOUND})

FindPackageHandleStandardArgs expects __FOUND

set(Boost_{comp}_FOUND {__boost_comp_found})

FindBoost sets Boost__FOUND

string(TOUPPER ${comp} BOOST_COMP)
set(Boost
{_BOOST_COMP}_FOUND {__boost_comp_found})

FindBoost compatibility variables: Boost_LIBRARIES, Boost__LIBRARY

if(__boost_comp_found)

list(APPEND Boost_LIBRARIES Boost::${__boost_comp_nv})
set(Boost_${_BOOST_COMP}_LIBRARY Boost::${__boost_comp_nv})

if(NOT "${comp}" STREQUAL "${__boost_comp_nv}" AND NOT TARGET Boost::${comp})

  # Versioned target alias (f.ex. Boost::python27) for compatibility
  add_library(Boost::${comp} INTERFACE IMPORTED)
  set_property(TARGET Boost::${comp} APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${__boost_comp_nv})

endif()

endif()

unset(_BOOST_REQUIRED)
unset(_BOOST_QUIET)
unset(_BOOST_CMAKEDIR)
unset(__boost_comp_nv)
unset(__boost_comp_found)
unset(_BOOST_COMP)

endmacro()

Find boost_headers

boost_find_component(headers 1)

if(NOT boost_headers_FOUND)

set(Boost_FOUND 0)
set(Boost_NOT_FOUND_MESSAGE "A required dependency, boost_headers, has not been found.")

return()

endif()

Compatibility variables

set(Boost_MAJOR_VERSION ${Boost_VERSION_MAJOR})
set(Boost_MINOR_VERSION ${Boost_VERSION_MINOR})
set(Boost_SUBMINOR_VERSION ${Boost_VERSION_PATCH})

set(Boost_VERSION_STRING ${Boost_VERSION})
set(Boost_VERSION_MACRO {Boost_VERSION_MAJOR}0{Boost_VERSION_MINOR}0${Boost_VERSION_PATCH})

get_target_property(Boost_INCLUDE_DIRS Boost::headers INTERFACE_INCLUDE_DIRECTORIES)
set(Boost_LIBRARIES "")

Find components

foreach(__boost_comp IN LISTS Boost_FIND_COMPONENTS)

boost_find_component({__boost_comp} {Boost_FIND_REQUIRED_${__boost_comp}})

Lines 117 to 182 of BoostConfig.cmake find_package(boost_${__boost_comp_nv} ${Boost_VERSION} EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR}) set(__boost_comp_found ${boost_${__boost_comp_nv}_FOUND}) # FindPackageHandleStandardArgs expects <package>_<component>_FOUND set(Boost_${comp}_FOUND ${__boost_comp_found}) # FindBoost sets Boost_<COMPONENT>_FOUND string(TOUPPER ${comp} _BOOST_COMP) set(Boost_${_BOOST_COMP}_FOUND ${__boost_comp_found}) # FindBoost compatibility variables: Boost_LIBRARIES, Boost_<C>_LIBRARY if(__boost_comp_found) list(APPEND Boost_LIBRARIES Boost::${__boost_comp_nv}) set(Boost_${_BOOST_COMP}_LIBRARY Boost::${__boost_comp_nv}) if(NOT "${comp}" STREQUAL "${__boost_comp_nv}" AND NOT TARGET Boost::${comp}) # Versioned target alias (f.ex. Boost::python27) for compatibility add_library(Boost::${comp} INTERFACE IMPORTED) set_property(TARGET Boost::${comp} APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${__boost_comp_nv}) endif() endif() unset(_BOOST_REQUIRED) unset(_BOOST_QUIET) unset(_BOOST_CMAKEDIR) unset(__boost_comp_nv) unset(__boost_comp_found) unset(_BOOST_COMP) endmacro() # Find boost_headers boost_find_component(headers 1) if(NOT boost_headers_FOUND) set(Boost_FOUND 0) set(Boost_NOT_FOUND_MESSAGE "A required dependency, boost_headers, has not been found.") return() endif() # Compatibility variables set(Boost_MAJOR_VERSION ${Boost_VERSION_MAJOR}) set(Boost_MINOR_VERSION ${Boost_VERSION_MINOR}) set(Boost_SUBMINOR_VERSION ${Boost_VERSION_PATCH}) set(Boost_VERSION_STRING ${Boost_VERSION}) set(Boost_VERSION_MACRO ${Boost_VERSION_MAJOR}0${Boost_VERSION_MINOR}0${Boost_VERSION_PATCH}) get_target_property(Boost_INCLUDE_DIRS Boost::headers INTERFACE_INCLUDE_DIRECTORIES) set(Boost_LIBRARIES "") # Find components foreach(__boost_comp IN LISTS Boost_FIND_COMPONENTS) boost_find_component(${__boost_comp} ${Boost_FIND_REQUIRED_${__boost_comp}})
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Synku/feather-wow#2
Loading…
There is no content yet.