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: How do I build iqmathlib.lib

Other Parts Discussed in Thread: CODECOMPOSER, SW-TM4C-IQMATH

Tool/software: Code Composer Studio

I'm resurecting an old project that used TivaWare_C_Series-2.1.0.12573, I downloaded TivaWare™ for C Series IQ Math Standalone Package which is v2.2.0.295.  How is this installed and built?  I unzipped it to the TivaWare root and that seems correct because after running gen_source.pl CodeComposer can find IQmathLib.h but now I get this:

gmake: *** No rule to make target 'E:/Programs/ti/TivaWare_C_Series-2.2.0.295/IQmath/ccs/IQmathLib/Debug/IQmathLib.lib', needed by 'XXXXXXXXX.out'.
gmake: Target 'all' not remade because of errors.

How do I build IQmathlib.lib?  The makefile in the IQMath folder is looking to build  Makefile.IQmathLib but that file doesn't exist.  CodeComposer can't find a project in the subdirectory and the readme.txt simple has "This project will build the Tiva IQmath Library." but nothing about how that is actually done.  All documentation I could find is written for different versions and the section on installation just gives the directory structure of the unzipped files but not actual information.

Can anyone help?

  • Hello Greg,

    IQMathLib was removed for TivaWare 2.2.0.295 for the following reason:

    IQMathLib had been a carryover from StellarisWare which supported the LM3S family of devices which did not contain a hardware Floating-Point Unit (FPU). IQMathLib provided a method to do floating point mathematical operations on a fixed-point MCU. However, as all TM4C MCU's have a hardware FPU included, there is no purpose to using IQMathLib. Therefore it has been removed to avoid user confusion (as evidenced by multiple E2E posts about it's use for TM4C MCUs).

    Can your project be updated to not use IQMathLib API calls or IQMathLib? That would be recommended.

    Also what is the gen_source.pl file you are mentioning? Is that a Code Composer feature?

    If there is a CCS feature trying to access it now, maybe we need to get that updated.

  • Hi, thanks for your reply.  I am resurrecting this project with the intent of making a very minor change to the code.  I'm sure I could remove IQ Math but that is a much more involved change than is currently budgeted / desired.  As for the gen_source.pl script, it is part of the TivaWare™ for C Series IQ Math Standalone Package (http://www.ti.com/tool/SW-TM4C-IQMATH

  • The original project used TivaWare 2.1.0.12573, I can (probably should) stay with that version but it doesn't change the fact that I need to be able to build the library.  IQMathLib.lib is not part of that version either.

  • Hello Greg,

    I wasn't even aware we have that SW-TM4C-IQMATH offering. Anyways, I don't know why it was released in the manner it was but that includes internal TI build files for the whole TivaWare release. I don't think they will work standalone and frankly I doubt they should have been released.

    The library as we distribute it cannot be re-built normally, though you may be able to use that SW-TM4C-IQMATH files with the TivaWare provided files to make a new project to do the re-build... I still recommend not using it though as all TM4C devices have floating point operation.

    Greg Semeraro said:
    IQMathLib.lib is not part of that version either.

    Look under: [Install Path]\TivaWare_C_Series-2.1.0.12573\IQmath\ccs\IQmathLib\Debug

  • That's the problem, IQMath is not there, that's why I'm asking how to build it.  I got the TivaWare 2.1.0.12573 from Bob Crosby.  I posted to this forum saying that I needed the old version and he replied with a private link to all the old version of TivaWare.  It is here: e2e.ti.com/.../907895

  • The proposed solution is to not use this library.  That is not practical as I am resurrecting an old project and can't afford to re-write it.

  • Hello Greg,

    AHHH. Now I see the real issue here.

    It looks like Bob only sent you DriverLib and not the full TivaWare. Many folders are missing. Let me see if I can get him to send you the full version.

  • That would be fantastic!  Thanks.

  • Hi Greg,

    Bob is going to send you a full version shortly, if you don't get it by tomorrow let me know and I'll follow up. I marked this closed on our end but wait until you get it to confirm that.

    Sorry for all the confusion, hopefully this clears it up. I had figured you had the full version. Now it all makes sense. :)

  • Thanks.  I got the full version and was able to build my application.  Thanks.