This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem finding header files

Other Parts Discussed in Thread: TVP5146

Hi,

I have began to write a simple program that is based off the demo, and I have added all the include files but when I try to compile the code, it tells me that it cant find, but I found the files installed in the directory

/opt/mv_pro_4.0.1/montavista/pro/devkit/lsp/ti-davinci/include/media/davinci

Do I have to add this path to some environment variable?

videoCap.c:11:40: media/davinci/davinci_vpfe.h: No such file or directory
videoCap.c:12:35: media/davinci/tvp5146.h: No such file or directory

And another question, is where is this constant defined? `V4L2_DEVICE'