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.

  • Resolved

CCS/BOOSTXL-SENSHUB: airmouse example not compiling

Prodigy 150 points

Replies: 3

Views: 678

Part Number: BOOSTXL-SENSHUB

Tool/software: Code Composer Studio

Hello

I have tried to compile airmouse proyect imported from TivaWare_C_Series-2.1.4.178 on CCS 7.1.0.00016 but I can´t.

The output was


 undefined first referenced                                                                 
  symbol       in file                                                                      
 --------- ----------------                                                                 
 _FDclass  C:/ti/TivaWare_C_Series-2.1.4.178/sensorlib/ccs/Debug/sensorlib.lib<comp_dcm.obj>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "airmouse.out" not built
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions

>> Compilation failure
makefile:163: recipe for target 'airmouse.out' failed
gmake: *** [airmouse.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished **

How can i fix this problem?

Thanks

Daniel

  • Hi Daniel,
    I was able to recreate your problem. I think the issue is in sensorlib.lib. I was able to work around it by copying the file:
    "C:\ti\TivaWare_C_Series-2.1.4.178\sensorlib\comp_dcm.c" into the project. (I actually just copied a link to the file.)

    Best Regards,
    Bob Crosby

  • In reply to Bob Crosby:

    I then did a better solution. I rebuilt sensorlib.lib using my latest compiler version. (You import the library project into CCS, just like a regular project.) Then I replaced the old sensorlib.lib with the newly compiled version. Then the original airmouse example linked without error.

    Best Regards,
    Bob Crosby

  • In reply to Bob Crosby:

    Thank you very much for your help the second answer works great !!

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.