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.

CCS/TMDSLCDK6748: CCS v5 Example Facedetect Project Build Errors

Part Number: TMDSLCDK6748

Tool/software: Code Composer Studio

I am using CCS v5 to build an example project facedetect_lcdk; and the CCS gives the following error. Please advise how to fix these errors

Regards

Iqbal

Errors are pasted below:

"'Building target: facedetect_lcdk.out'

......................................................

<Linking>
error #10008-D: cannot find file "cv.lib"
error #10008-D: cannot find file "cxcore.lib"
error #10008-D: cannot find file "drivers.lib"
error #10008-D: cannot find file "utils.lib"
error #10008-D: cannot find file "platform.lib"
error #10008-D: cannot find file "system_config.lib"

 undefined                  first referenced    
  symbol                        in file         
 ---------                  ----------------    
 I2CMasterControl           ./codecif.obj       

 I2CMasterDataGet           ./codecif.obj       
>> Compilation failure
 I2CMasterDataPut           ./codecif.obj       
 I2CMasterDisable           ./codecif.obj       
 I2CMasterEnable            ./codecif.obj       
 I2CMasterInitExpClk        ./codecif.obj       
 I2CMasterIntDisableEx      ./codecif.obj       
 I2CMasterSlaveAddrSet      ./codecif.obj       
 I2CMasterStart             ./codecif.obj       
 I2CPinMuxSetup             ./facedetect_lcdk.obj
 I2CSetDataCount            ./codecif.obj       
 IntEventClear              ./facedetect_lcdk.obj
 LCDPinMuxSetup             ./facedetect_lcdk.obj
 PSCModuleControl           ./facedetect_lcdk.obj
 RasterClearGetIntStatus    ./facedetect_lcdk.obj
 RasterClkConfig            ./facedetect_lcdk.obj
 RasterDMAConfig            ./facedetect_lcdk.obj
 RasterDMAFBConfig          ./facedetect_lcdk.obj
 RasterDisable              ./facedetect_lcdk.obj
 RasterEnable               ./facedetect_lcdk.obj
 RasterEndOfFrameIntEnable  ./facedetect_lcdk.obj
 RasterFIFODMADelayConfig   ./facedetect_lcdk.obj
 RasterHparamConfig         ./facedetect_lcdk.obj
 RasterIntStatus            ./facedetect_lcdk.obj
 RasterLSBDataOrderSelect   ./facedetect_lcdk.obj
 RasterModeConfig           ./facedetect_lcdk.obj
 RasterNibbleModeDisable    ./facedetect_lcdk.obj
 RasterTiming2Configure     ./facedetect_lcdk.obj
 RasterVparamConfig         ./facedetect_lcdk.obj
 VPIFCaptureChanenDisable   ./facedetect_lcdk.obj
 VPIFCaptureChanenEnable    ./facedetect_lcdk.obj
 VPIFCaptureFBConfig        ./facedetect_lcdk.obj
 VPIFCaptureIntframeConfig  ./facedetect_lcdk.obj
 VPIFCaptureModeConfig      ./facedetect_lcdk.obj
 VPIFCaptureYcmuxModeSelect ./facedetect_lcdk.obj
 VPIFDMARequestSizeConfig   ./facedetect_lcdk.obj
 VPIFEmulationControlSet    ./facedetect_lcdk.obj
 VPIFInterruptDisable       ./facedetect_lcdk.obj
 VPIFInterruptEnable        ./facedetect_lcdk.obj
 VPIFInterruptEnableSet     ./facedetect_lcdk.obj
 VPIFInterruptStatusClear   ./facedetect_lcdk.obj
 VPIFPinMuxSetup            ./facedetect_lcdk.obj
 cvAlloc                    ./facedetect_lcdk.obj
 cvCreateMemStorage         ./facedetect_lcdk.obj
 cvGetSeqElem               ./facedetect_lcdk.obj
 cvHaarDetectObjects        ./facedetect_lcdk.obj
 cvInitImageHeader          ./facedetect_lcdk.obj
 cvRectangle                ./facedetect_lcdk.obj
 cvReleaseMemStorage        ./facedetect_lcdk.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "facedetect_lcdk.out" not
   built
gmake: *** [facedetect_lcdk.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hello,

    Your errors are caused because the linker cannot find the required libraries specified in the linker options:

    Iqbal Singh Josan said:
    <Linking>
    error #10008-D: cannot find file "cv.lib"
    error #10008-D: cannot find file "cxcore.lib"
    error #10008-D: cannot find file "drivers.lib"
    error #10008-D: cannot find file "utils.lib"
    error #10008-D: cannot find file "platform.lib"
    error #10008-D: cannot find file "system_config.lib"

    Make sure the correct paths to the above libraries are specified in the linker search path:

    Thanks

    ki

  • Hi Ki,

    I have added the file search path for  drivers.lib, utils.lib, platform.lib and system_config.lib and I am not getting errors for these lib files.

    However, I can't find cv.lib and cxcore.lib in the C6748_StarterWare_1_20_03_03  folder.

    Can you point me to location of these 2 lib files (cv.lib and cxcore.lib)?  Do I need to download separately?

    Thanks for your help.

    Iqbal

  • Iqbal Singh Josan said:
    Can you point me to location of these 2 lib files (cv.lib and cxcore.lib)?  Do I need to download separately?

    I believe they are related to OpenCV but I am not sure. The question is beyond the scope of this forum. I suggest posting in the device forum for C67x.

    Thanks

    ki

  • Ki,

    Thanks, I have located the cv.lib and cxcore.lib files and build is successful.

    Regards
    Iqbal