e-lab/torch-toolbox

video-decoder on linux

mathTaoTao opened this issue · 2 comments

when I build on linux, I got
gcc -O3 -c -fpic -Wall -DUSEGLES2 -DDOVIDEOCAP -I. -I/home/nvidia/torch/install/include -I/usr/include/freetype2 video_decoder.c
video_decoder.c:13:18: fatal error: luaT.h: No such file or directory
compilation terminated.
Makefile:55: recipe for target 'video_decoder.o' failed
make: *** [video_decoder.o] Error 1

jhjin commented

Makefile is not able to find the lua header file. Check include path if it is correct.
https://github.com/e-lab/torch-toolbox/blob/master/Video-decoder/Makefile#L7

hi, do you solve the problem?