Skip to content
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

Help with c++ #50

Open
sticckky1 opened this issue Jun 8, 2023 · 2 comments
Open

Help with c++ #50

sticckky1 opened this issue Jun 8, 2023 · 2 comments

Comments

@sticckky1
Copy link

Hello! , Absolutely love your work! Thankyou for making this. I have this working well with the arduinoIDE but i need to get it working in VScode on the pico. Do you have any suggestions for me at all? I'm very new to Cmake. I am able to struggle through code with an example, but i am failing at adding your library to my current project.
Every time i incluide the DmcOutput.h or .cpp files it tells me i'm missing dma.h or pio.h

Thanks for any help you can provide.

@jostlowe
Copy link
Owner

jostlowe commented Jun 8, 2023

Unfortunately I'm absolutely rubbish with CMake myself!

Maybe @kripton who added the CMake support for this library can shed some light on your situation?

@opsnlops
Copy link

opsnlops commented Jun 8, 2023

Here's how I do it, if it helps: https://github.com/opsnlops/parrot-controller/blob/main/CMakeLists.txt#L17

I use CLion on macOS, but it should work the same in VSCode. It works from the command line with just cmake directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants