ChinnaSuhas / ossbuild

Automatically exported from code.google.com/p/ossbuild
Other
0 stars 1 forks source link

gstreamer-sharp has incorrect library names resulting in EntryPointNotFoundExceptions #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please see this thread for more information:

https://forja.rediris.es/forum/forum.php?thread_id=5147&forum_id=1624

The basic error reported was:

I'm getting a System.EntryPointNotFoundException in gstreamer-sharp.dll.

I started building the samples that came with the gstreamer bindings
tarball. This particular one TransformSample.cs, reproduced here:
http://pastebin.com/mKTEWUpS.

When the exception occurs, Visual Studio opens the file VideoUtil.custom,
reproduced here: http://pastebin.com/xsn6jd5E, and points to line 30.

Here is the stack trace:

gstreamer-sharp.dll!Gst.Video.VideoUtil.FormatToTemplateCaps(Gst.Video.VideoForm
at
fmt = BGRX) Line 30 C#
TransformSampleDemo.exe!TransformSample.Register() Line 19 + 0x20 bytes C#
TransformSampleDemo.exe!TransformSample.Main(string[] args = {string[0]})
Line 103 + 0x5 bytes C#
[Native to Managed Transition]
[Managed to Native Transition]
mscorlib.dll!System.AppDomain.ExecuteAssembly(string assemblyFile,
System.Security.Policy.Evidence assemblySecurity, string[] args) + 0x3a bytes
Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.Hosti
ngProcess.HostProc.RunUsersAssembly()
+ 0x2b bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object
state) + 0x66 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionCon
text
executionContext, System.Threading.ContextCallback callback, object state)
+ 0x6f bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44 bytes

I used dumpbin to inspect the exports from gstreamersharpglue-0.10.dll and
the function that is called on that line is not exported. This is the list
of modules exported by gstreamersharpglue-0.10.dll:
http://pastebin.com/DKk5MjTa

Original issue reported on code.google.com by david.g.hoyt on 18 Mar 2010 at 8:39

GoogleCodeExporter commented 9 years ago
Should be fixed as of r542.

Original comment by david.g.hoyt on 18 Mar 2010 at 9:38