Hi,
I've followed the steps to import the adapted project, that the user Gurnani posted as solution on http://e2e.ti.com/support/embedded/multimedia_software_codecs/f/356/t/166075.aspx.
There is no variable errors and such. The build steps complete without errors, just a few warnings.
However, the linker crashes, and I can't figure out why. I'm using CCS 5.1.1.00031
Can someone please help. The error output itself says to ask for support, and that this is a 'serious problem'.
There is the linker output error:
'Building target: TestAppDecoder.out''Invoking: C6000 Linker'"C:/CCs_v5/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --define="XDM1" --diag_warning=225 --gen_func_subsections=on --no_bad_aliases --abi=eabi --auto_inline=256 --output_all_syms --strip_coff_underscore -z -m"TestAppDecoder.map" --warn_sections -i"C:/CCs_v5/ccsv5/tools/compiler/c6000/lib" -i"C:/CCs_v5/ccsv5/tools/compiler/c6000/include" -i"C:/multicore/TestAppDecoder" -i"C:/multicore/TestAppDecoder/../../../Build" -i"C:/CCSTUD~1.3/C6000/csl/lib" -i"C:/multicore/TestAppDecoder/../../../../Lib" -i"C:/Program Files (x86)/Texas Instruments/bios_6_33_02_31/packages/ti/bios/lib" --reread_libs --rom_model -o "TestAppDecoder.out" -l"./configPkg/linker.cmd" "./tsc_h.obj" "./ijpegdec.obj" "./alg_malloc.obj" "./alg_create.obj" "./TestAppDecoder.obj" "./TestAppConfigParser.obj" -l"C:\Program Files (x86)\Texas Instruments\C66x_jpegdec_03_01_00_01_ELF\packages\ti\sdo\codecs\jpegdec\lib\jpegdec_ti.le66" -l"libc.a" "../JPEGDecApp.cmd" <Linking>This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more information.user_msg_api.c:211:internal fatal error #99926: (ofile_error_handler(): TestAppDecoder.out: illegal operation: writing 0x1fffffbc bytes to offset 0x0 in section ".text:JPEGIDEC_TI_cSect" exceeds its formatted size (0x227a0))INTERNAL ERROR: C:\CCs_v5\ccsv5\tools\compiler\c6000\bin\lnk6x.exe abortedThis is a serious problem. Please contact CustomerSupport with this message and a copy of the input fileand help us to continue to make the tools more robust.
Thanks,
Weber
Weber,
Which version of the compiler tools are you using? You can check by going into Help->About Code Composer Studio, click on Installation Details, and look for the version of C6000 Compiler Tools.
The version of linker you are using is having a problem building that application and is terminating abnormally. You could try a newer version of the tools to see if it resolves the issue. C6000 compiler tools are available for download here, so you can download the latest version, install it in any folder, and then have CCS detect and use this version by following the steps here.
If a post answers your question please mark it with the "Verify Answer" button
Search the wikis for common questions: CGT, BIOS, CCSv3, CCSv4Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
Now that you mentioned it, I've found some unusual warnings:
Invalid project path: Duplicate path entries found (/TestAppDecoder [Include path] isSystemInclude:true includePath:C:/Program Files (x86)/Texas Instruments/xdctools_3_23_01_43/packages), path: [/TestAppDecoder]. TestAppDecoder pathentry Path Entry ProblemProfile Deprecation Warning ti.sysbios.BIOS: The 'whole_program' build profile will not be supported in future releases of SYS/BIOS. Use 'release' or 'debug' profiles together with the 'BIOS.libType' configuration parameter to specify your preferred library. See the compatibility section of your SYS/BIOS release notes for more information. .xdchelp /TestAppDecoder 446 C/C++ ProblemRTSC product 'Inter-processor Communication' v1.22.4.25 (or equivalent) is not currently installed. A compatible version 1.24.2.27 has been used. Please install a product of equivalent version, or enable one of the supported versions of this product. TestAppDecoder TestAppDecoder TI Problem MarkerRTSC product 'SYS/BIOS' v6.31.0.18 (or equivalent) is not currently installed. A compatible version 6.33.2.31 has been used. Please install a product of equivalent version, or enable one of the supported versions of this product. TestAppDecoder TestAppDecoder TI Problem MarkerThis project was created using a version of compiler that is not currently installed: 7.2.2 [C6000]. Another version of the compiler will be used during build: 7.3.1. Please install the compiler of the required version, or migrate the project to one of the available compiler versions. TestAppDecoder properties TI Problem MarkerThis project was created using a version of XDCtools that is not currently installed: 3.20.8.88. Please install the XDCtools of this version, or migrate the project to one of the supported versions. TestAppDecoder TestAppDecoder TI Problem Marker
I will try to fix this warnings, ant let you know about the results.
I'm not working with the adapted version of jpeglib demo project anymore. Now I'm working with the default demo project that comes with the library.
I've downloaded the original libraries, as much as I could find, also the requested compiler version (7.2.2).
Now I have only 2 warnings:
Invalid project path: Duplicate path entries found (/TestAppDecoder [Include path] isSystemInclude:true includePath:C:/Program Files (x86)/Texas Instruments/xdctools_3_20_08_88/packages), path: [/TestAppDecoder]. TestAppDecoder pathentry Path Entry Problem
However, now I have this error:
Description Resource Path Location Typeti.sysbios.BIOS: no property named 'libType'
It refers to the following piece of code on Build.xs (C:\Program Files (x86)\Texas Instruments\ipc_1_24_02_27\packages\ti\sdo\ipc).
* ======== Build.xs ======== * */var BIOS = null;var Build = null;/* * ======== module$use ======== */function module$use(){ BIOS = xdc.module("ti.sysbios.BIOS"); Build = this; /* inform getLibs() about location of library */ switch (BIOS.libType) { case BIOS.LibType_Instrumented:
code continues...
I think that is because I'm running a newer version of IPC (1.24.2.27) instead of 1.22.4.25. However, I couldn't find a link to download the right version. Can you please share this link?
My current RTSC configuration for this project is, with XDCtools 3.20.8.88:
Can anyone from texas instruments please help? I'm struggling to make this damned demo project work.
Iit should be a demo, not a compatibility nightmare.
I've solved the last problem.
It was caused by the newer ipc version. Just using a older onde, solved it.
Now the project compiles and link without problems.
Thanks for the update and glad to hear that you were able to resolve the problems and get a successful build.