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

cmake install fails #30

Open
ajasmin opened this issue May 11, 2022 · 0 comments
Open

cmake install fails #30

ajasmin opened this issue May 11, 2022 · 0 comments

Comments

@ajasmin
Copy link

ajasmin commented May 11, 2022

Running cmake and make install fails with file INSTALL given no DESTINATION

root@c9bbfcb93f67:/static_math# cmake --version
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
root@c9bbfcb93f67:/static_math# cmake .
-- The CXX compiler identification is GNU 11.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
-- Configuring done
-- Generating done
-- Build files have been written to: /static_math
root@c9bbfcb93f67:/static_math# make install
[  6%] Building CXX object CMakeFiles/test-vector.dir/test/vector.cpp.o
[ 12%] Linking CXX executable test-vector
[ 12%] Built target test-vector
[ 18%] Building CXX object CMakeFiles/test-bit.dir/test/bit.cpp.o
[ 25%] Linking CXX executable test-bit
[ 25%] Built target test-bit
[ 31%] Building CXX object CMakeFiles/test-cmath.dir/test/cmath.cpp.o
[ 37%] Linking CXX executable test-cmath
[ 37%] Built target test-cmath
[ 43%] Building CXX object CMakeFiles/test-complex.dir/test/complex.cpp.o
[ 50%] Linking CXX executable test-complex
[ 50%] Built target test-complex
[ 56%] Building CXX object CMakeFiles/test-constant.dir/test/constant.cpp.o
[ 62%] Linking CXX executable test-constant
[ 62%] Built target test-constant
[ 68%] Building CXX object CMakeFiles/test-formula.dir/test/formula.cpp.o
[ 75%] Linking CXX executable test-formula
[ 75%] Built target test-formula
[ 81%] Building CXX object CMakeFiles/test-rational.dir/test/rational.cpp.o
[ 87%] Linking CXX executable test-rational
[ 87%] Built target test-rational
[ 93%] Building CXX object CMakeFiles/test-trigonometry.dir/test/trigonometry.cpp.o
[100%] Linking CXX executable test-trigonometry
[100%] Built target test-trigonometry
[100%] Built target all_tests
Install the project...
-- Install configuration: ""
CMake Error at cmake_install.cmake:46 (file):
  file INSTALL given no DESTINATION


make: *** [Makefile:110: install] Error 1

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