Skip to content

vpu.h not found #4

Open
Open
@lihao2333

Description

@lihao2333

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions