Re: The new C# API
Posted: Sat Dec 24, 2022 4:45 am
I follow the new api document build my first console app on Linux (Oracle Linux 9), I got a error message when just run this statement :IOaManager myManager = OaSdk.CreateManager();
some one can help me? thank you.
Code: Select all
Exception has occurred: CLR/System.TypeInitializationException
An unhandled exception of type 'System.TypeInitializationException' occurred in ETM.WCCOA.Interop.dll: 'The type initializer for 'ETM.WCCOA.Internal.CSharpBridgePINVOKE' threw an exception.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.DllNotFoundException : Unable to load shared library 'CsCoreBridgeV319' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libCsCoreBridgeV319: cannot open shared object file: No such file or directory
at ETM.WCCOA.Internal.CSharpBridgePINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_CSharpBridge(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
at ETM.WCCOA.Internal.CSharpBridgePINVOKE.SWIGExceptionHelper..cctor()