Removing math.h for plugin

OS: Windows 11

Environment: using the presented environment setup in the tutorial

I have my own math.h library and would like to avoid including math.h for the plugin. How could I go about achieving this? Can I exclude the math.h library only for the plugin side of things instead of removing it completely from the RACK SDK?

Thanks :slight_smile:

Nothing stopping you simply renaming the file and #include it as normal.

Yes but itโ€™s more regarding overlap of types and templates I have. The file name is already different.

No need to rename your file, just #include "math.h" All functions in Rackโ€™s math header are namespaced under rack::, so calling your functions should be unambiguous.

1 Like