Hey guys:
I used to be able to pull directories (decode, encode, encodedecode) out of the demos directories of the DVSDKs with no problems until DVSDK3.10. Usually I just pulled the decode directory and packages directory from the demo directory of each DVSDK and modify the environmental variables to point to the DVSDK directory and I could build the project standalone with no problems. Now with DVSDK3.10, when I try to do this I get the following message:
[root@localhost decode]# make VERBOSE=true ======== Building decode ======== It is having a problem with this statement in the Makefile:
Configuring application using decode.cfg
PLATFORM_XDC="ti.platforms.evmDM365" XDCPATH=";../../packages;/home/user/dvsdk/dvsdk_3_10_00_16/dmai_2_10_00_10/packages;/home/user/dvsdk/dvsdk_3_10_00_16/codec_engine_2_25_01_06/packages;/home/user/dvsdk/dvsdk_3_10_00_16/framework_components_2_25_01_05/packages;/home/user/dvsdk/dvsdk_3_10_00_16/dsplink_linux_1_64/packages;/home/user/dvsdk/dvsdk_3_10_00_16/xdais_6_25_01_08/packages;/home/user/dvsdk/dvsdk_3_10_00_16/linuxutils_2_25_01_06/packages;/home/user/dvsdk/dvsdk_3_10_00_16/dm365_codecs_03_10_00_05/packages;/home/user/dvsdk/dvsdk_3_10_00_16/codec_engine_2_25_01_06/examples" /home/user/dvsdk/dvsdk_3_10_00_16/xdctools_3_16_01_27/xs xdc.tools.configuro -c /home/user/CodeSourcery -o decode_config -t gnu.targets.arm.GCArmv5T -p ti.platforms.evmDM365 -b /home/user/dvsdk/dvsdk_3_10_00_16/dmai_2_10_00_10/packages/config.bld decode.cfg
making package.mak (because of package.bld) ...
js: "./package.bld", line 62: Error: template generation of 'compiler.opt' failed: Error: /home/user/CodeSourcery/nullgcc cannot be found. Ensure that rootDir for the GCArmv5T target is set correctly in ./config.bld
gmake: *** Deleting file `package.mak'
gmake: *** No rule to make target `.configuro'. Stop.
Warning: directory "/home/user/dvsdk/dvsdk_3_10_00_16/dsplink_linux_1_64/packages" on package path does not exist
js: "/home/user/dvsdk/dvsdk_3_10_00_16/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make: *** [decode_config/compiler.opt] Error 1
$(VERBOSE) PLATFORM_XDC="$(PLATFORM_XDC)" XDCPATH="$(XDC_PATH)" $(CONFIGURO) -c $(MVTOOL_DIR) -o $(XDC_CFG) -t $(PLATFORM_XDC_TARGET) -p $(PLATFORM_XDC) -b $(DMAI_INSTALL_DIR)/packages/config.bld $(XDC_CFGFILE) The -b option above along with the DMAI path is referring to a config.bld file in the DMAI packages directory that is defined as such: which I assume is why it is getting a nullgcc error because rootDir is getting the wrong value. I have no issues building the kernel and DVSDK so I know there is not a problem with my PATH - just this PLATFORM_XDC definition getting in the way. This did not used to be be in the previous DVSDKs and is preventing me from building an independent project that was pulled out of the demos directory as a reference. Does anyone know how to fixx this problem? Thanks,
Tim Simerly
var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T');
GCArmv5T.LONGNAME = longName;
GCArmv5T.platform = java.lang.System.getenv("PLATFORM_XDC");
GCArmv5T.rootDir = tooldir;