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.

Codec server does not build using GenServer wizard (EZSDK 5.04.00.11)

Hello,

I've created an algorithm (rt3d) using GenCodecPkg wizard from scratch and I'm able to build it successfully. Then I use the GenServer wizard in order to generate the codec server package by choosing these options:

However I cannot build the server successfully. Here's the console output:

dm816x@dm816x-desktop:~/Desktop/server_output/ds/sdo/servers/rt3d$ make all
"/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/xdctools_3_23_01_43/xdc" XDC_TRACE_LEVEL= XDC_TRACE_GROUPS= XDCOPTIONS= XDCARGS="CODEGEN_INSTALL_DIR=\"/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/dsp-devkit/cgt6x_7_3_1\"" --xdcpath="/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/xdctools_3_23_01_43/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/codec_engine_3_22_01_06/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/bios_6_33_02_31/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/syslink_2_10_03_20/packages;undefined/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/xdais_7_22_00_03/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/framework_components_3_22_01_07/packages;/home/dm816x/Desktop/alg_output;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/syslink_2_10_03_20" release
making package.mak (because of package.bld) ...
building for target C674 ...
generating interfaces for package ds.sdo.servers.rt3d (because package/package.xdc.inc is older than package.xdc) ...
configuring bin/rt3d.xe674 from package/cfg/bin/rt3d_pe674.cfg ...
js: "./server.cfg", line 64: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.utils' along the path: '/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/xdctools_3_23_01_43/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/codec_engine_3_22_01_06/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/bios_6_33_02_31/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/syslink_2_10_03_20/packages;undefined/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/xdais_7_22_00_03/packages;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/framework_components_3_22_01_07/packages;/home/dm816x/Desktop/alg_output;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/syslink_2_10_03_20;/home/dm816x/ti-ezsdk_dm816x-evm_5_04_00_11/component-sources/xdctools_3_23_01_43/packages;../../../..;'. Ensure that the package path is set correctly.
    "./package/cfg/bin/rt3d_pe674.cfg", line 255
    "./package/cfg/bin/rt3d_pe674.cfg", line 334
    "./package/cfg/bin/rt3d_pe674.cfg", line 242
gmake: *** [package/cfg/bin/rt3d_pe674.xdl] Error 1
make: *** [all] Error 2

Could anyone give me a hand?

Regards,
gaston

  • Gaston,

    It looks like the check for IPC package path is missing from the genserver wizard.  When you run the genserver wizard, could you try adding the path to the ipc packages by clicking on the "Set Search Path..." button.  Then you can click on the "+" and browse to your ipc packages directory.  It should be under your component-sources directory too. Looks like a bug in genserver.  Thanks for pointing this out.

    Best regards,

        Janet

  • janet said:
    Looks like a bug in genserver

    Yes Indeed, It is also necessary to add some extra <components>/packages. Finally I'm able to generate the server executable by setting these search paths:

    Janet, could you verify this?

    Regards,
    gaston

  • Gaston,

    I see you have osal_1_22_01_09/packages in the search path.  That shouldn't be necessary.  osal is for Linux only anyway, and you are building a server which is BIOS based.  Everything else in the search path looks correct.

    Best regards,

        Janet

  • Gaston,

    Please disregard my comment about not needing osal.  I was testing the genserver wizard with a newer version of Codec Engine, where it is not required.  You will need it for the logger that is used for sending up trace from the DSP.

    Best regards,

        Janet