Hi, all
I have been trying to install torch and am getting an error while test compiling. I used the instructions on http://torch.ch/docs/getting-started.html#_. I am using 64bit Arch linux. Begging you to help me out, tell me why.
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message)
The C compiler
"/usr/bin/gcc-5"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home2/suehiro/torch/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_47c6a/fast"
/usr/bin/make -f CMakeFiles/cmTC_47c6a.dir/build.make CMakeFiles/cmTC_47c6a.dir/build
make[1]: ディレクトリ '/home2/suehiro/torch/build/CMakeFiles/CMakeTmp' に入ります
Building C object CMakeFiles/cmTC_47c6a.dir/testCCompiler.c.o
/usr/bin/gcc-5 -I/opt/cuda/include FLAGS -o CMakeFiles/cmTC_47c6a.dir/testCCompiler.c.o -c /home2/suehiro/torch/build/CMakeFiles/CMakeTmp/testCCompiler.c
gcc-5: error: FLAGS: No such file or directory
make[1]: *** [CMakeFiles/cmTC_47c6a.dir/build.make:66: CMakeFiles/cmTC_47c6a.dir/test CCompiler.c.o] error 1
make[1]: ディレクトリ '/home2/suehiro/torch/build/CMakeFiles/CMakeTmp' から出ます
make: *** [Makefile:126: cmTC_47c6a/fast] error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt
Hi, all I have been trying to install torch and am getting an error while test compiling. I used the instructions on http://torch.ch/docs/getting-started.html#_. I am using 64bit Arch linux. Begging you to help me out, tell me why.
thanks everyone.