I have downloaded OpenKinect. (Disclosure: I have not checked wether it
is has non-libre software yet.) I typed:

git clone https://github.com/OpenKinect/libfreenect
cd libfreenect
mkdir build
cd build
cmake -L ..

But I get an error on executing that command. Here is the output:

quiliro@portkomputilo ~/libfreenect/build$ cmake -L ..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /home/quiliro/.guix-profile/bin/gcc
-- Check for working C compiler: /home/quiliro/.guix-profile/bin/gcc -- broken
CMake Error at 
/gnu/store/0wzyh3rfskcyprf9vd3w9680ly5bl42a-cmake-3.7.2/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51
 (message):
  The C compiler "/home/quiliro/.guix-profile/bin/gcc" is not able to compile
  a simple test program.

  It fails with the following output:

   Change Dir: /home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp

  

  Run Build Command:"/home/quiliro/.guix-profile/bin/make" "cmTC_42c45/fast"

  /home/quiliro/.guix-profile/bin/make -f
  CMakeFiles/cmTC_42c45.dir/build.make CMakeFiles/cmTC_42c45.dir/build

  make[1]: se entra en el directorio
  '/home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp'

  Building C object CMakeFiles/cmTC_42c45.dir/testCCompiler.c.o

  /home/quiliro/.guix-profile/bin/gcc -o
  CMakeFiles/cmTC_42c45.dir/testCCompiler.c.o -c
  /home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp/testCCompiler.c

  gcc: error trying to exec 'as': execvp: No existe el fichero o el
  directorio

  make[1]: *** [CMakeFiles/cmTC_42c45.dir/build.make:66:
  CMakeFiles/cmTC_42c45.dir/testCCompiler.c.o] Error 1

  make[1]: se sale del directorio
  '/home/quiliro/libfreenect/build/CMakeFiles/CMakeTmp'

  make: *** [Makefile:126: cmTC_42c45/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:39 (PROJECT)


-- Configuring incomplete, errors occurred!
See also "/home/quiliro/libfreenect/build/CMakeFiles/CMakeOutput.log".
See also "/home/quiliro/libfreenect/build/CMakeFiles/CMakeError.log".
-- Cache values
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local


Please suggest possible solution. Thank you very much. :-)

Reply via email to