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.

problems in example build in ccsv6 in .out file

Other Parts Discussed in Thread: CONTROLSUITE

sir

i am beginner. i am using example build setting from v15c iq_math library and it gives error. when i use same example than also.

error is:

Description    Resource    Path    Location    Type
#10010 errors encountered during linking; "28335_IQsampleC.out" not built    28335_IQsampleC             C/C++ Problem
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10099.html">#10099-D</a>  program will not fit into available memory.  run placement with alignment/blocking fails for section ".esysmem" size 0x7d0 page 1.  Available memory ranges:    28335_IQmath_lnk.cmd    /28335_IQsampleC    line 104    C/C++ Problem
gmake: *** [28335_IQsampleC.out] Error 1    28335_IQsampleC             C/C++ Problem
gmake: Target 'all' not remade because of errors.    28335_IQsampleC             C/C++ Problem
#10063-D entry-point symbol other than "_c_int00" specified:  "code_start"    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<atoIQN.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQ24atan2PU.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQ24div.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQ24exp.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQ24mag.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQ24mpyI32int.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQ24sin.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQmathTables.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
#16002-D build attribute vendor section TI missing in "C:/tidcs/c28/IQmath/v15a/lib/IQmath_fpu32.lib<IQNexpTable.obj>": compatibility cannot be determined    28335_IQsampleC             C/C++ Problem
Build variable 'XDAIS_CG_ROOT' cannot be resolved.     28335_IQsampleC        properties    Problems
Invalid project path: Include path not found (\packages\ti\xdais).    28335_IQsampleC        pathentry    Path Entry Problem

is there some problem in ccs or settings

  • jitendra nama said:
    i am using example build setting from v15c iq_math library

    I don't recognize this library.  Please show the web address where you downloaded this library.

    This is very unlikely to be a problem with CCS or the compiler.

    It is hard to understand what is happening based on what you show.  Instead, show how the entire build occurred in the Console view.  Do the problem build again.  Once it is complete, use the Copy Build Log icon in the Console view to capture everything in a text file.  Use the extension .txt for the file name.  Attach that file to your next post.  I might be able to tell you how to fix it.  It is more likely I will direct you to the experts in another forum.

    Thanks and regards,

    -George

  • sir

     math library available in control suite at:    C:\ti\controlSUITE\libs\math\IQmath\v15c

    **** Build of configuration Debug for project 28335_IQsampleC ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/CodeStartBranch.asm'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -O3 --opt_for_speed=4 --include_path="/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include" --advice:performance=all -g --optimize_with_debug=on --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_wrap=off --display_error_number -k --asm_listing --output_all_syms --obj_directory="C:/tidcs/c28/IQmath/v15/examples/C/projects/Debug" --preproc_with_compile --preproc_dependency="CodeStartBranch.d"  "C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/CodeStartBranch.asm"
    'Finished building: C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/CodeStartBranch.asm'
    ' '
    'Building file: C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/IQsample.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 -O3 --opt_for_speed=4 --include_path="/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include" --advice:performance=all -g --optimize_with_debug=on --define="_DEBUG" --define="LARGE_MODEL" --quiet --diag_wrap=off --display_error_number -k --asm_listing --output_all_syms --obj_directory="C:/tidcs/c28/IQmath/v15/examples/C/projects/Debug" --preproc_with_compile --preproc_dependency="IQsample.d"  "C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/IQsample.c"
    
    >> Compilation failure
    subdir_rules.mk:14: recipe for target 'C:/tidcs/c28/IQmath/v15/examples/C/projects/Debug/IQsample.obj' failed
    "C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/IQsample.c", line 21: fatal error #1965: cannot open source file "IQmathLib.h"
    1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/IQsample.c".
    Compilation terminated.
    gmake: *** [C:/tidcs/c28/IQmath/v15/examples/C/projects/Debug/IQsample.obj] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • The key error is this one ...

    "C:/ti/controlSUITE/libs/math/IQmath/v15c/examples_ccsv4/C/source/IQsample.c", line 21: fatal error #1965: cannot open source file "IQmathLib.h"
    

    The compiler looks for IQmathLib.h in a few different places, and never finds it.  So it issues this diagnostic.  To understand how the compiler looks for header files, read the section titled The Search Path for #include Files in the C2000 compiler manual.  In your case, the typical solution is to 

    1. Find where in the controlSUITE installation IQmathLib.h file is located
    2. Add that directory to those searched by the compiler.

    In CCS, right click on the name of the project and select Show Build Settings.  Browse to CCS Build | C2000 Compiler | Include Options.  In the sub-window titled Add dir to #include search path, click on the Add icon.  Enter the directory name.

    Thanks and regards,

    -George