cisco / openh264

Open Source H.264 Codec
BSD 2-Clause "Simplified" License
5.45k stars 1.77k forks source link

fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' #3202

Open mczarnek opened 4 years ago

mczarnek commented 4 years ago

I'm trying to build gstreamer including openh264 using meson, then ninja.

When I'm running ninja, I get the following errors. Any advice? Happy to include more info such as the complete build log related to openh264.

[3252/3601] Linking static target subprojects/openh264/codec/common/libcommon.a. FAILED: subprojects/openh264/codec/common/libcommon.a lib "/NOLOGO" /MACHINE:x64 /OUT:subprojects/openh264/codec/common/libcommon.a @subprojects/openh264/codec/common/libcommon.a.rsp subprojects\openh264\codec\common\8b33b39@@common@sta\cpuid.o : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' [3256/3601] Compiling C object subprojects/gst-plugins-bad/ext/webrtc/4b7a407@@gstwebrtc@sha/webrtcdatachannel.c.obj. ../subprojects/gst-plugins-bad/ext/webrtc/webrtcdatachannel.c(50): warning C4273: 'gst_webrtc_data_channel_get_type': inconsistent dll linkage C:\gstreamer\gst-build\subprojects\gst-plugins-bad\ext\webrtc\webrtcdatachannel.h(31): note: see previous definition of 'gst_webrtc_data_channel_get_type' [3261/3601] Compiling C++ object subprojects/openh264/codec/decoder/14b7291@@decoder@sta/core_src_deblocking.cpp.obj. ninja: build stopped: subcommand failed.

DopeforHope commented 4 years ago

What kind of hardware are you using? Sounds like a 32-bit processor which my not be supported