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.

MSP430FR2522: MSP430FR2522:

Part Number: MSP430FR2522

I have imported project from older CCS to CCS 12.4 version. I have got the following error.

Cannot run program "": Launching failed Error:

Program "" not found in PATH

From menu  "Project->Properties"

1. under "Build" there is no subfolder. 

2. Build -> Environment  shows only two items "CWD and PWD" 

Original build is on Ubuntu Linux and I am porting it to Windows 11 CCS 12.4

  • Hi Mohamad,

    You can try to create a new project, then copy source code from previous project.

    Chould you capture your project figure to me? I can try to check if there are some files you missed.

    Thanks!

    Best Regards

    Johnson

  • Hi Johnson,

    1) I have created new empty project with main.c. Target MSP430FR2522, compiler version: TI v21.6.1.LTS
    I copied only the source file into this new project.
    I have compiled and got the errors

    cannot open source file "driverlib.h"
    cannot open source file "CAPT_Type.h"
    cannot open source file "CAPT_UserConfig.h"
    cannot open source file "rom_driverlib.h"

    2) Regarding your comment, capture project figure:
    Do you mean, you want me to share .ccproject, .project, etc or something else?
    Please clarify.

    Thanks,

  • Hi Mohamad,

    If you can share project here will be better.

    And your source code should generated by CapTIvate Design Center, correct?

    Here, you need change some para in project options:

    1) I have created new empty project with main.c. Target MSP430FR2522, compiler version: TI v21.6.1.LTS
    I copied only the source file into this new project.
    I have compiled and got the errors

    Thanks!

    Best Regards

    Johnson

  • **** Build of configuration Debug for project cancel1 ****

    "C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k -j 24 all -O

    Building file: "../captivate/ADVANCED/CAPT_Manager.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small --near_data=none -Ooff --use_hw_mpy=F5 --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/ADVANCED/CAPT_Manager.d_raw" --obj_directory="captivate/ADVANCED" "../captivate/ADVANCED/CAPT_Manager.c"

    >> Compilation failure
    captivate/ADVANCED/subdir_rules.mk:9: recipe for target 'captivate/ADVANCED/CAPT_Manager.obj' failed
    >> WARNING: --near_data is only applicable for large data models. Option ignored.
    "../captivate/ADVANCED/CAPT_Manager.c", line 44: fatal error #1965: cannot open source file "CAPT_Type.h"
    1 catastrophic error detected in the compilation of "../captivate/ADVANCED/CAPT_Manager.c".
    Compilation terminated.
    gmake: *** [captivate/ADVANCED/CAPT_Manager.obj] Error 1

  • Hi Mohamad,

    Sorry for reply you too later due to I just get back to office.

    Does this peoject is generated by CapTIvate Design Center? I did some test in my PC, don't find any issue here.

    Thanks!

    Best Regards

    Johnson

  • Hi Johnson, 

    I have also tried the example and it works fine. I am porting this project from Linux to windows environment. 

    I have created a new empty project and added the files from previous project, but I get many errors. 

    What is the best way to import this project?

    Thanks, 

    Mohamad

  • Hi Mohanmad,

    You can create a project use CapTIvate Design Center in Windows, then import to CCS, this is a best method.

    There are too much setting for CapTIvate project, thus if you just copy some files into your project, you will encounter some error.

    Thanks!

    Best Regards

    Johnson

  • Thank you. This resolves my issue. 

**Attention** This is a public forum