Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpu.h not found #4

Open
lihao2333 opened this issue Jun 18, 2019 · 2 comments
Open

vpu.h not found #4

lihao2333 opened this issue Jun 18, 2019 · 2 comments

Comments

@lihao2333
Copy link

lihao2333 commented Jun 18, 2019

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?

@tothedistance
Copy link

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.

@zhouwg
Copy link

zhouwg commented Apr 19, 2022

vpu.h could be found at latest source code in project rockchip-linux-mpp.

modify mpp_linux_cpp manually and it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants