e-lab / torch-toolbox

A collection of snippets and libraries for Torch from e-Lab
https://engineering.purdue.edu/elab/
199 stars 64 forks source link

video-decoder on linux #25

Open mathTaoTao opened 7 years ago

mathTaoTao commented 7 years ago

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 7 years ago

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

Ameelisy commented 6 years ago

hi, do you solve the problem?