You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading to imgui 1.89.3 and latest implot does build fine but CppSharp is having a hard time generating the bindings:
Running DearImGui.Generator
Generation starting...
Generating for X86 in C:\Users\aybe\source\repos\DearImGui\DearImGui.Generator\bin\Debug\net6.0\X86\ImGui.cs...
Parsing libraries...
Parsing code...
Parsed 'imgui.h'
Processing code...
Removed 3 passes of type CppSharp.Passes.CheckIgnoredDeclsPass in PreprocessPasses
Removed 1 passes of type CppSharp.Passes.CleanCommentsPass in PreprocessPasses
Changed usage to 'InOut' for parameter 'mouse_pos' in function 'IsMousePosValid'.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at DearGenerator.Library.Ignore(ASTContext ctx, String className, String memberName, IgnoreType ignoreType) in C:\Users\aybe\source\repos\DearImGui\DearGenerator\Library.cs:line 53
at DearGenerator.Library.PreprocessIgnores(ASTContext ctx) in C:\Users\aybe\source\repos\DearImGui\DearGenerator\Library.cs:line 212
at DearGenerator.Library.Preprocess(Driver driver, ASTContext ctx) in C:\Users\aybe\source\repos\DearImGui\DearGenerator\Library.cs:line 285
at CppSharp.ConsoleDriver.Run(ILibrary library)
at DearGenerator.CodeGenerator.Generate(String module, String sourceDirectory, String targetDirectory, CodeGeneratorFactory factory, CodeGeneratorTransform transform) in C:\Users\aybe\source\repos\DearImGui\DearGenerator\CodeGenerator.cs:line 352
at DearGenerator.CodeGenerator.Generate(String module, String sourceDirectory, String targetDirectory, CodeGeneratorFactory factory, CodeGeneratorTransform transform) in C:\Users\aybe\source\repos\DearImGui\DearGenerator\CodeGenerator.cs:line 361
at DearImGui.Generator.Program.Main() in C:\Users\aybe\source\repos\DearImGui\DearImGui.Generator\Program.cs:line 9
at DearImGui.Generator.Program.<Main>()
Aborting, last command failed with error code -532462766
The text was updated successfully, but these errors were encountered:
It's erroring cause it's trying to ignore something that doesn't exist anymore it seems, commenting it out works.
I managed to update it to latest ImGui, just had to comment a few ignore lines.
Upgrading to imgui 1.89.3 and latest implot does build fine but CppSharp is having a hard time generating the bindings:
The text was updated successfully, but these errors were encountered: