andresy/torch — Issue #6: build error - help?
Author: jaberg
Created: 2011-12-15 15:05:52+00:00
State: open

Following the instructions here:
https://github.com/clementfarabet/torch7-demos

I had to manually add -fPIC to the CFLAGS in the lua makefile, but then it seemed to go ok... until

$ luarocks install torch

But now I'm stuck at

[ 93%] Built target libqttorch
make[2]: *** No rule to make target `cuda/lib/THC/generic/THStorage.h', needed by `cuda/lib/THC/./THC_generated_THC.cu.o'. Stop.
make[1]: *** [cuda/lib/THC/CMakeFiles/THC.dir/all] Error 2
make: *** [all] Error 2