[FFmpeg-trac] #349(undetermined:open): MingW32 Cross Compile of FFMPEG Fails
FFmpeg
trac at avcodec.org
Thu Jun 28 21:44:05 CEST 2012
#349: MingW32 Cross Compile of FFMPEG Fails
-------------------------------------+-------------------------------------
Reporter: jlsantiago0 | Owner:
Type: defect | Status: open
Priority: important | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by KSHawkEye):
Replying to [comment:7 dbuitenh]:
> The problem is that configure should be calling the prefixed dlltool,
and not "lib.exe". Libav's configure does this, but FFMpeg's does not, for
some reason.
Looks like they use:
{{{
SLIB_EXTRA_CMD=-'$(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def) -l
$(SUBDIR)$(SLIBNAME:$(SLIBSUF)=.lib) -D $(SLIBNAME_WITH_MAJOR)'
}}}
I second that we move over to dlltool if it can be used to create the .lib
files.
I now recommend a cross compile environment to people wondering how to
compile FFmpeg, and installing wine+Microsoft C++ Redistributable
packages+lib.exe is a lot more work than simply using a MinGW-w64 dlltool.
If dlltool can create compatible .lib files, I strongly suggest using it.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/349#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list