This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compiling error

Hi, I have strucr define in a lib file from TI. Here the message error from Keil uvision 4, I got no error in my include:

Build Project 'PTX' - Target 'PTX'
compiling main.c...
C:\Users\Mathieu\Documents\Stage\Code_base_station\CodeBaseStation\PTX\src\usb_bulk_structs.h(42): error:  #20: identifier "tUSBBuffer" is undefined
  extern const tUSBBuffer g_sTxBuffer;
KB: Unexpected type: 0
C:\Users\Mathieu\Documents\Stage\Code_base_station\CodeBaseStation\PTX\error type>(43): error:  #20: identifier "tUSBBuffer" is undefined
  extern const tUSBBuffer g_sRxBuffer;
KB: Unexpected type: 0
C:\Users\Mathieu\Documents\Stage\Code_base_station\CodeBaseStation\PTX\error type>(44): error:  #20: identifier "tUSBDBulkDevice" is undefined
  extern const tUSBDBulkDevice g_sBulkDevice;
KB: Unexpected type: 0
<error type>src\main.c: 0 warnings, 3 errors
".\PTX.axf" - 3 Error(s), 0 Warning(s).
Target not created

Anyone know how to fix this?

Parents Reply Children