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

How to build with cmake #317

Closed
poor1017 opened this issue Apr 20, 2023 · 1 comment
Closed

How to build with cmake #317

poor1017 opened this issue Apr 20, 2023 · 1 comment

Comments

@poor1017
Copy link

Hi

I found a build directory, and I run cd build; cmake .., then I got the following error:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-10 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'apr-1;apr'
-- Dynamic APR library not found, trying static
CMake Error at /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find APR (missing: APR_LIBRARIES APR_INCLUDE_DIRS)
Call Stack (most recent call first):
  /opt/cmake-3.23.0/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  build/cmake/FindAPR.cmake:278 (find_package_handle_standard_args)
  CMakeLists.txt:34 (find_package)


-- Configuring incomplete, errors occurred!
See also "/root/Workstation/web/bak/unimrcp/CMakeFiles/CMakeOutput.log".

How to build unimrcp with cmake?

Thank you!

@achaloyan
Copy link
Contributor

This question is answered on the discussion group.

https://groups.google.com/g/unimrcp/c/_-g4YaKgid4

@poor1017 poor1017 closed this as completed May 8, 2023
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

2 participants