Skip to content

Instantly share code, notes, and snippets.

@jpcima
Created October 24, 2018 07:35
Show Gist options
  • Save jpcima/ea4c1038ba11f0ee214496e180d4c473 to your computer and use it in GitHub Desktop.
Save jpcima/ea4c1038ba11f0ee214496e180d4c473 to your computer and use it in GitHub Desktop.
-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /root/.nix-profile/bin/c++
-- Check for working CXX compiler: /root/.nix-profile/bin/c++ -- broken
CMake Error at /nix/store/8jvmf9idk3zhfr9amwif4ggr5nrwnykp-cmake-3.12.1/share/cmake-3.12/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"/root/.nix-profile/bin/c++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /root/HybridReverb2/build/CMakeFiles/CMakeTmp
Run Build Command:"/root/.nix-profile/bin/make" "cmTC_e067e/fast"
/root/.nix-profile/bin/make -f CMakeFiles/cmTC_e067e.dir/build.make CMakeFiles/cmTC_e067e.dir/build
make[1]: Entering directory '/root/HybridReverb2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e067e.dir/testCXXCompiler.cxx.o
/root/.nix-profile/bin/c++ -o CMakeFiles/cmTC_e067e.dir/testCXXCompiler.cxx.o -c /root/HybridReverb2/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_e067e
/nix/store/8jvmf9idk3zhfr9amwif4ggr5nrwnykp-cmake-3.12.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e067e.dir/link.txt --verbose=1
/root/.nix-profile/bin/c++ CMakeFiles/cmTC_e067e.dir/testCXXCompiler.cxx.o -o cmTC_e067e
/root/.nix-profile/bin/ld: cannot find crt1.o: No such file or directory
/root/.nix-profile/bin/ld: cannot find crti.o: No such file or directory
/root/.nix-profile/bin/ld: cannot find -lm
/root/.nix-profile/bin/ld: cannot find -lgcc_s
/root/.nix-profile/bin/ld: cannot find -lc
/root/.nix-profile/bin/ld: cannot find -lgcc_s
/root/.nix-profile/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_e067e.dir/build.make:87: cmTC_e067e] Error 1
make[1]: Leaving directory '/root/HybridReverb2/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_e067e/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment