How to link an arduino code library to a visual studio project

by Visual Micro 11. April 2010 19:56

You can easily attach libraries into your arduino projects using the free visual studio addin. Library files are linked and not copied to the project which means that when libraries are updated your projects are automatically updated.

Clicking the libary button on the tool bar provides a list of installed arduino libraries (core libs only at the moment). Selecting a library from the list automatically adds a new filter folder called "_libraries\Core\<libName>" and links all of the source and header files from the library into the project.

An #include is also automatically added to the open .pde source. Example...

 

News - 2010

2nd May - Visual Studio 2010 - Navigating the Navigator with ArduPilot

18th April - Supports multiple sketch (pde) files in a single project (ArduPilot)

17th April - Supported on all windows language versions

14th April - First test success

11th April - The arduino visual studio beta was released today

Links and References

Visual Micro Forums here

Visit the Arduino forums here

A different solution here

Bob Powell's solution here

Ardupliot example here