wheeler-microfluidics / dmf-control-board-firmware

Firmware for an Arduino-based DMF control board and a Python module for communicating with it over a serial connection.
http://microfluidics.utoronto.ca/trac/dropbot/wiki/ControlBoard
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

bug(build/conda): missing `AdvancedADC` C++ library #11

Open cfobel opened 5 years ago

cfobel commented 5 years ago

Issue

The following error occurs during build:

src\DMFControlBoard.cpp:38:27: fatal error: AdvancedADC.h: No such file or directory

*********************************************************************
* Looking for AdvancedADC.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:AdvancedADC.h"
* Web  > https://platformio.org/lib/search?query=header:AdvancedADC.h
*
*********************************************************************

Cause

It seems like changes to the platformio library mean that <prefix>/Library/ C++ libraries are no longer found.

Notes

According to conda depgraph --from-channels in arduino-advanced-adc (see omegacen/conda-depgraph):

 ┌──────────────────────────────────────────┐ ┌─────────────────────────────────────┐ ┌──────────────────────────────────┐
 │device-quality-control-plugin-requirements│ │dmf-control-board-plugin-requirements│ │microdrop.dmf-control-board-plugin│
 └────────────────────────┬─────────────────┘ └──────────────────┬──────────────────┘ └─────────────────┬────────────────┘
                          │                                      │                                      │
                          │      ┌───────────────────────────────┘                                      │
                          │      │      ┌───────────────────────────────────────────────────────────────┘
                          │      │      │
                          v      v      v
                   ┌──────────────────────────┐                   ┌──────────────────────────────────┐
                   │dmf-control-board-firmware│                   │dmf-control-board-firmware-develop│
                   └─────────────┬────────────┘                   └─────────────────┬────────────────┘
                                 │                                                  │
                                 └───────────────────────┐      ┌───────────────────┘
                                                         │      │
                                                         v      v
                                                  ┌────────────────────┐
                                                  │arduino-advanced-adc│
                                                  └────────────────────┘

Similar output for arduino-timer-three:

 ┌──────────────────────────────────────────┐ ┌─────────────────────────────────────┐ ┌──────────────────────────────────┐
 │device-quality-control-plugin-requirements│ │dmf-control-board-plugin-requirements│ │microdrop.dmf-control-board-plugin│
 └────────────────────────┬─────────────────┘ └──────────────────┬──────────────────┘ └─────────────────┬────────────────┘
                          │                                      │                                      │
                          │      ┌───────────────────────────────┘                                      │
                          │      │      ┌───────────────────────────────────────────────────────────────┘
                          │      │      │
                          v      v      v
                   ┌──────────────────────────┐                   ┌──────────────────────────────────┐
                   │dmf-control-board-firmware│                   │dmf-control-board-firmware-develop│
                   └─────────────┬────────────┘                   └─────────────────┬────────────────┘
                                 │                                                  │
                                 └───────────────────────┐      ┌───────────────────┘
                                                         │      │
                                                         v      v
                                                  ┌───────────────────┐
                                                  │arduino-timer-three│
                                                  └───────────────────┘