I have a multi-project solution built in Visual Studio 2015.
Most of the projects are libraries, set to build as static .lib.
I have a test project which, when set as the startup-project, tests the project libraries in windows.
I also have an Arduino project which I created by importing a .ino sketch.
When set as the startup-project, this .ino project tests the libraries on a microcontroller.
Both of these projects have project references to the library projects they depend on.
I have successfully built and run my test project, but when I try to build the Arduino Project, I get linker errors such as this:
Compiling debug version of 'SJD_NewHeatingSystem' for 'Arduino/Genuino Mega w/ ATmega1280'
cc1GsQfP.ltrans0.ltrans.o*: In function __base_ctor
Error linking for board Arduino/Genuino Mega w/ ATmega1280
Relay.h:7: undefined reference to vtable for HardwareInterfaces RelaysPort
Relay.h:7: undefined reference to vtable for HardwareInterfaces RelaysPort
Debug build failed for project 'SJD_NewHeatingSystem'
See the attached picture for my projects and references.
Any ideas why the linker is not seeing the object files for the referenced projects?