RE: Re-Compile Motion JPEG Demo
try this ... -Original Message- From: Ring, Chris [mailto:[EMAIL PROTECTED] Sent: 03 October 2007 18:02 To: Cochrane, Euan; davinci-linux-open-source@linux.davincidsp.com Subject: RE: Re-Compile Motion JPEG Demo Fundamentally, you're getting this error: -- can't find package 'ti.sdo.codecs.jpegenc.ce' along the path '/home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/jpegencdec/ ../..;/home/davinci/dvevm_1_20/codec_engine_1_10_01/packages;/home/davin ci/dvevm_1_20/xdais_5_10/packages;/home/davinci/dvevm_1_20/dsplink_1_30_ 08_02/packages;/home/davinci/dvevm_1_20/cmem_1_02/packages/;/home/davinc i/dvevm_1_20/framework_components_1_10_04/packages;/home/davinci/dvevm_1 _20/bios_5_31_01/packages;/home/davinci/dvevm_1_20/xdc_2_94/packages;/ho me/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/jpegencdec/./.. /..;'; try redefining the package path (XDCPATH). -- Make sure you have this package (ti.sdo.codecs.jpegenc.ce) in one of the directories (aka repositories) in the XDC search path above. (Typically, you can check this by looking for a directory matching the package name with the dots '.' replaced by slashes '/'. The app note (steps 10 and 11 of section 5.2) suggest placing these codecs in the ti/sdo/codecs directory of the dvevm_1_10/codec_servers_1_00/packages directory. I don't see that codec_servers directory in your XDCPATH above, and I don't see explicit instructions in the app note to add the .../codec_servers_1_00/packages directory to your XDCPATH(!). IMHO, this seems like a gap in the app note. :( So, if you placed these codecs in the recommended directory, I think you have to modify a line in apps/jpegencdec/makefile from this: XDC_PATH := $(EXAMPLES_ROOTDIR);$(XDC_PATH) to this: XDC_PATH := /home/davinci/dvevm_1_20/codec_servers_1_00/packages;$(EXAMPLES_ROOTDIR) ;$(XDC_PATH) (Check the version at the end of codec_servers_* for DVEVM 1.20. I'm not sure if it was still 1_00 or not). This will add the repository which contains the app notes' codecs to the XDCPATH. Then the XDC Tools should be able to find the codecs and bring them into the system. I hope that wasn't too confusing(?!?). Please let us know how that goes. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Cochrane, Euan Sent: Wednesday, October 03, 2007 2:17 AM To: 'davinci-linux-open-source@linux.davincidsp.com' Subject: Re-Compile Motion JPEG Demo Hi, I am trying to re-compile the MJPEG demo following the instructions given in Motion JPEG Demo on TMS320DM6446 (SPRAAH9A), however when I try the 'gmake' command in section 5.3.1 Re-Compile the Demo I get the output below. I am using DVEVM/DVSDK version 1.20. Thanks for any suggestions, Euan C [EMAIL PROTECTED] jpegencdec]$ gmake /home/davinci/dvevm_1_20/xdc_2_94/xdc XDCPATH=/home/davinci/dvevm_1_20/codec_engine_1_10_01/example s/apps/jpegencdec/../..;/home/davinci/dvevm_1_20/codec_engine_1_10_ 01/packages;/home/davinci/dvevm_1_20/xdais_5_10/packages;/home /davinci/dvevm_1_20/dsplink_1_30_08_02/packages;/home/davinci/ dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_20/framew ork_components_1_10_04/packages;/home/davinci/dvevm_1_20/bios_ 5_31_01/packages \ XDCOPTIONS=v all -PD . making all: Wed Oct 3 09:49:03 BST 2007 ... .interfaces [/home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/j pegencdec] # # making package.mak (because of package.bld) ... /home/davinci/dvevm_1_20/xdc_2_94/tconf -Dxdc.path=/home/davinci/dvevm_1_20/codec_engine_1_10_01/exam ples/apps/jpegencdec/../..;/home/davinci/dvevm_1_20/codec_engine_1_10_ 01/packages;/home/davinci/dvevm_1_20/xdais_5_10/packages;/home /davinci/dvevm_1_20/dsplink_1_30_08_02/packages;/home/davinci/ dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_20/framew ork_components_1_10_04/packages;/home/davinci/dvevm_1_20/bios_ 5_31_01/packages;/home/davinci/dvevm_1_20/xdc_2_94/packages;.. /.. -Dxdc.root=/home/davinci/dvevm_1_20/xdc_2_94 -Dxdc.hostOS=Linux -Dconfig.importPath=.;/home/davinci/dvevm_1_20/codec_engine_1 _10_01/examples/apps/jpegencdec/../..;/home/davinci/dvevm_1_20 /codec_engine_1_10_01/packages;/home/davinci/dvevm_1_20/xdais_ 5_10/packages;/home/davinci/dvevm_1_20/dsplink_1_30_08_02/pack ages;/home/davinci/dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_ 20/framework_components_1_10_04/packages;/home/davinci/dvevm_1 _20/bios_5_31_01/packages;/home/davinci/dvevm_1_20/xdc_! 2_94/packages;../..;/home/davinci/dvevm_1_20/xdc_2_94;/home/da vinci/dvevm_1_20/xdc_2_94/etc -Dxdc.bld.targets= -DTOOLS= -Dxdc.traceEnable= /home/davinci/dvevm_1_20/xdc_2_94/packages/xdc/bld/bld.js /home/davinci/dvevm_1_20/codec_engine_1_10_01/packages/config. bld package.bld package.mak config.bld: loading user build configuration file /home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/user.bld
RE: Re-Compile Motion JPEG Demo
Hi, now that that error has been cleared up I am getting an error saying it cannot find the davinci specific header files (davinci_vpfe.h, tvp5146.h and davincifb.h) these are located in my /opt/mv_pro_4.0/montavista/pro/devkit/lsp/ti-davinci/include directory but I am not sure how to tell the compiler to look in this dirctory for the files. I'm assuming I need to define this directory somewhere in a makefile but I don't know how or where to do this. Thanks, Euan Cochrane -Original Message- From: Ring, Chris [mailto:[EMAIL PROTECTED] Sent: 03 October 2007 18:02 To: Cochrane, Euan; davinci-linux-open-source@linux.davincidsp.com Subject: RE: Re-Compile Motion JPEG Demo Fundamentally, you're getting this error: -- can't find package 'ti.sdo.codecs.jpegenc.ce' along the path '/home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/jpegencdec/ ../..;/home/davinci/dvevm_1_20/codec_engine_1_10_01/packages;/home/davin ci/dvevm_1_20/xdais_5_10/packages;/home/davinci/dvevm_1_20/dsplink_1_30_ 08_02/packages;/home/davinci/dvevm_1_20/cmem_1_02/packages/;/home/davinc i/dvevm_1_20/framework_components_1_10_04/packages;/home/davinci/dvevm_1 _20/bios_5_31_01/packages;/home/davinci/dvevm_1_20/xdc_2_94/packages;/ho me/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/jpegencdec/./.. /..;'; try redefining the package path (XDCPATH). -- Make sure you have this package (ti.sdo.codecs.jpegenc.ce) in one of the directories (aka repositories) in the XDC search path above. (Typically, you can check this by looking for a directory matching the package name with the dots '.' replaced by slashes '/'. The app note (steps 10 and 11 of section 5.2) suggest placing these codecs in the ti/sdo/codecs directory of the dvevm_1_10/codec_servers_1_00/packages directory. I don't see that codec_servers directory in your XDCPATH above, and I don't see explicit instructions in the app note to add the .../codec_servers_1_00/packages directory to your XDCPATH(!). IMHO, this seems like a gap in the app note. :( So, if you placed these codecs in the recommended directory, I think you have to modify a line in apps/jpegencdec/makefile from this: XDC_PATH := $(EXAMPLES_ROOTDIR);$(XDC_PATH) to this: XDC_PATH := /home/davinci/dvevm_1_20/codec_servers_1_00/packages;$(EXAMPLES_ROOTDIR) ;$(XDC_PATH) (Check the version at the end of codec_servers_* for DVEVM 1.20. I'm not sure if it was still 1_00 or not). This will add the repository which contains the app notes' codecs to the XDCPATH. Then the XDC Tools should be able to find the codecs and bring them into the system. I hope that wasn't too confusing(?!?). Please let us know how that goes. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Cochrane, Euan Sent: Wednesday, October 03, 2007 2:17 AM To: 'davinci-linux-open-source@linux.davincidsp.com' Subject: Re-Compile Motion JPEG Demo Hi, I am trying to re-compile the MJPEG demo following the instructions given in Motion JPEG Demo on TMS320DM6446 (SPRAAH9A), however when I try the 'gmake' command in section 5.3.1 Re-Compile the Demo I get the output below. I am using DVEVM/DVSDK version 1.20. Thanks for any suggestions, Euan C [EMAIL PROTECTED] jpegencdec]$ gmake /home/davinci/dvevm_1_20/xdc_2_94/xdc XDCPATH=/home/davinci/dvevm_1_20/codec_engine_1_10_01/example s/apps/jpegencdec/../..;/home/davinci/dvevm_1_20/codec_engine_1_10_ 01/packages;/home/davinci/dvevm_1_20/xdais_5_10/packages;/home /davinci/dvevm_1_20/dsplink_1_30_08_02/packages;/home/davinci/ dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_20/framew ork_components_1_10_04/packages;/home/davinci/dvevm_1_20/bios_ 5_31_01/packages \ XDCOPTIONS=v all -PD . making all: Wed Oct 3 09:49:03 BST 2007 ... .interfaces [/home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/j pegencdec] # # making package.mak (because of package.bld) ... /home/davinci/dvevm_1_20/xdc_2_94/tconf -Dxdc.path=/home/davinci/dvevm_1_20/codec_engine_1_10_01/exam ples/apps/jpegencdec/../..;/home/davinci/dvevm_1_20/codec_engine_1_10_ 01/packages;/home/davinci/dvevm_1_20/xdais_5_10/packages;/home /davinci/dvevm_1_20/dsplink_1_30_08_02/packages;/home/davinci/ dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_20/framew ork_components_1_10_04/packages;/home/davinci/dvevm_1_20/bios_ 5_31_01/packages;/home/davinci/dvevm_1_20/xdc_2_94/packages;.. /.. -Dxdc.root=/home/davinci/dvevm_1_20/xdc_2_94 -Dxdc.hostOS=Linux -Dconfig.importPath=.;/home/davinci/dvevm_1_20/codec_engine_1 _10_01/examples/apps/jpegencdec/../..;/home/davinci/dvevm_1_20 /codec_engine_1_10_01/packages;/home/davinci/dvevm_1_20/xdais_ 5_10/packages;/home/davinci/dvevm_1_20/dsplink_1_30_08_02/pack ages;/home/davinci/dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_ 20/framework_components_1_10_04/packages;/home/davinci/dvevm_1 _20
RE: Re-Compile Motion JPEG Demo
Fundamentally, you're getting this error: -- can't find package 'ti.sdo.codecs.jpegenc.ce' along the path '/home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/jpegencdec/ ../..;/home/davinci/dvevm_1_20/codec_engine_1_10_01/packages;/home/davin ci/dvevm_1_20/xdais_5_10/packages;/home/davinci/dvevm_1_20/dsplink_1_30_ 08_02/packages;/home/davinci/dvevm_1_20/cmem_1_02/packages/;/home/davinc i/dvevm_1_20/framework_components_1_10_04/packages;/home/davinci/dvevm_1 _20/bios_5_31_01/packages;/home/davinci/dvevm_1_20/xdc_2_94/packages;/ho me/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/jpegencdec/./.. /..;'; try redefining the package path (XDCPATH). -- Make sure you have this package (ti.sdo.codecs.jpegenc.ce) in one of the directories (aka repositories) in the XDC search path above. (Typically, you can check this by looking for a directory matching the package name with the dots '.' replaced by slashes '/'. The app note (steps 10 and 11 of section 5.2) suggest placing these codecs in the ti/sdo/codecs directory of the dvevm_1_10/codec_servers_1_00/packages directory. I don't see that codec_servers directory in your XDCPATH above, and I don't see explicit instructions in the app note to add the .../codec_servers_1_00/packages directory to your XDCPATH(!). IMHO, this seems like a gap in the app note. :( So, if you placed these codecs in the recommended directory, I think you have to modify a line in apps/jpegencdec/makefile from this: XDC_PATH := $(EXAMPLES_ROOTDIR);$(XDC_PATH) to this: XDC_PATH := /home/davinci/dvevm_1_20/codec_servers_1_00/packages;$(EXAMPLES_ROOTDIR) ;$(XDC_PATH) (Check the version at the end of codec_servers_* for DVEVM 1.20. I'm not sure if it was still 1_00 or not). This will add the repository which contains the app notes' codecs to the XDCPATH. Then the XDC Tools should be able to find the codecs and bring them into the system. I hope that wasn't too confusing(?!?). Please let us know how that goes. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Cochrane, Euan Sent: Wednesday, October 03, 2007 2:17 AM To: 'davinci-linux-open-source@linux.davincidsp.com' Subject: Re-Compile Motion JPEG Demo Hi, I am trying to re-compile the MJPEG demo following the instructions given in Motion JPEG Demo on TMS320DM6446 (SPRAAH9A), however when I try the 'gmake' command in section 5.3.1 Re-Compile the Demo I get the output below. I am using DVEVM/DVSDK version 1.20. Thanks for any suggestions, Euan C [EMAIL PROTECTED] jpegencdec]$ gmake /home/davinci/dvevm_1_20/xdc_2_94/xdc XDCPATH=/home/davinci/dvevm_1_20/codec_engine_1_10_01/example s/apps/jpegencdec/../..;/home/davinci/dvevm_1_20/codec_engine_1_10_ 01/packages;/home/davinci/dvevm_1_20/xdais_5_10/packages;/home /davinci/dvevm_1_20/dsplink_1_30_08_02/packages;/home/davinci/ dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_20/framew ork_components_1_10_04/packages;/home/davinci/dvevm_1_20/bios_ 5_31_01/packages \ XDCOPTIONS=v all -PD . making all: Wed Oct 3 09:49:03 BST 2007 ... .interfaces [/home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/apps/j pegencdec] # # making package.mak (because of package.bld) ... /home/davinci/dvevm_1_20/xdc_2_94/tconf -Dxdc.path=/home/davinci/dvevm_1_20/codec_engine_1_10_01/exam ples/apps/jpegencdec/../..;/home/davinci/dvevm_1_20/codec_engine_1_10_ 01/packages;/home/davinci/dvevm_1_20/xdais_5_10/packages;/home /davinci/dvevm_1_20/dsplink_1_30_08_02/packages;/home/davinci/ dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_20/framew ork_components_1_10_04/packages;/home/davinci/dvevm_1_20/bios_ 5_31_01/packages;/home/davinci/dvevm_1_20/xdc_2_94/packages;.. /.. -Dxdc.root=/home/davinci/dvevm_1_20/xdc_2_94 -Dxdc.hostOS=Linux -Dconfig.importPath=.;/home/davinci/dvevm_1_20/codec_engine_1 _10_01/examples/apps/jpegencdec/../..;/home/davinci/dvevm_1_20 /codec_engine_1_10_01/packages;/home/davinci/dvevm_1_20/xdais_ 5_10/packages;/home/davinci/dvevm_1_20/dsplink_1_30_08_02/pack ages;/home/davinci/dvevm_1_20/cmem_1_02/packages/;/home/davinci/dvevm_1_ 20/framework_components_1_10_04/packages;/home/davinci/dvevm_1 _20/bios_5_31_01/packages;/home/davinci/dvevm_1_20/xdc_! 2_94/packages;../..;/home/davinci/dvevm_1_20/xdc_2_94;/home/da vinci/dvevm_1_20/xdc_2_94/etc -Dxdc.bld.targets= -DTOOLS= -Dxdc.traceEnable= /home/davinci/dvevm_1_20/xdc_2_94/packages/xdc/bld/bld.js /home/davinci/dvevm_1_20/codec_engine_1_10_01/packages/config. bld package.bld package.mak config.bld: loading user build configuration file /home/davinci/dvevm_1_20/codec_engine_1_10_01/examples/user.bld building for target C64P ... building for target MVArm9 ... gmake[1]: `.interfaces' is up to date. .interfaces files complete: Wed Oct 3 09:49:06 BST 2007. .libraries