-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you provide a cmake example including your library #34
Comments
Can you please give us some more info about the environment you plan to use the library in? IDE, SDK, Platform, Hardware? |
Yes sorry I posted my question in a bad mood with no real hopes of answers, thank you for your fast reply though. I am building it on Ubuntu and I am currently trying to use the library at it's minimal capabilities, which would be to turn all channels on thanks to a main file calling the library. The real problem is that I am totally new to cmake (I used visual studio before to build my c++ projects) and even with cmake tutorials, there is something I am missing... I do include the .cmake file that is furnished with the library in my main CMakeLists but the building still don't find the DmxOutput.h. Here is the error: And here is my CMake file: include($ENV{PICO_SDK_PATH}/pico_sdk_init.cmake) project(test_project C CXX ASM) set(CMAKE_CXX_STANDARD 17) pico_sdk_init() include($ENV{HOME}/pico/libraries/Pico-DMX/interfaceLibForPicoSDK.cmake) add_executable(test_project target_link_libraries(test_project pico_stdlib hardware_pio hardware_dma) pico_add_extra_outputs(test_project)"_ |
try and add picodmx to your linked libraries |
Did the answer from @unitware solve the issue @karamandrew ? |
Hello, I have been struggling a while to include your library. New issues appeared everywhere using the sdk.
The text was updated successfully, but these errors were encountered: