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
the function call in the last line GetSupportedSchemaVersions does not exist - __target is of type CNodeMapRef, but GetSupportedSchemaVersions only exists in CNodeMapFactory
OS: up2date Windows 11, net7
Used headers
GenICam.h from Reference Implementation\GenICam_V3_4_1-Win64_x64_VC141-Release-SDK\library\CPP\include in the ZIP linked above
Not sure if it's too complex for auto wrapping, just looks like there's some bugs/edge cases in CppSharp. I don't really have time to help you troubleshoot these at the moment, if you want to see these fixed earlier you can try to debug the generator yourself, and/or try to come up with isolated test cases for these issues, that will increase the probability of them being fixed soon significantly.
Brief Description
I am trying to wrap the GenICam reference implementation https://www.emva.org/wp-content/uploads/GenICam_Package_2023.07.zip.
The generated code won't compile.
After wrapping, the file
IPortStacked.cs
contains the same definition twice for an overload:Additionally, some functions are missing:
In
NodeMapRef.cs
the function call in the last line
GetSupportedSchemaVersions
does not exist -__target
is of typeCNodeMapRef
, butGetSupportedSchemaVersions
only exists inCNodeMapFactory
OS: up2date Windows 11, net7
Used headers
GenICam.h
fromReference Implementation\GenICam_V3_4_1-Win64_x64_VC141-Release-SDK\library\CPP\include
in the ZIP linked aboveUsed settings
Target: MSVC
Other settings
Stack trace or incompilable generated code
It's over 20k lines of generated code, see attached sample project:
GeniCamWrapperTest\GenicamUsageTest\GenICam\*.cs
GeniCamWrapperTest.zip
Am I just missing some settings I need to tweak? Or is a large library like GenICam just to complex for auto-wrapping?
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: