cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a library to TrueStudio

MikeP
Associate III

Hi,

I am tring out RF Communication and im tring to use the Virtual Wire Library,

I Have added the Library to my project file and linked it in the settings (i think)

but when i build i get the follow error

..\Drivers\VirtualWire\VirtualWire.h: file not recognized: File format not recognized

Kind Regards,

Mike

1 REPLY 1
Ozone
Lead

The selected file is a C language header, and not a library.

I suppose the *.h file declares the interface (the function contained in the library).

Since TrueStudio is basically GCC, look out for the appropriate *.a file, the common extension for gcc link libraries ("archive").