Open nsc-de opened 1 year ago
If you import the library using interfaceLibForPicoSDK.cmake the api was not able to access hardware/pio.h
interfaceLibForPicoSDK.cmake
hardware/pio.h
[Error thrown]
./dependencies/pico-dmx/src/DmxOutput.h:18:12: fatal error: hardware/pio.h: No such file or directory 18 | #include "hardware/pio.h"
Error is resolved by adding the library to the picodmx interface
target_sources(picodmx INTERFACE ${CMAKE_CURRENT_LIST_DIR}/src/DmxInput.cpp ${CMAKE_CURRENT_LIST_DIR}/src/DmxOutput.cpp )
If you import the library using
interfaceLibForPicoSDK.cmake
the api was not able to accesshardware/pio.h
[Error thrown]
Error is resolved by adding the library to the picodmx interface