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/LAUNCHXL-F28027F: CCS 9.1.0 build issue

Part Number: LAUNCHXL-F28027F
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Dear community,

I have issues building a CCS project for my TI LAUNCHXL-F28027F.

After creating an Empty Project (with main.c), selecting Experimenter's Kit - Piccolo F28027 as the target, Texas Instruments XDS100v2 Debug Probe as the Connection, the default TI v18.12.2.LTS as the Compiler version, I get the following error when building the project:

**** Build of configuration Debug for project trySK2 ****

"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
subdir_rules.mk:9: recipe for target 'main.obj' failed
gmake: *** [main.obj] Error -1073741819
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Does anyone know how to solve this?

  • Could you try opening a new workspace in a simple directory like c:\ti\workspace, then follow the same steps to create a new project and build. If it fails in a similar manner, could you zip up the entire project folder and attach it here for us to look at?

  • I opened a new workspace in the simple directory C:\ti\CCS910_WS. I followed the same steps to create a new project and build. It failed in a similar manner. Here is a zip file with the entire project:

    CCS910_WS.zip

    Please note that I didn't install CCS9.1 the standard way as there was issues during the installation process. In the end I unzipped a file Danish from TI sent me (see post https://e2e.ti.com/support/tools/ccs/f/81/p/824688/3058019#pi320995=2 )

    Best regards,

  • The project builds fine in my system so I can only infer that there is some problem with your installation or environment.

    A couple of things you can do to narrow down the root cause:

    1) Import and build an example project from C2000Ware and see if same error occurs

    2) Try building from command line using the same gmake command

    - Open a command prompt
    - cd to the Debug directory inside your project
    - run the gmake command (similar to what you see in the CCS build console)

    3) Try invoking the compiler directly from command line (taking gmake out of the picture)

    - In the command prompt, type in the compiler command directly. It will look like this, except replace the include_path with your equivalent workspace directory:

    "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" -v28 -ml -mt --include_path="C:/workspaces/ccsv910/c2000_workspace/trySK" --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.2.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"


    Hopefully the results of these tests might help provide more clues.

  • 1)  I imported and built Example_F2802xLaunchPadDemo from C2000Ware and got exactly the same error than with my simple empty project.

    2) Back to my simple empty project, I tried building it from the command line using the gmake command, and got exactly the same error message than within CCS.

    3) Then I invoked the compiler directly without invoking gmake and, this time, I didn't get any error message. Additionally in the Debug directory, two new files were created successfully: main.obj and main.d_raw 

    I hope the results of these tests provide more clues.

  • The result of test 3 indicates that the compiler tools are working fine, but the result of 1 and 2 indicate some issue with the CCS gmake build system. 

    I think there might be some issue with the CCS installation itself. I'll consult with Danish to understand how your installation process was completed, and if that could be somehow be triggering these build issues.

  • Could you check the versions of MSVC Redistributables on your machine and let us know? They will be in the Control Panel->Programs and Features.

    You can take a screenshot of all the versions listed and post it here. 

  • I have 4 different versions of MSVC installed on my machine:

    My installation process consisted in extracting a big zip file in C:\ti\ccs910. Thus no particular environment variable was set up, nor particular registry key.

  • Should I install a different version of MSVC?

  • Hi Sebastien,

    I will send you the appropriate redist via email.

    Sorry, should have thought that you might not have them installed.

    Danish

  • Dear Danish,

    I have installed the two versions (x86 and x64) of MSVC 2017 Redistributable but my issue still remains the very same...

  • Eventually CCS v9.2.0 was released and I could install it flawlessly without experiencing any bug during the installation process.

    Nevertheless I was still encountering this gmake issue while building any of my projects.

    I am really disappointing with the TI support that basically asked me to do (by PM) endless tweaks on my Windows without success, and stopped communicating with me eventually.

    But I found a solution to make it work: I replaced gmake.exe shipped with CCS with a newer more up to date version (gnumake-4.2.1-x64.exe), and the build process went flawless.

    Hope this can help someone experiencing the same issue I had.