From: Ozkan S. <se...@gm...> - 2012-06-20 08:49:27
|
On Tue, Jun 19, 2012 at 6:10 PM, Zigas, Noah <NZ...@mi...> wrote: > Hi All, > > I’ve been developing an application using MinGW64 and Eclipse. I go back > and forth between Windows and Linux. > > I’m trying to link with a 3rd party library (the Matrox Imaging Library) for > video capture. My initial attempts with the full program fail with an > Access Violation, 0xc0000005. > I assume you are linking using a vendor-provided 64 bit *.lib ? If yes, that is unsupported. You must generate a corresponding *.dll.a file from the *.dll, first by running gendef on the dll and then running dlltool on the def, and then use the *.dll.a instead. > My next test was a very simple one line test that initializes the Matrox > library. That also fails with the same error. I ran the small test through > VC2008 as a comparison and it works fine. > > gdb doesn’t seem to yield any useful results; it just notes a segfault in > the library. > > Am I missing a compile / link flag that would account for something like > this? I’ve tried different optimizations and toggled the debug flag with no > difference. > > I’m running Win7 64 bit on standard hardware. > > Any help would be greatly appreciated. > > Thanks, > > Noah -- O.S. |