Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
6b7df142
Commit
6b7df142
authored
Nov 23, 2015
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Document better how to use MSYS2
parent
8375dc1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
platform.texi
doc/platform.texi
+27
-4
No files found.
doc/platform.texi
View file @
6b7df142
...
...
@@ -101,20 +101,43 @@ Notes:
@itemize
@item Building natively using MSYS
2
can be sped up by disabling implicit rules
in the Makefile by calling @code
{
make
-
r
}
instead of plain @code
{
make
}
. This
@item Native MSYS building is discouraged, MSYS
2
provides a full mingw
-
w
64
environment through @file
{
mingw
64
_
shell.bat
}
or @file
{
mingw
32
_
shell.bat
}
that should be used instead of the environment provides by
@file
{
msys
2
_
shell.bat
}
.
@item Building using MSYS
2
can be sped up by disabling implicit rules in the
Makefile by calling @code
{
make
-
r
}
instead of plain @code
{
make
}
. This
speed up is close to non
-
existent for normal one
-
off builds and is only
noticeable when running make for a second time
(
for example during
@code
{
make install
}
)
.
@item In order to compile
AVplay, you must have the MinGW development library
of @uref
{
http:
//
www.libsdl.org
/
, SDL
}
and @code
{
pkg
-
config
}
installed.
@item In order to compile
@command
{
avplay
}
, you must have the MinGW development
library
of @uref
{
http:
//
www.libsdl.org
/
, SDL
}
and @code
{
pkg
-
config
}
installed.
@item By using @code
{
.
/
configure
--
enable
-
shared
}
when configuring Libav,
you can build all libraries as DLLs.
@end itemize
@subsection Native Windows compilation using MSYS
2
The MSYS
2
MinGW
-
w
64
environment provides ready to use toolchains and dependencies
through @command
{
pacman
}
.
Make sure to use @file
{
mingw
64
_
shell.bat
}
or @file
{
mingw
32
_
shell.bat
}
to have
the correct MinGW
-
w
64
environment.
@example
# normal msys
2
packages
pacman
-
S make pkgconf diffutils
# mingw
-
w
64
packages and toolchains
pacman
-
S mingw
-
w
64
-
x
86
_
64
-
yasm mingw
-
w
64
-
x
86
_
64
-
gcc mingw
-
w
64
-
x
86
_
64
-
SDL
@end example
To target
32
bit replace the @code
{
x
86
_
64
}
with @code
{
i
686
}
in the command above.
@section Microsoft Visual C
++
or Intel C
++
Compiler for Windows
Libav can be built with MSVC
2012
or earlier using a C
99
-
to
-
C
89
conversion utility
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment