-
Notifications
You must be signed in to change notification settings - Fork 9
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
I'm finding issues when installing NCEPLIBS-ip after installing NCEPLIBS-sp #185
Comments
Update: I have also tried to install it on the build directory I created for the NCEPLIBS-sp but then I get this error message: CMake Error at /home/iist/BFPS_PYTHON/build/sp-config.cmake:32 (include):
Call Stack (most recent call first): CMake Error at /home/iist/BFPS_PYTHON/build/sp-config.cmake:34 (get_target_property): CMake Error at /home/iist/BFPS_PYTHON/build/sp-config.cmake:42 (get_target_property): I don't know what else to try please help me. |
Hi Isabel- I think the key is to add the sp install directory (~/BFPS_PYTHON/build) to your CMAKE_PREFIX_PATH when building ip, that way it will know where to look for the sp config files. The following works for me:
|
@isabelSTst did you manage to get this worked out? |
This may reflect the issue resolved in #204. In any case, closing this issue but please reopen if there the problem persists. |
Hello, I'm very new at this and I'm following the instructions given on https://github.com/NOAA-EMC/NCEPLIBS-ip after I successfully install NCEPLIBS-sp following https://github.com/NOAA-EMC/NCEPLIBS-sp .
I get an error after writing this command: cmake -DCMAKE_INSTALL_PREFIX=~/BFPS_PYTHON/build_2 ~/BFPS_PYTHON/NCEPLIBS-ip/
(build_2 is a new directory I created because I couldn't use the build directory I created for NCEPLIBS-sp)
And I'm obtaining the following error:
CMake Error at CMakeLists.txt:47 (find_package):
By not providing "Findsp.cmake" in CMAKE_MODULE_PATH this project has asked
CMake to find a package configuration file provided by "sp", but CMake did
not find one.
Could not find a package configuration file provided by "sp" (requested
version 2.3.0) with any of the following names:
Add the installation prefix of "sp" to CMAKE_PREFIX_PATH or set "sp_DIR" to
a directory containing one of the above files. If "sp" provides a separate
development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
Can please anyone help me? I need that library.
Thanks in advance.
The text was updated successfully, but these errors were encountered: