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.

Building DM365 IPNC software from APPROPHO

I have been having issues with building the IPNC software from appropho.

 

I installed the MVC toolset, and the various other elements are per their installation guide.

When I build, I get the following error.

 

/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ar    -rc /home/camera/Desktop/DMP365/ipnc/av_capture/build/lib//osa.a /home/camera/Desktop/DMP365/ipnc/av_capture/build/lib/obj/osa//*.o
make[5]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/osa/src'
make -fMAKEFILE.MK -C./alg/src MODULE=alg    
make[5]: Entering directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src'
make -fMAKEFILE.MK alg_config
make[6]: Entering directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src'

======== Building alg_config ========
Configuring application using alg_server.cfg

XDCPATH="/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/examples;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdais_6_24/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/framework_components_2_25_00_04/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/edma3_lld_1_06_00_01/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/linuxutils_2_24_03/packages" /home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdctools_3_15_01_59/xs xdc.tools.configuro -c /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le -o alg_config -t gnu.targets.MVArm9 -p ti.platforms.evmDM365 alg_server.cfg
making package.mak (because of package.bld) ...
generating interfaces for package alg_config (because package/package.xdc.inc is older than package.xdc) ...
configuring alg_server.x470MV from package/cfg/alg_server_x470MV.cfg ...
js: "/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src/alg_server.cfg", line 74: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.codecs.iprun.ce' along the path: '/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/examples;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdais_6_24/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/framework_components_2_25_00_04/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/edma3_lld_1_06_00_01/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/linuxutils_2_24_03/packages;/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages;..;'. Ensure that the package path is set correctly.
    "./package/cfg/alg_server_x470MV.cfg", line 474
    "./package/cfg/alg_server_x470MV.cfg", line 429
gmake: *** [package/cfg/alg_server_x470MV.c] Error 1
js: "/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[6]: *** [alg_config] Error 1
make[6]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src'
make[5]: *** [xdc] Error 2
make[5]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
make[2]: *** [exe] Error 2
make[2]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
make: *** [sysall] Error 2
[camera@CameraDevelopment

 

 

I am able to build the kernel, the modules and etc, until it get to the stuff involving XDC, then it seems to die.  When digging through the alg_server.cfg file, I noticed that there are missing elements, the 'ittiam' stuff that is for the AAC audio codecs, they don't exist in any of  the packages directories.  I have tried removing them from the alg_server.cfg file and am currently recompiling to test that. Any suggestions would be greatly appreciated.

I have searched the forums for this, and so far, the only thing that even comes close to a suggestion is to not use the DVSDK that appropho distributes with their demo camera.  I have not tried that yet, and am not convinced that that is really the right solution. There was no follow up to indicate if that helped the OP or not, either.

 

Thanks folks!

Richard Dorfner

  • My experiment of trying to remove the references to the AAC codecs (in the ittiam branch of the packages tree) did not work. 

     

    So the message I'm getting is "Ensure that the package path is set correctly."  however, I'm not sure where that package path is set, or who sets it or when or how, etc.  The long path that is printed before that error message seems to be correct and while it complains about ti.sdo.codecs.iprun.ce not being found, I just checked and indeed, that package is not there. I have ti/sdo/codecs  but no ti/sdo/codecs/iprun  where do I get that package from?  Is there an installation of the codecs step that I am missing that was not in the mvc tools installation guide? 

     

    Thanks,

    Rick

     

  • Okay, more information.

     

    So it appears that there are a bunch of modules, codecs or.. other, I'm not exactly sure what they are yet, but things like ti.sdo. so I tried using the dvsdk from TI instead of the one from appropho and it dies in exactly the same place in exactly the same way.

     

    So now I'll start searching for ti.sdo.codecs.iprun, find out where that comes from, where to get it from, how to install it and during all of this wonder why there isn't a single document that states "Here is exactly how you create your build environment and here are all the steps you need to do so" so that I can just type "make sysall" and the thing just *BUILDS*.

  • Modifying alg_server.cfg got the build to move on past that section. however, now it breaks at alg_vidEnc.c with the following messages.

    alg: Compiling alg_vidEnc.c
    /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -c -Wall -fPIC  -DDM355 -Dti_sdo_ce_osal_Memory_USEDEPRECATEDAPIS=1  -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/examples" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/packages" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdais_6_24/packages" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/framework_components_2_25_00_04/packages" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/edma3_lld_1_06_00_01/packages" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/linuxutils_2_24_03/packages" -I"/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages" -I"/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src/alg_config/.."  -Dxdc_target_types__="gnu/targets/std.h" -Dxdc_target_name__=MVArm9 -Dxdc_cfg__header__="/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src/alg_config/package/cfg/alg_server_x470MV.h" -O3  -DBOARD_AP_IPNC  -I/home/camera/Desktop/DMP365/ipnc/ti-davinci/include -I../inc -I../priv  -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/osa/inc   -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/include  -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/csl/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/drv/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/image_tune/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/image_tune/priv -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/swosd -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/swosd -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/vstab -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/aewb -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/facetrack -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/saldre -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/dm365_codecs_01_00_06/examples -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/codec_engine_2_24/packages -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdais_6_24/packages -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/framework_components_2_25_00_04/packages -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/linuxutils_2_24_03/packages -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/edma3_lld_1_06_00_01/packages -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages -I../priv/aewb -I../priv/vstab -I../priv/swosd -I../priv/gbce -I../priv/facetrack -I./aewb_ap/include -I./aewb_ti/include -o/home/camera/Desktop/DMP365/ipnc/av_capture/build/lib/obj/alg//alg_vidEnc.o alg_vidEnc.c
    alg_vidEnc.c: In function ‘ALG_vidEncCreate’:
    alg_vidEnc.c:115: error: ‘IMP4VENC_Params’ has no member named ‘peakBufWindow’
    alg_vidEnc.c:116: error: ‘IMP4VENC_Params’ has no member named ‘minBitRate’
    alg_vidEnc.c:136: error: ‘IH264VENC_Params’ has no member named ‘Log2MaxFrameNumMinus4’
    alg_vidEnc.c:137: error: ‘IH264VENC_Params’ has no member named ‘ConstraintSetFlag’
    alg_vidEnc.c:146: error: ‘IH264VENC_Params’ has no member named ‘sliceMode’
    alg_vidEnc.c:147: error: ‘IH264VENC_Params’ has no member named ‘EnableLongTermFrame’
    alg_vidEnc.c:148: error: ‘IH264VENC_Params’ has no member named ‘outputDataMode’
    alg_vidEnc.c:148: error: ‘IH264VENC_TI_ENTIREFRAME’ undeclared (first use in this function)
    alg_vidEnc.c:148: error: (Each undeclared identifier is reported only once
    alg_vidEnc.c:148: error: for each function it appears in.)
    alg_vidEnc.c:149: error: ‘IH264VENC_Params’ has no member named ‘sliceFormat’
    alg_vidEnc.c:149: error: ‘IH264VENC_TI_BYTESTREAM’ undeclared (first use in this function)
    alg_vidEnc.c:175: error: ‘IH264VENC_Params’ has no member named ‘numTemporalLayers’
    alg_vidEnc.c:176: error: ‘IH264VENC_Params’ has no member named ‘svcSyntaxEnable’
    alg_vidEnc.c:183: error: ‘IH264VENC_Params’ has no member named ‘numTemporalLayers’
    alg_vidEnc.c:184: error: ‘IH264VENC_Params’ has no member named ‘svcSyntaxEnable’
    alg_vidEnc.c: In function ‘ALG_vidEncSetDynamicParams’:
    alg_vidEnc.c:264: error: ‘IH264VENC_DynamicParams’ has no member named ‘rcQMaxI’
    alg_vidEnc.c:265: error: ‘IH264VENC_DynamicParams’ has no member named ‘rcQMinI’
    alg_vidEnc.c:267: error: ‘IH264VENC_DynamicParams’ has no member named ‘aspectRatioX’
    alg_vidEnc.c:268: error: ‘IH264VENC_DynamicParams’ has no member named ‘aspectRatioY’
    alg_vidEnc.c:278: error: ‘IH264VENC_DynamicParams’ has no member named ‘maxBitrateCVBR’
    alg_vidEnc.c:279: error: ‘IH264VENC_DynamicParams’ has no member named ‘interlaceRefMode’
    alg_vidEnc.c:280: error: ‘IH264VENC_DynamicParams’ has no member named ‘enableGDR’
    alg_vidEnc.c:281: error: ‘IH264VENC_DynamicParams’ has no member named ‘GDRduration’
    alg_vidEnc.c:282: error: ‘IH264VENC_DynamicParams’ has no member named ‘GDRinterval’
    alg_vidEnc.c:283: error: ‘IH264VENC_DynamicParams’ has no member named ‘LongTermRefreshInterval’
    alg_vidEnc.c:284: error: ‘IH264VENC_DynamicParams’ has no member named ‘UseLongTermFrame’
    alg_vidEnc.c:285: error: ‘IH264VENC_DynamicParams’ has no member named ‘SetLongTermFrame’
    alg_vidEnc.c:286: error: ‘IH264VENC_DynamicParams’ has no member named ‘CustomScaleMatrix_Buffer’
    alg_vidEnc.c:287: error: ‘IH264VENC_DynamicParams’ has no member named ‘CVBRsensitivity’
    alg_vidEnc.c:288: error: ‘IH264VENC_DynamicParams’ has no member named ‘CVBRminbitrate’
    alg_vidEnc.c:289: error: ‘IH264VENC_DynamicParams’ has no member named ‘LBRmaxpicsize’
    alg_vidEnc.c:290: error: ‘IH264VENC_DynamicParams’ has no member named ‘LBRminpicsize’
    alg_vidEnc.c:291: error: ‘IH264VENC_DynamicParams’ has no member named ‘LBRskipcontrol’
    alg_vidEnc.c:292: error: ‘IH264VENC_DynamicParams’ has no member named ‘maxHighCmpxIntCVBR’
    alg_vidEnc.c:293: error: ‘IH264VENC_DynamicParams’ has no member named ‘disableMVDCostFactor’
    alg_vidEnc.c:294: error: ‘IH264VENC_DynamicParams’ has no member named ‘putDataGetSpaceFxn’
    alg_vidEnc.c:295: error: ‘IH264VENC_DynamicParams’ has no member named ‘dataSyncHandle’
    alg_vidEnc.c:297: error: ‘IH264VENC_DynamicParams’ has no member named ‘VUI_Buffer’
    alg_vidEnc.c:298: error: ‘IH264VENC_DynamicParams’ has no member named ‘VUI_Buffer’
    alg_vidEnc.c:299: error: ‘IH264VENC_DynamicParams’ has no member named ‘VUI_Buffer’
    alg_vidEnc.c: In function ‘GetSVCtemporalId’:
    alg_vidEnc.c:599: warning: unused variable ‘scalabilty’
    alg_vidEnc.c: In function ‘ALG_vidEncRun’:
    alg_vidEnc.c:751: warning: dereferencing type-punned pointer will break strict-aliasing rules
    alg_vidEnc.c:761: warning: assignment from incompatible pointer type
    alg_vidEnc.c:803: error: ‘IH264VENC_InArgs’ has no member named ‘numOutputDataUnits’
    alg_vidEnc.c:863: error: ‘IH264VENC_Params’ has no member named ‘numTemporalLayers’
    make[6]: *** [alg_vidEnc.o] Error 1
    make[6]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src'
    make[5]: *** [xdc] Error 2
    make[5]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework/alg/src'
    make[4]: *** [libs] Error 2
    make[4]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/framework'
    make[3]: *** [libs] Error 2
    make[3]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
    make[2]: *** [exe] Error 2
    make[2]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
    make: *** [sysall] Error 2
    [camera@CameraDevelopment ipnc]$


    Any ideas?

     

  • Continuing the saga...

     

    I decided to make sure that I had the correct dvsdk, and it turns out I did not.  I untarred the dvsdk_2_10_01_18_ipnc_dm36x_2.6.0.tar.gz and when diong

    a 'find . -name iprun', the iprun directory now shows up!  So far so good. Recompiling to see if that fixes this.  (I *KNEW* I had to be doing SOMETHING wrong, I mean, if this was common there'd be a ton of messages on this forum about this error, and there just is not.)  Anyways, here's hoping that this allows me to finish the build.

     

    Rick

  • ...which once again gets me to

     

    av_server: Compiling videoSwosdThr.c
    /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -c -Wall -fPIC  -O3  -DBOARD_AP_IPNC  -I/home/camera/Desktop/DMP365/ipnc/ti-davinci/include -I../inc -I../priv  -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/osa/inc   -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/include  -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/csl/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/image_tune/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/image_tune/priv -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/drv/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/swosd -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/swosd -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/vstab -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/aewb -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/facetrack -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/priv/saldre -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/src/aewb_ap/include -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/src/aewb_ti/include -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc -I/home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/src/stream/inc -I/home/camera/Desktop/DMP365/ipnc/ipnc_app/interface/inc -I/home/camera/Desktop/DMP365/dvsdk_2_10_01_18/dm365mm/Inc -o/home/camera/Desktop/DMP365/ipnc/av_capture/build/lib/obj/av_server//videoSwosdThr.o videoSwosdThr.c
    In file included from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc/avserver.h:11,
                     from videoSwosdThr.c:9:
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:89:1: warning: "SWOSD_OSDWHITETRANSRANGE" redefined
    In file included from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:1,
                     from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc/avserver.h:11,
                     from videoSwosdThr.c:9:
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/sw_osd.h:33:1: warning: this is the location of the previous definition
    In file included from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc/avserver.h:11,
                     from videoSwosdThr.c:9:
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:90:1: warning: "SWOSD_OSDBLACKTRANSVAL" redefined
    In file included from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:1,
                     from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc/avserver.h:11,
                     from videoSwosdThr.c:9:
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/sw_osd.h:35:1: warning: this is the location of the previous definition
    In file included from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc/avserver.h:11,
                     from videoSwosdThr.c:9:
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:91:1: warning: "SWOSD_OSDBLACKTRANSRANGE" redefined
    In file included from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:1,
                     from /home/camera/Desktop/DMP365/ipnc/av_capture/build/../application/ipnc/av_server/inc/avserver.h:11,
                     from videoSwosdThr.c:9:
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/sw_osd.h:36:1: warning: this is the location of the previous definition
    videoSwosdThr.c:130: error: conflicting types for ‘swosdSetLogoPrm’
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:149: error: previous declaration of ‘swosdSetLogoPrm’ was here
    videoSwosdThr.c: In function ‘swosdCreateFontDB’:
    videoSwosdThr.c:174: error: ‘SWOSD_CHARWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:174: error: (Each undeclared identifier is reported only once
    videoSwosdThr.c:174: error: for each function it appears in.)
    videoSwosdThr.c:175: error: ‘SWOSD_CHARHEIGHT_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:176: error: ‘SWOSD_STRINGWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c: In function ‘swosdSetWinParam’:
    videoSwosdThr.c:377: error: ‘SWOSD_BmpWinPrm’ has no member named ‘userTransparancy’
    videoSwosdThr.c:399: error: ‘SWOSD_CHARWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:401: error: ‘SWOSD_STRINGWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:402: error: ‘SWOSD_CHARHEIGHT_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:436: error: ‘SWOSD_WINDOW_TEN’ undeclared (first use in this function)
    videoSwosdThr.c:441: error: ‘SWOSD_WINDOW_ELEVEN’ undeclared (first use in this function)
    videoSwosdThr.c: In function ‘swosdChangeXYParmDetail’:
    videoSwosdThr.c:756: error: ‘SWOSD_CHARWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:757: error: ‘SWOSD_CHARHEIGHT_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:780: error: ‘SWOSD_WINDOW_TEN’ undeclared (first use in this function)
    videoSwosdThr.c:782: error: ‘SWOSD_WINDOW_ELEVEN’ undeclared (first use in this function)
    videoSwosdThr.c:782: error: ‘SWOSD_EVAL_STR_LEN’ undeclared (first use in this function)
    videoSwosdThr.c: In function ‘swosdMakeWinString’:
    videoSwosdThr.c:816: error: ‘SWOSD_QUALITY_PREFIX’ undeclared (first use in this function)
    videoSwosdThr.c:817: error: ‘SWOSD_QUALITY_SUFFIX’ undeclared (first use in this function)
    videoSwosdThr.c:822: error: ‘SWOSD_BITRATE_SUFFIX’ undeclared (first use in this function)
    videoSwosdThr.c:832: error: ‘SWOSD_CHARWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:833: error: ‘SWOSD_CHARHEIGHT_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:834: error: ‘SWOSD_STRINGWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:908: error: ‘SWOSD_AUTOFOCUS_PREFIX’ undeclared (first use in this function)
    videoSwosdThr.c:908: error: ‘SWOSD_WINDOW_TEN’ undeclared (first use in this function)
    videoSwosdThr.c:908: error: ‘SWOSD_AUTOFOCUS_STR_LEN’ undeclared (first use in this function)
    videoSwosdThr.c: In function ‘swosdMakeFixWinString’:
    videoSwosdThr.c:1567: error: ‘SWOSD_CHARWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:1568: error: ‘SWOSD_CHARHEIGHT_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:1569: error: ‘SWOSD_STRINGWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:1597: error: ‘SWOSD_WINDOW_TEN’ undeclared (first use in this function)
    videoSwosdThr.c:1601: error: ‘SWOSD_WINDOW_ELEVEN’ undeclared (first use in this function)
    videoSwosdThr.c: At top level:
    videoSwosdThr.c:1818: error: static declaration of ‘swosdDisplay’ follows non-static declaration
    /home/camera/Desktop/DMP365/ipnc/av_capture/build/../framework/alg/inc/videoSwosd.h:153: error: previous declaration of ‘swosdDisplay’ was here
    videoSwosdThr.c: In function ‘swosdDisplay’:
    videoSwosdThr.c:1840: error: ‘SWOSD_WINDOW_TEN’ undeclared (first use in this function)
    videoSwosdThr.c:1864: error: ‘SWOSD_WINDOW_ELEVEN’ undeclared (first use in this function)
    videoSwosdThr.c: In function ‘VIDEO_swosdTskCreate’:
    videoSwosdThr.c:2059: error: ‘SWOSD_CHARWIDTH_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:2059: error: ‘SWOSD_CHARHEIGHT_462_12’ undeclared (first use in this function)
    videoSwosdThr.c:2131: error: ‘SWOSD_STRINGWIDTH_462_12’ undeclared (first use in this function)
    make[6]: *** [videoSwosdThr.o] Error 1
    make[6]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/application/ipnc/av_server/src/video'
    make[5]: *** [libs] Error 2
    make[5]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/application/ipnc/av_server'
    make[4]: *** [libs] Error 2
    make[4]: Leaving directory `/home/camera/Desktop/DMP365/ipnc/av_capture/application/ipnc'
    make[3]: *** [libs] Error 2
    make[3]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
    make[2]: *** [exe] Error 2
    make[2]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/camera/Desktop/DMP365/ipnc'
    make: *** [sysall] Error 2
    [camera@CameraDevelopment ipnc]$

     

    build lspall works fine.

    build dvsdkall seems to work fine.

    build all from there, does not.

     

     

  • The final chapter....

     

    As it turns out, I had used an innapropriate tar file as part of the initial IPNC directory tree creation. Then when I found that out, instead of deleting IPNC and recreating it with the new correct tar file, I just overwrote it with the new correct tar file. This created multiple directories and multiple copies of the OSD stuff, and since the include path is created automatically and is one big long huge listing of directories to include from, the include path included multiple copies of a needed header file, which was from two different versions which caused the build to break.

     

    The solution was to delete ipnc, and recreate it with the four correct tar files, and then rebuild. this solved my issue.

    The symptom was multiply defined lables that the compilation was complaining about and when searching for the source file with a 'find . -name videoSwosdThr.c' having it return more than one copy of that file.

    NOW, getting make cramfs to work. :)

     

    Rick