When I tried to build restbed with external libraries, I face the below problem. Please help me to fix this error. I am running Debian 12.
$ cmake ..
-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ASIO include at: /usr/include
-- Found OpenSSL include at: /usr/include
-- Found OpenSSL library at: /usr/lib/x86_64-linux-gnu/libssl.a
-- Found OpenSSL library at: /usr/lib/x86_64-linux-gnu/libssl.so
-- Found Crypto library at: /usr/lib/x86_64-linux-gnu/libcrypto.a
-- Found Crypto library at: /usr/lib/x86_64-linux-gnu/libcrypto.so
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find catch (missing: catch_INCLUDE)
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/Findcatch.cmake:4 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:108 (find_package)
Hi,
When I tried to build restbed with external libraries, I face the below problem. Please help me to fix this error. I am running Debian 12.
$ cmake .. -- The CXX compiler identification is GNU 12.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done
-- Found ASIO include at: /usr/include -- Found OpenSSL include at: /usr/include -- Found OpenSSL library at: /usr/lib/x86_64-linux-gnu/libssl.a -- Found OpenSSL library at: /usr/lib/x86_64-linux-gnu/libssl.so -- Found Crypto library at: /usr/lib/x86_64-linux-gnu/libcrypto.a -- Found Crypto library at: /usr/lib/x86_64-linux-gnu/libcrypto.so
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find catch (missing: catch_INCLUDE) Call Stack (most recent call first): /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) cmake/Findcatch.cmake:4 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:108 (find_package)