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.

CCS/AWR1642BOOST: Build mmWave problem

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: SYSBIOS, MATHLIB

Tool/software: Code Composer Studio

Hi 

I am trying to build using CCS. Having set up the build environment. I am runnig "mmwave_sdk_setupenv.bat" and got 

-----------------------------------------------
mmWave Build Environment Configured
-----------------------------------------------

Then when I run gmake all in CCS terminal under the directory "C:\ti\mmwave_sdk_01_00_00_05\packages\ti\drivers\adcbuf>" , I got the following error.

'[R4 Device/Type: awr16xx/xwr16xx] Building file: src/ADCBuf.c'
process_begin: CreateProcess(NULL, armcl -c -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -me --define=SUBSYS_MSS --define=SOC_XWR16XX --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -ic:/ti/m
mwave_sdk_01_00_00_05/packages -iC:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include -g -O3 -display_error_number --diag_warning=225 --diag_wrap=off --little_endian --preproc_with_compile --gen_func_subsections
-ppd=obj_xwr16xx/ADCBuf.d src/ADCBuf.c --output_file obj_xwr16xx/ADCBuf.oer4f, ...) failed.
make (e=2): The system cannot find the file specified.
gmake: *** [../../common/mmwave_sdk.mak:201: obj_xwr16xx/ADCBuf.oer4f] Error 2

antivirus is not working. I am using windows 10, latest CCS version updated. How I can I solve it. 

Thanks in advance.

Burak

  • Hello ,
    This error comes due to incorrect tools' (XDC_tool, compiler, sysbios etc.) path or incorrect version installed.

    Please make sure that you have setup SDK environment variables properly and all paths given there are valid. (follow SDK user guide)
    Install all SDK dependency tools as the same version as given in SDK release note document.


    Regards,
    Jitendra Gupta

  • Hi

    Thanks.

    It would be good if TI can update the mmwave_sdk_user_guide.pdf. I had to change path names, add some more lines to the “setenv_tools.bat” file. For example: “set XDCTOOLS_JAVA_HOME=C:/Program Files (x86)/Java/jre1.8.0_141” and also one need to change ARM, XDC, mathlib versions and path in the .bat file.

    I was able to build the example under  “ C:\TI\mmwave_sdk_01_00_00_05\packages\ti\drivers\adcbuf ”, no problem.

    However with the same settings I have problem with the demo application under “C:\TI\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw ”.

    Below is the error I get:

    [C674 Device/Type: awr16xx/xwr16xx] Building file: dss/dss_main.c

    "dss/dss_main.c", line 85: fatal error #1965: cannot open source file "ti/mathlib/mathlib.h"

    1 catastrophic error detected in the compilation of "dss/dss_main.c".

    Compilation terminated.

    >> Compilation failure

    gmake: *** [obj_xwr16xx/dss_main.oe674] Error 1

    Burak

  • Hi again

    I realized I was using the wrong mathlib "mathlib_rts_c674x_3_1_2_1", I changed it to "mathlib_c674x_3_1_2_1" and worked.

    thanks