dcs-bios / dcs-bios-arduino-library

Arduino Library to talk to DCS-BIOS
MIT License
61 stars 29 forks source link

OT: Newbie Question on Arduino IDE & Libraries #13

Closed OlHall closed 9 years ago

OlHall commented 9 years ago

I'm new to Github and the Ardunio dev environment so apologies if this is a really stupid question:

I've forked the library to a working copy on my machine, but I noticed that the library that I imported into the Arduino IDE is structured very differently (monolithic .cpp/.h) - how do I build the library working copy so that I can then test the library with a sketch?

jboecker commented 9 years ago

The current master branch here on GitHub already includes some restructuring work by Gadroc. The version you are comparing it to is v0.1.3, which still has the monolithic file structure.

OlHall commented 9 years ago

I know this is closed, but... I'm working on the master branch and it fails to compile - is that to be expected?

StringBuffer complains about incorrect number of arguments and Protocol.cpp has 'undefined reference to `onDcsBiosFrameSync()'

I'm just not sure if I have my environment incorrectly setup or the current master branch is broken?

jboecker commented 9 years ago

Current master might be broken (it's been a while since I had time to test it).