Description
Brief Description
We are attempting to use CppSharp to bind Pixar's USD library to C# to hopefully enable a great development environment for USD in C#
On first pass, we got about a 50% success rate, almost all the failures were here:
Parser.cpp line 884
These fatal parsing errors prevent us from generating any output, but I have unable to identify what specifically is breaking at this point. Any help identifying how we can avoid this error would be awesome! I've been very happy with what we've been able to generate successfully...
OS: Windows 10
Used headers
pxr/usd/sdf/path.h
pxr/usd/usd/prim.h
pxr/usd/usd/stage.h
these are three examples, representing a lot of core USD functionality
Used settings
DriverOptions options = driver.Options;
options.GeneratorKind = GeneratorKind.CSharp;
options.Verbose = true;
options.GenerationOutputMode = GenerationOutputMode.FilePerUnit;
Other settings
USD was exported with the cmake flag set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
which is important for getting all the mangled names exported for bindings, but not needed for these parsing errors