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.

TM4C123AH6PM: Gmake error when trying to import working CCS project

Part Number: TM4C123AH6PM

Tool/software:

I'm attempting to use CCS project import facility to import a working CCS5 project using Tivaware 1.1 to CCS12. I copied the TivaWare 1.1 library to the correct location and everything builds fine until the very end when I get this gmake error message: "gmake: *** No rule to make target 'C:/ti/ccs1260/ccs/eclipse/TIVAWARE_INSTALL/driverlib/ccs/Debug/driverlib.lib', needed by 'tmca.out'"

The driverlib.lib file is present and I'm at a loss to even understand what this means. TIVAWARE_INSTALL is an environment variable that resolves to C:\ti\TivaWare_C_Series-1.1. I don't understand why this would be in the middle of a path used by gmake.

Any ideas?

Brent

  • Looks like gmake is not able to find the driverlib.lib file due to an issue with the path resolution.

  • Hi,

      Please make sure in the linker, it will find the driverlib.lib. Expand the variable and make sure it points to a valid path to the driverlib.lib. See below where I use the latest TivaWare version. If you don't have any hard reason to use Tivaware 1.1, I strongly suggest you switch the latest TivaWare version. Tivaware 1.1 is a very old version. 

  • Thanks Charles,

    I did discover that with some online searching yesterday and tried it. It still didn't resolve the issue. I still get the same cryptic error message. I'm only using Tivaware 1.1 because that is what the original code used. I had previously tried porting to 2.2 but ran into even more problems.

    At this point, unless you have another suggestion, I think I will have to just rebuild the application from scratch. Is there any documentation on changes to Tivaware between 1.1 and 2.2?

    Brent

  • Hi,

     Over the course of TivaWare SDK, there are quite a few versions in between being released between 1.1 (dated 2013) and 2.2 (dated 202). There is no such migration documentation. Please download the latest version from https://www.ti.com/tool/download/SW-TM4C. Once installed, import a few simple examples like the interrupts I mentioned. You should be able to build and run them without any errors. 

      

  • Thanks Charles,

    This doesn't really resolve my issue but you've arrived at the same place I have, which is that the only thing to be done is to create an empty project, add the latest Tivaware to it, insert a function call or two and make sure it compiles and runs. Once that working template is in place, I can then manually add my code to it while doing incremental compiles as a check.

    Interestingly, and I realize this is on the CCS developers not support staff, this is the procedure that I always end up following on every Eclipse based IDE I've ever used. I've never found one whose project import facility was actually useful. By useful, I mean I could import a project using a well documented procedure, get a few intelligible/actionable error messages, and then get it to work in less than a few hours time.

    Go ahead and consider the issue resolved, but please harangue TI's developers about project import if that feels like it would do any good.

    Thanks again,

    Brent

  • This doesn't really resolve my issue but you've arrived at the same place I have, which is that the only thing to be done is to create an empty project, add the latest Tivaware to it, insert a function call or two and make sure it compiles and runs. Once that working template is in place, I can then manually add my code to it while doing incremental compiles as a check.

    Hi Brent,

      I will suggest you look at the system variables and also all the CCS project settings between your CCS5 with your old TivaWare projects vs. CCS12 with the latest TivaWare imported projects. CCS5 was dated 2010 and I'm not surprised to see some hiccups when migrating to CCS12. Hopefully, you will find some clues. I'm not a CCS toolchain expert as I mainly support only the MCU so I can't say for sure if there is some setting that causes the gmake issue.  What we normally recommend customers do is to start by importing a example project from the latest TivaWare and then modify/add code to adapt to the final application. The example project already has the correct system variables, project settings and etc. 

    Go ahead and consider the issue resolved, but please harangue TI's developers about project import if that feels like it would do any good.

    I will close this thread. In case you have new questions, please create a new post and I will be glad to assist.