|
TB-RK3399ProD Debian 系统 gcc version (4:8.3.0-1).
sudo apt install rockchip-isp 安装isp库
使用编译链接-lcam_engine_cifisp -lcam_ia
gcc编译出现以下错误
- /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcam_ia.so: undefined reference to `std::ostream::operator<<(int)'
- /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcam_engine_cifisp.so: undefined reference to `__cxa_rethrow'
- /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcam_engine_cifisp.so: undefined reference to `typeinfo for std::bad_weak_ptr'
- /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcam_ia.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
网上说是gcc新旧版本不兼容,编译链接错误
请问如何解决?
|
|