Error creating C++ Custom Metasounds Node

I’m trying to create a custom node based of an existing node but I get a “cannot define dllimport entity”.

If added some Metasounds modules to my Build.cs and I can now read the .h but for some reason the .dll are not referenced.

Within one of the .h files I’m getting the errors from line 53 and 50.

The current Node I’ve created is an exact copy of the CompareNode so there should be no issues within the body.

Anyone has any suggestions? Thanks!

Fixed, thanks!

For anyone stumbling on this thread from Google like me and dealing with the same problem, the issue is that METASOUNDSTANDARDNODES_API is passed as the module API to the DECLARE_METASOND_ENUM macro. It needs to be changed to the API name of your current module.