Linking to 64 bit windows build

Aaron Boxer boxerab at gmail.com
Thu Dec 27 18:25:55 UTC 2018


Thanks. It was actually a problem with my PATH.


On Thu, Dec 27, 2018 at 10:48 AM Daniel Johnson <teknotus at gmail.com> wrote:

> Yeah I got a 64 bit build of a very simple test application written in c
> to work using visual studio 2017 community edition around a two weeks ago.
> Unfortunately that computer is at warranty repair right now so I can't
> easily drop it in here as a working example. I had to hand translate the
> .pc files into the build config. Then I edited the project file and built
> it from the command line. The guide is from an old version of Visual Studio
> and didn't work for me so I stumbled through it. I'm a Linux programmer so
> it's foreign to me, but the project file itself feels like an XML Makefile
> so it kinda made sense.
>
> On Thu, Dec 27, 2018, 8:26 AM Aaron Boxer <boxerab at gmail.com wrote:
>
>> Dear GStreamers,
>>
>> Has anyone successfully linked a 64 bit application to the 64 bit windows
>> dlls ?
>>
>> I have a 64 bit C# app linking to a 64 bit CLR dll, which in turn links
>> to the 64 bit gstreamer dlls.
>> I get the following runtime error:
>>
>> System.BadImageFormatException: 'Could not load file or assembly
>> 'FOO.dll' or one of its dependencies. is not a valid Win32 application.
>> (Exception from HRESULT: 0x800700C1)'
>>
>> So, it seems that 64 bit libgstreamer.dll has a 32 bit dependency ?
>>
>> Works fine in 32 bit mode, or in 64 bit if I remove the gstreamer
>> dependencies.
>>
>> Thanks,
>> Aaron
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181227/a0656cb1/attachment.html>


More information about the gstreamer-devel mailing list