Tool/software: Linux
MAKECONFIG?= tda2xx_evm_linux_opencx,
my vision_sdk/apps/configs/tda2xx_evm_linux_opencx/cfg.mk file is :
# IPU1 (core 0 & 1 are) not supported when IPU_PRIMARY_CORE=ipu2
PROC_IPU1_0_INCLUDE=no
PROC_IPU1_1_INCLUDE=no
PROC_IPU2_INCLUDE=yes
PROC_A15_0_INCLUDE=yes
PROC_DSP1_INCLUDE=no
PROC_DSP2_INCLUDE=no
PROC_EVE1_INCLUDE=no
PROC_EVE2_INCLUDE=no
PROC_EVE3_INCLUDE=no
PROC_EVE4_INCLUDE=no
VSDK_BOARD_TYPE=TDA2XX_EVM
# Supported values: DDR_MEM_1024M
DDR_MEM=DDR_MEM_1024M
# Supported values: ipu1_0 ipu1_1 a15_0 none
NDK_PROC_TO_USE=none
#
# Used to control building of algorithm source.
# By default algorithm source not included in Vision SDK
#
BUILD_ALGORITHMS=no
#
# Applies profile to all cores
#
# Supported profiles: release debug
#PROFILE=debug
PROFILE ?= release
PROFILE_ipu1_0 ?= $(PROFILE)
PROFILE_ipu1_1 ?= $(PROFILE)
PROFILE_ipu2 ?= $(PROFILE)
PROFILE_c66xdsp_1 ?= $(PROFILE)
PROFILE_c66xdsp_2 ?= $(PROFILE)
PROFILE_arp32_1 ?= $(PROFILE)
PROFILE_arp32_2 ?= $(PROFILE)
PROFILE_arp32_3 ?= $(PROFILE)
PROFILE_arp32_4 ?= $(PROFILE)
PROFILE_a15_0 ?= $(PROFILE)
#
# For TDA2xx & TDA2Ex - vision SDK can run on either IPU1 or IPU2 subsystem
# For TDA3xx - We have only IPU1 and hence IPU1 is the only option
# Select IPU primary core from the available IPU1 & IPU2 subsytems
#
# Supported values: ipu1_0 ipu2
IPU_PRIMARY_CORE=ipu2
IPU_SECONDARY_CORE=ipu1_0
#
# Set A15_TARGET_OS
# A15 can run Linux or Bios
#
# A15_TARGET_OS support
# Platform BIOS Linux
#
# TDA2XX_EVM yes yes
# TDA3XX_EVM yes no
# TDA2EX_EVM yes yes
#
# Supported values: Bios Linux
A15_TARGET_OS=Linux
IVAHD_INCLUDE=no
VPE_INCLUDE=no
DSS_INCLUDE=yes
AVB_INCLUDE=no
#
# Enable below macro to enable DCAN integration into Vision SDK.
#
DCAN_INCLUDE=no
CPU_IDLE_ENABLED=yes
#
# Enable below macro to view the bandwidth used by different IPs in the device
# as a graphical plot on the display screen.
#
DATA_VIS_INCLUDE=no
OPENCL_INCLUDE=yes
TREAT_WARNINGS_AS_ERROR = yes
HS_DEVICE=no
DEFAULT_UBOOT_CONFIG := dra7xx_evm_vision_config
DEFAULT_KERNEL_CONFIG := omap2plus_defconfig
# For TDA2x
DEFAULT_DTB := dra7-evm-infoadas.dtb
#
# Enable macro for OpenCV
#
ENABLE_OPENCV=yes
CMEM_INCLUDE=yes
BUILD_OPENCV_SRC=yes
BUILD_LLVM=no
include $($(MAKEAPPNAME)_PATH)/configs/$(MAKECONFIG)/uc_cfg.mk
When I turn on the switch BUILD_OPENCV_SRC=yes and Then compile,The following error occurred:
# osa: tda2xx-evm: Creating archive osa.a
In file included from opencvCannyAlgo.c:84:0:
iOpenCVCannyAlgo.h:82:28: fatal error: opencv/highgui.h: No such file or directory
compilation terminated.
In file included from opencvCannyLink_priv.h:104:0,
from opencvCannyLink_algPlugin.c:77:
iOpenCVCannyAlgo.h:82:28: fatal error: opencv/highgui.h: No such file or directory
compilation terminated.
In file included from canny.cpp:85:0:
iCanny.h:81:28: fatal error: opencv/highgui.h: No such file or directory
compilation terminated.
make[6]: *** [depend] Error 1
make[5]: *** [vision_sdk_linux_demo] Error 2
make[4]: *** [apps] Error 2
make[3]: *** [apps_exe_hlos] Error 2
make[2]: *** [apps_hlos] Error 2
make[1]: *** [apps] Error 2
make: *** [vision_sdk] Error 2
Is there anything else I need to set up?