|
在连接过程中报一下错误
- Scanning dependencies of target rk3588_rga_demo
- [ 50%] Building C object CMakeFiles/rk3588_rga_demo.dir/main.c.o
- [100%] Linking C executable rk3588_rga_demo
- /usr/bin/ld: CMakeFiles/rk3588_rga_demo.dir/main.c.o: in function `main':
- main.c:(.text.startup+0x2c): undefined reference to `get_bpp_from_format'
- /usr/bin/ld: main.c:(.text.startup+0x4c): undefined reference to `get_bpp_from_format'
- /usr/bin/ld: main.c:(.text.startup+0xd8): undefined reference to `get_buf_from_file'
- collect2: error: ld returned 1 exit status
- make[2]: *** [CMakeFiles/rk3588_rga_demo.dir/build.make:103:rk3588_rga_demo] 错误 1
- make[1]: *** [CMakeFiles/Makefile2:95:CMakeFiles/rk3588_rga_demo.dir/all] 错误 2
- make: *** [Makefile:103:all] 错误 2
本人只使用一个librga库,对照librga的例程来写的,请教一下大概是什么方向出现问题了?
|
|