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

macOS 15.2 - Could NOT find Curses (missing: CURSES_INCLUDE_PATH) #995

Open
kaipyroami opened this issue Dec 23, 2024 · 1 comment
Open

Comments

@kaipyroami
Copy link

Building from source using homebrew yields this error on the cmake -DCMAKE_BUILD_TYPE=Debug ../ step.
I have been unable to find where CURSES_INCLUDE_PATH is defined or where it should be defined.

brew --prefix ncurses provides the following directory for curses,
/opt/homebrew/opt/ncurses

Error:

CMake Error at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Curses (missing: CURSES_INCLUDE_PATH)
Call Stack (most recent call first):
  /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/share/cmake/Modules/FindCurses.cmake:268 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  utilities/bladeRF-power/CMakeLists.txt:6 (find_package)
@kaipyroami
Copy link
Author

Attempted to set the path in utilities/bladeRF-power/CMakeLists.txt
with
find_package(Curses REQUIRED PATHS "/opt/homebrew/opt/ncurses")

Error:

CMake Error at utilities/bladeRF-power/CMakeLists.txt:6 (find_package):
  Could not find a package configuration file provided by "Curses" with any
  of the following names:

    CursesConfig.cmake
    curses-config.cmake

  Add the installation prefix of "Curses" to CMAKE_PREFIX_PATH or set
  "Curses_DIR" to a directory containing one of the above files.  If "Curses"
  provides a separate development package or SDK, be sure it has been
  installed.

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