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.

odd error 'error #10008-D: cannot find file "libmath.a"'

Can't say I've gotten this one before, I installed a "clean" version of CC5.5 on a windows7 machine

I copied the project file set to a network mapped drive (IE a drive letter like "H:")

Then did Project -> Import Existing  CCS Eclipse Project

Browsed to it's directory on the mapped drive and pressed OK (didn't seem to have issues doing that)

next I did a clean and then rebuild and recieved this error during link.

Ideas and or suggestions welcomed.

  • Either on the command line, or in a linker command file, you have a reference to libmath.a, or the option -lmath

    This library needs to be in your search path.

    This library is not part of the compiler product; I am not familiar with it.

  • Archaeologist said:

    Either on the command line, or in a linker command file, you have a reference to libmath.a, or the option -lmath

    This library needs to be in your search path.

    This library is not part of the compiler product; I am not familiar with it.

    Hmm I see so this is more a code composer studio issue then? I'll check CCS path settings (if their are any ,,, hmmm). Thanks.

  • Stephen Phillips1 said:
    Hmm I see so this is more a code composer studio issue then? I'll check CCS path settings (if their are any ,,, hmmm)

    Are you building for MSP430? I see a libmath.a in \ccsv5\ccs_base\msp430\lib within the CCS installation directory. If that is the one you need, make sure that directory is in your linker search path (Project Properties->Linker->File Search Path).

  • AartiG said:

    Hmm I see so this is more a code composer studio issue then? I'll check CCS path settings (if their are any ,,, hmmm)

    Are you building for MSP430? I see a libmath.a in \ccsv5\ccs_base\msp430\lib within the CCS installation directory. If that is the one you need, make sure that directory is in your linker search path (Project Properties->Linker->File Search Path).

    [/quote]

    This appears to have been the issue. For some reason it used the wrong path in the setup.

    "${CCS_BASE_ROOT}/msp430/lib/5xx_6xx_FRxx"

    instead of

    "${CCS_BASE_ROOT}/msp430/lib/"

    Thanks for your incite into this. It linked without trouble when I corrected that.

    Now too see if I can program something. I've noticed with each update of CCS the tools wants to 'update' my debugger tools firmware. Hmmm

    Stephen

  • This fixes it. In CCS6 the libs are moved under a subdir for the device class. This search path worked for me:

        "${CCS_BASE_ROOT}\msp430\lib\5xx_6xx_FRxx"