Hi I found the solution himself to this hard problem…
Opencv Tegra 4.1.1 is not installed properly the init file need by pkg-config, (even if you can read that it s obsolet the file opencv4.pc is installed) so you should do that yourself by hand :
Don’t forget to put your permissons group to this file after copy it.
and another trick :
the old last usefull (for very big program with opencv1.0 you can’t modifiy every code) opencv dir named ‘opencv’ is not installed so you can find c type in :
I use jp4.3. and is it opencv 4.1.1, I think that the ocv4.x don’t accept cvPyrLKFlow and cvXXX
need to put cv::XX and it is really difficult with old code with thousand of lines…
I am not sure of that because I am’nt specialist in C and ocv evolution…
Tomorrow I try to continue modification code cvRect to cv::rect etc…
If you have an explanation or solution I will happy to know it .
could you identify the CV version of your code? you can dowload the correct version of OPENCV on Jetson and recompile this verison OPENCV ,so no need to modify the code