How do I best deal with my library depending on other libraries?
in
Library and Tool Development
•
2 months ago
Hi!
My library depends on oscP5, and I was wondering what the best way would be for dealing with this:
If I don't include oscP5 as a dependency, my library won't work, giving a message in the console that oscP5is missing. Which is use friendly enough.
I could alternatively include oscP5 in the zip of my library, but then that creates conflicts if the user has oscP5 in his own libraries folder, and one will need to be removed, again giving an error message.
Ideally there'd be a way where I name the libraries my library depends on in the library.properties file, so that these are automatically downloaded as needed.
For now however I haven't seen any info on how to best eal with this in the docs - although of course I might have just missed it :)
Thanks!
Ilias B.
1