I’m trying to use FXGen to generate an fx for third party library. One of the header files includes <string> I’ve tried various combinations but I cannot get HeaderImporter via FXGen to parse the file.
Under the Mac OSX 10.10 sdk the header is in the usr include folder “c++/4.2.1” and the ++ in the path seems to cause issue with HeaderImporter.
Any tips on importing a project using the std C++ headers would be appreciated.
Header Importer does not currently support C++ (supporting it would be close to impossible with all the quircks of c++ like multiple inheritance, the ever changing abi, templates). Does this library you are trying to import only support c++ or does it also have a c or objc header?
The issue isn’t that you can’t use anything written in c++, the issue is that it doesn’t support c++ headers. For example some libraries are c++ but also have c specific headers, those do work and can be imported.