H3750.Console.txtey guys:
One of the first things I do when working with a new dvsdk is to pull out the decode and encode directories into a separate project directory where I keep all of my old stuff and build from there to make sure that everything runs standalone and then piecewise remove and add code from this into a new project that is a merged version of this new dvsdk and my old stuff. I have done this plenty of times over the years going through all the DVSDKs 1.3x, 1.4x and 2.1x with no issues – makefile was pretty easy to use and not much interdependencies to the original DVSDK to do this. However this new dvsdk3.10 has been a major problem in preventing me from doing this and I have wasted a lot of time trying to figure this out.
I am attaching the console output, an example project showing the decode project being isolated and trying to build and the corresponding Makefile that goes with this project which was modified to run in a standalone mode and reference the dvsdk3.10. The main issue here is that the Makefile is referring to a config.bld file that is defined in $(DMAI_INSTALL_DIR)/packages/config.bld file that has some variables in it that get defined by the big Makefile in the original dvsdk_3_10_00_16 directory, but when the decode is pulled out into a separate directory these variables don’t get defined properly because of the interdependencies of all the variables in the Makefiles and I get an error message of:
Error: /home/user/CodeSourcery/Sourcery_G++_Lite/nullgcc cannot be found. Ensure that rootDir for the GCArmv5T target is set correctly in ./config.bld
Now if I remove this statement from the Makefile, this error goes away, but the project doesn’t build – this is the 2nd block of output in the Console.txt file.
$(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)
So what is going on with this PLATFORM_XDC variable and the reference to the $(DMAI_INSTALL_DIR)/packages/config.bld?
I need to build a standalone Makefile with a standalone project that references the dvsdk3.10, but there is a l7612.DemoProject.tar.gzot more to these Makefile in this new dvsdk that is making it difficult for me to understand what is causing the problem - mainly due to all these additional variables with all of the interdepencies that didn't used to be there in the previous DVSDKs. Can you provide some guidance here? See the attached tarball for an example of what I am trying to do – the corresponding main.c that is being built is about as simple as it gets, but I am not able to build it with this new dvsdk.
Thanks,
Tim8535.Makefile.txt4188.DemoProject.tar.gz