This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compile VCAM36x-SENSORS source

Hi,

We were provided the VCAM36X-Sensors package along with the IPNC RDK v4.0.0.8 package by TI and I'm trying to compile the application with the Sensors package configured to use the Omnivision 9712 sensor driver, DM368, and IPNC system type. 

Unfortunately, the Sensor package did not come with any instructions so I have had to feel my way along. What I have done so far:

1) I installed it in a different location than the RDK package and ran make, but it was missing a lot of paths (some hard coded to a TI dev's).

2) I copied it to Source/ in the RDK and updated the Rules.make to point to the correct install directory. When I next ran make, it complained of a missing header (edma3_rm.h), so I merged the directory into one that was part of the include path: 

dvsdk_ipnctools/framework-components_2_26_00_01$ cp -ird fctools/packages/* packages/

3) Now when I build, I get 

In file included from ../priv/alg_priv.h:6,
                 from alg_vnf.c:1:
.../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
alg_vnf.c:5:27: error: asm/arch/edma.h: No such file or directory
In file included from ../priv/alg_priv.h:6,
                 from alg_vstab.c:3:
.../dvsdk_ipnctools/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
make[5]: *** [depend] Error 1
make[5]: Leaving directory `.../Source/ipnc/av_capture/framework/alg/src'

Any ideas on how to get this package to build? My objective is to validate this Omnivision driver and our hardware before moving to a gstreamer solution.

The standard IPNC RDK build succeeds without a hitch.

Thanks,

Quinn.

  • I don't think you need to copy that directory, there is something wrong with the config if it can't find the file.

    I had the other error in std.h include, and it was a bug on the file ipnc_rdk/av_capture/build/COMMON_HEADER.MK that only does "CC_OPTS+= -Dxdc_target_types__=gnu/targets/arm/std.h" when debug is not enabled. I just had to move that line to outside the if. You might have a different problem, but just check the Makefiles and make sure they have -Dxdc_target_types__