Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue while building with external libraries #545

Open
arunbuddha opened this issue Mar 14, 2024 · 1 comment
Open

Facing issue while building with external libraries #545

arunbuddha opened this issue Mar 14, 2024 · 1 comment

Comments

@arunbuddha
Copy link

arunbuddha commented Mar 14, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant