-
Notifications
You must be signed in to change notification settings - Fork 533
Closed
Description
I've had trouble with building and using this on OSX. Ultimately I have compiled the projects, but I have problems with unresolved symbols for ASTContext (_ZN8CppSharp9CppParser3AST10ASTContextC2Ev). The constructor is not defined in AST.h, so I'm not sure how this was generated in AST.cs. I can go and add in an empty constructor for ASTContext, but then I get some other errors due to null values somewhere...
Does anyone have some clearer instructions on how to get the OSX build up?
Unhandled Exception:
System.NotSupportedException: Original pointer must not be null
at CppSharp.DeclConverter.Visit (CppSharp.Parser.AST.Declaration decl) [0x00000] in <filename unknown>:0
at CppSharp.DeclConverter.VisitDeclaration (CppSharp.Parser.AST.Declaration decl, CppSharp.AST.Declaration _decl) [0x00000] in <filename unknown>:0
at CppSharp.DeclConverter.VisitTranslationUnit (CppSharp.Parser.AST.TranslationUnit decl) [0x00000] in <filename unknown>:0
at CppSharp.DeclVisitor`1[CppSharp.AST.Declaration].Visit (CppSharp.Parser.AST.Declaration decl) [0x00000] in <filename unknown>:0
at CppSharp.DeclConverter.Visit (CppSharp.Parser.AST.Declaration decl) [0x00000] in <filename unknown>:0
at CppSharp.ASTConverter.Convert () [0x00000] in <filename unknown>:0
at CppSharp.ClangParser.ConvertASTContext (CppSharp.Parser.AST.ASTContext context) [0x00000] in <filename unknown>:0
at CppSharp.Driver.ParseCode () [0x00000] in <filename unknown>:0
at CppSharp.ConsoleDriver.Run (ILibrary library) [0x00000] in <filename unknown>:0
at Crap.Test+Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Metadata
Metadata
Assignees
Labels
No labels