|
想问下,是不适用于这个平台么???
平台:firefly
下载后的设置:
SET(TOOLCHAIN_HOME "/usr/bin/")
# this is required
#SET(CMAKE_SYSTEM_NAME Linux)
# specify the cross compiler
SET(CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER /usr/bin/aarch64-linux-gnu-g++)
set(CMAKE_CXX_STANDARD 11)
# where is the target environment
SET(CMAKE_FIND_ROOT_PATH ${TOOLCHAIN_HOME})
# search for programs in the build host directories (not necessary)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
报的错:
[ 50%] Building CXX object CMakeFiles/rga.dir/core/NormalRgaApi.cpp.o
/home/firefly/rk3399/src/rga_develop/linux-rga-im2d/core/NormalRgaApi.cpp:326:32: error: ‘RECT_t’ has not been declared
RECT_t *clip,
^
/home/firefly/rk3399/src/rga_develop/linux-rga-im2d/core/NormalRgaApi.cpp: In function ‘int NormalRgaSetDstVirtualInfo(rga_req*, long unsigned int, long unsigned int, long unsigned int, unsigned int, unsigned int, int*, unsigned int, unsigned char)’:
/home/firefly/rk3399/src/rga_develop/linux-rga-im2d/core/NormalRgaApi.cpp:344:28: error: request for member ‘xmin’ in ‘* clip’, which is of non-class type ‘int’
msg->clip.xmin = clip->xmin;
^
/home/firefly/rk3399/src/rga_develop/linux-rga-im2d/core/NormalRgaApi.cpp:345:28: error: request for member ‘xmax’ in ‘* clip’, which is of non-class type ‘int’
msg->clip.xmax = clip->xmax;
^
/home/firefly/rk3399/src/rga_develop/linux-rga-im2d/core/NormalRgaApi.cpp:346:28: error: request for member ‘ymin’ in ‘* clip’, which is of non-class type ‘int’
msg->clip.ymin = clip->ymin;
^
/home/firefly/rk3399/src/rga_develop/linux-rga-im2d/core/NormalRgaApi.cpp:347:28: error: request for member ‘ymax’ in ‘* clip’, which is of non-class type ‘int’
msg->clip.ymax = clip->ymax;
^
|
|