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

Error while trying to build the project #1

Open
pmateusz opened this issue Oct 22, 2018 · 0 comments
Open

Error while trying to build the project #1

pmateusz opened this issue Oct 22, 2018 · 0 comments

Comments

@pmateusz
Copy link

When I run cmake to configure the build the process fails, because it cannot find the CSPICE_LIBRARY.

It seems to me that it would be easier either to create a cmake that does not require the library by default or downloads it if needed. Especially, because SPICE is also a name of a different library: https://packages.ubuntu.com/search?keywords=spice-client-gtk

pmateusz@debian:~/dev/ace/smart-astro/build$ cmake ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 6.3.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Found SMART_MATH: /usr/local/lib/libsmart-math.so (found version "0.1.0") 
-- Could NOT find CSPICE (missing: CSPICE_INCLUDE_DIR CSPICE_LIBRARY) 
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- WARNING: building release version!
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CSPICE_LIBRARY
    linked by target "smart-astro" in directory /home/pmateusz/dev/ace/smart-astro
    linked by target "main" in directory /home/pmateusz/dev/ace/smart-astro
    linked by target "example_template" in directory /home/pmateusz/dev/ace/smart-astro/examples

-- Configuring incomplete, errors occurred!
See also "/home/pmateusz/dev/ace/smart-astro/build/CMakeFiles/CMakeOutput.log".
pmateusz@debian:~/dev/ace/smart-astro/build$ 
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