Corvusoft / restbed

Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
http://www.corvusoft.co.uk
Other
1.93k stars 377 forks source link

Facing issue while building with external libraries #545

Closed arunbuddha closed 3 months ago

arunbuddha commented 8 months ago

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)

arunbuddha commented 8 months ago

Sorry for posting this. After I installed catch/catch2, that error got resolved.