-- Build files have been written to: /tmp/luarocks_cutorch-scm-1-8303/cutorch/build[ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THC.cu.oIn file included from /tmp/luarocks_cutorch-scm-1-8303/cutorch/lib/THC/THCBlas.h:4:0, from /tmp/luarocks_cutorch-scm-1-8303/cutorch/lib/THC/THCBlas.cu:1, from /tmp/luarocks_cutorch-scm-1-8303/cutorch/lib/THC/THC.cu:4:/tmp/luarocks_cutorch-scm-1-8303/cutorch/lib/THC/THCGeneral.h:4:23: fatal error: THGeneral.h: No such file or directorycompilation terminated.CMake Error at THC_generated_THC.cu.o.cmake:206 (message): Error generating /tmp/luarocks_cutorch-scm-1-8303/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THC.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/./THC_generated_THC.cu.o] Error 1make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2make: *** [all] Error 2
Error: Build error: Failed building.
--
You received this message because you are subscribed to the Google Groups "torch7" group.
To unsubscribe from this group and stop receiving emails from it, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at http://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.
Can you please specify your OS?
Also, can you reinstall torch and cutorch withluarocks install torchluarocks install cutorch
th> require 'cutorch'[string "require 'cutorch'"]:1: loop or previous error loading module 'cutorch'stack traceback: [C]: in function 'require' [string "require 'cutorch'"]:1: in main chunk [C]: in function 'xpcall' /home/sanchit/local/share/lua/5.1/trepl/init.lua:769: in function 'repl' /home/sanchit/local/lib/luarocks/rocks/trepl/scm-1/bin/th:183: in main chunk [C]: at 0x004050d0 [0.0001s] oh wow, can you please use https://github.com/torch/torch7/wiki/Cheatsheet for any and all instructions.That repo you installed from is sooo old and I have no clue what it has.How did you find that repo at all?
did you use the clean-old.sh script to cleanup? https://github.com/torch/ezinstall/blob/master/clean-old.shCan you just try a locally contained installed using this: https://github.com/soumith/torch-distroI am not sure if there are system files that are conflicting still. This locally contained install will give you a torch that is only fully installed into this folder and nowhere else.
require 'nn' require 'nn'[string " require 'nn'"]:1: loop or previous error loading module 'nn'stack traceback: [C]: in function 'require' [string " require 'nn'"]:1: in main chunk [C]: in function 'xpcall' /home/user/local/share/lua/5.1/trepl/init.lua:769: in function 'repl' /home/user/local/lib/luarocks/rocks/trepl/scm-1/bin/th:183: in main chunk [C]: at 0x004050d0did you use the clean-old.sh script to cleanup? https://github.com/torch/ezinstall/blob/master/clean-old.shCan you just try a locally contained installed using this: https://github.com/soumith/torch-distroI am not sure if there are system files that are conflicting still. This locally contained install will give you a torch that is only fully installed into this folder and nowhere else.
On Fri, Nov 14, 2014 at 12:36 AM, Riddhiman Dasgupta via torch7 <torch7+APn2wQeNHKc-IzgwSDiWYp4O9xfeR6iToU_yl26WAKKTOHO-rgJzVZ0oY@googlegroups.com> wrote:
OK, I removed all existing Torch and Lua files and folders, and reinstalled everything using the instructions over at the cheatsheet.All modules installed correctly using luarocks, and I can even see them using luarocks list.However, when I start Torch using th, and try to load a module, this is what I am getting currently:
th> require 'cutorch'[string "require 'cutorch'"]:1: loop or previous error loading module 'cutorch'stack traceback:[C]: in function 'require'[string "require 'cutorch'"]:1: in main chunk[C]: in function 'xpcall'
/home/user/local/share/lua/5.1/trepl/init.lua:769: in function 'repl'/home/user/local/lib/luarocks/rocks/trepl/scm-1/bin/th:183: in main chunk[C]: at 0x004050d0[0.0001s]
did you use the clean-old.sh script to cleanup? https://github.com/torch/ezinstall/blob/master/clean-old.shCan you just try a locally contained installed using this: https://github.com/soumith/torch-distroI am not sure if there are system files that are conflicting still. This locally contained install will give you a torch that is only fully installed into this folder and nowhere else.
I fixed this today in trunk. Please reinstall and check.