tried to copy the copy.cpp, changed the library name and compiled with flags. also, set permissions to video group but always get an error on compiling:
(both pycore library and libdrm custom library are installed as per instructions)
pi@raspberrypi:~/c++ $ g++ copy.cpp -lqmkl6
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to drm_v3d_submit_csd' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference todrm_v3d_wait_bo'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to drm_v3d_mmap_bo' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference todrm_gem_close'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to `drm_v3d_create_bo'
collect2: error: ld returned 1 exit status
tried to copy the copy.cpp, changed the library name and compiled with flags. also, set permissions to video group but always get an error on compiling: (both pycore library and libdrm custom library are installed as per instructions)
pi@raspberrypi:~/c++ $ g++ copy.cpp -lqmkl6 /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to
drm_v3d_submit_csd' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to
drm_v3d_wait_bo' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference todrm_v3d_mmap_bo' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to
drm_gem_close' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to `drm_v3d_create_bo' collect2: error: ld returned 1 exit statusany help would be highly appreciated. thanks.