Just to mention, got the error after adding a new c++ class to my existing sources and forgot by pasting in the code from an other project to fix the “YOURMODULENAME_API” - which caused the same error messages 
4 Likes