[FFmpeg-trac] #9043(build system:new): Can't Build on Windows with MSVC
FFmpeg
trac at avcodec.org
Thu Dec 24 17:44:04 EET 2020
#9043: Can't Build on Windows with MSVC
-------------------------------------+-------------------------------------
Reporter: ms2010 | Type: defect
Status: new | Priority: normal
Component: build | Version:
system | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I am trying to build FFMPEG on Windows with MSVC.
I have managed to setup the environment in order to configure
successfully, but make doesn't work.
From x64 Native Tools Command Prompt for VS 2019 I run
{{{msys2_shell.cmd -use-full-path}}}
and from msys2_shell.cmd I go to the ffmpeg folder and run
{{{mingw32-make}}}
which outputs:
{{{$ mingw32-make Q=
mkdir -p libavutil/
mkdir -p libswscale/
mkdir -p libswresample/
mkdir -p libavcodec/
mkdir -p libavformat/
mkdir -p libavfilter/
mkdir -p libavdevice/
awk: cmd. line:1: /including/ { sub(/^.*file: */, ""); gsub(/\/, "/"); if
(!match($0, / /)) print "libavdevice/alldevices.o:", $0 }
awk: cmd. line:1:
^ syntax error
awk: cmd. line:1: /including/ { sub(/^.*file: */, ""); gsub(/\/, "/"); if
(!match($0, / /)) print "libavdevice/alldevices.o:", $0 }
awk: cmd. line:1:
^ unterminated string
ffbuild/common.mak:67: recipe for target 'libavdevice/alldevices.o' failed
mingw32-make: *** [libavdevice/alldevices.o] Error 1
}}}
Some more info:
{{{$ mingw32-make --version
GNU Make 3.82.90
Built for i686-pc-mingw32
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.}}}
FFMPEG snapshot version N-100459-ga7f9b3b
Any suggestions?
Thanks!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9043>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list