mpp_linux_cpp
mpp_linux_cpp copied to clipboard
vpu.h not found
My chip is rk3399.
I set the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER in CMakeList.txt.
Then I do mkdir build;cd build;cmake ..;make
, and I get the following error.
root@norco:~/mpp_linux_cpp/build# make
Scanning dependencies of target mpp_linux_demo
[ 12%] Building CXX object CMakeFiles/mpp_linux_demo.dir/main.cpp.o
In file included from /root/mpp_linux_cpp/main.cpp:9:0:
/root/mpp_linux_cpp/mpp/Codec.h:16:17: fatal error: vpu.h: No such file or directory
compilation terminated.
CMakeFiles/mpp_linux_demo.dir/build.make:62: recipe for target 'CMakeFiles/mpp_linux_demo.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/mpp_linux_demo.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mpp_linux_demo.dir/all' failed
make[1]: *** [CMakeFiles/mpp_linux_demo.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Should I install a vpu.h manually? How to install it?
i guess we have to put all header under /usr/include. for my company's machine, all header are under /usr/include/rockchip. and it seems the gcc will not go down recursively.
vpu.h could be found at latest source code in project rockchip-linux-mpp.
modify mpp_linux_cpp manually and it works as expected.