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.

Compiler/AWR1642BOOST: AWR1642 - fatal error: cannot open source file "common/srr_config_consts.h": Permission denied 1 catastrophic error detected in the compilation of "mss/mss_main.c"

Part Number: AWR1642BOOST

Tool/software: TI C/C++ Compiler

Hi sir,

I download the "lab0002_short_range_radar" source code and I try to compile in my PC.

But It always has the problem about some header file cannot open.(Show as below)

And I had already install the "mmwave_sdk_02_00_00_04" and "CCS9.1.0" in the C:/ti.

Please help to clarify this problem A.S.A.P

BR

Thanks

Frank

  • Ps. My compile path is "C:\ti\mmwave_sdk_02_00_00_04\packages\ti\demo\xwr16xx\lab0002_short_range_radar\src>"

  • Hi,

    Did you try to build from the CCS projects?

    You need to import in CCS the following projects:

    C:\Users\a0323124\TIREX\mmwave_automotive_toolbox\labs\lab0002_short_range_radar\src\srr_16xx_dss.projectspec,srr_16xx_mss.projectspec

    Then you should build from CCS.

    All the paths should already be defined in the CCS project specs

    thank you
    Cesar

  • CCS is OK but I want to copy the "common folder" to "dss/common" and "mss/common" by makefile.

    copyCommon:
    @echo 'Copy common into mss folder'
    $(MKDIR) -p mss/common/
    $(COPY_CMD) common/cfg.c mss/common/cfg.c
    $(COPY_CMD) common/mmw_messages.h mss/common/mmw_messages.h
    $(COPY_CMD) common/srr_config_chirp_design_SRR80.h mss/common/srr_config_chirp_design_SRR80.h
    $(COPY_CMD) common/srr_config_chirp_design_SRR120.h mss/common/srr_config_chirp_design_SRR120.h
    $(COPY_CMD) common/srr_config_chirp_design_USRR20.h mss/common/srr_config_chirp_design_USRR20.h
    $(COPY_CMD) common/srr_config_consts.h mss/common/srr_config_consts.h
    $(COPY_CMD) common/srr_defines.h mss/common/srr_defines.h
    $(COPY_CMD) common/kar_defines.h mss/common/kar_defines.h
    icacls "mss/common/" /grant User:F /T

    @echo 'Copy common into dss folder'
    $(MKDIR) -p dss/common/
    $(COPY_CMD) common/cfg.c dss/common/cfg.c
    $(COPY_CMD) common/mmw_messages.h dss/common/mmw_messages.h
    $(COPY_CMD) common/srr_config_chirp_design_SRR80.h dss/common/srr_config_chirp_design_SRR80.h
    $(COPY_CMD) common/srr_config_chirp_design_SRR120.h dss/common/srr_config_chirp_design_SRR120.h
    $(COPY_CMD) common/srr_config_chirp_design_USRR20.h dss/common/srr_config_chirp_design_USRR20.h
    $(COPY_CMD) common/srr_config_consts.h dss/common/srr_config_consts.h
    $(COPY_CMD) common/srr_defines.h dss/common/srr_defines.h
    $(COPY_CMD) common/kar_defines.h dss/common/kar_defines.h
    icacls "dss/common/" /grant User:F /T
    @echo '******************************************************************************'
    @echo 'Copy common into mss / dss directory'
    @echo '******************************************************************************'

  • Hi,

    In order to build the demo with makefiles,

    I recommend you follow the structure of the mmWave SDK 2.0.0.4 demo.

    You should create a folder "srrdemo" as follows and copy the demo folders inside. You will need to follow the makefile structure of the SDK demo

    C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr16xx\srrdemo

    Thank you

    Cesar