Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
fa515c20
Commit
fa515c20
authored
11 years ago
by
Derek Buitenhuis
Browse files
Options
Downloads
Patches
Plain Diff
doc/platform: Update to reflect current MSVC build situation
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
10421bcf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/platform.texi
+15
-9
15 additions, 9 deletions
doc/platform.texi
with
15 additions
and
9 deletions
doc/platform.texi
+
15
−
9
View file @
fa515c20
...
@@ -103,14 +103,16 @@ you can build all libraries as DLLs.
...
@@ -103,14 +103,16 @@ you can build all libraries as DLLs.
@section Microsoft Visual C
++
or Intel C
++
Compiler for Windows
@section Microsoft Visual C
++
or Intel C
++
Compiler for Windows
Libav can be built with MSVC
or ICL
using a C
99
-
to
-
C
89
conversion utility
and
Libav can be built with MSVC
2012
or earlier
using a C
99
-
to
-
C
89
conversion utility
wrapper
. For ICL, only the wrapper is used, since ICL supports C
99
.
and
wrapper
, or with MSVC
2013
and ICL natively
.
You will need the following prerequisites:
You will need the following prerequisites:
@itemize
@itemize
@item @uref
{
https:
//
github.com
/
libav
/
c
99
-
to
-
c
89
/
, C
99
-
to
-
C
89
Converter
&
Wrapper
}
@item @uref
{
https:
//
github.com
/
libav
/
c
99
-
to
-
c
89
/
, C
99
-
to
-
C
89
Converter
&
Wrapper
}
(
if using MSVC
2012
or earlier
)
@item @uref
{
http:
//
code.google.com
/
p
/
msinttypes
/
, msinttypes
}
@item @uref
{
http:
//
code.google.com
/
p
/
msinttypes
/
, msinttypes
}
(
if using MSVC
2012
or earlier
)
@item @uref
{
http:
//
www.mingw.org
/
, MSYS
}
@item @uref
{
http:
//
www.mingw.org
/
, MSYS
}
@item @uref
{
http:
//
yasm.tortall.net
/
, YASM
}
@item @uref
{
http:
//
yasm.tortall.net
/
, YASM
}
@item @uref
{
http:
//
gnuwin
32
.sourceforge.net
/
packages
/
bc.htm, bc for Windows
}
if
@item @uref
{
http:
//
gnuwin
32
.sourceforge.net
/
packages
/
bc.htm, bc for Windows
}
if
...
@@ -120,14 +122,16 @@ you want to run @uref{fate.html, FATE}.
...
@@ -120,14 +122,16 @@ you want to run @uref{fate.html, FATE}.
To set up a proper environment in MSYS, you need to run @code
{
msys.bat
}
from
To set up a proper environment in MSYS, you need to run @code
{
msys.bat
}
from
the Visual Studio or Intel Compiler command prompt.
the Visual Studio or Intel Compiler command prompt.
Place @code
{
makedef
}
, @code
{
c
99
wrap.exe
}
, @code
{
c
99
conv.exe
}
, and @code
{
yasm.exe
}
Place @code
{
yasm.exe
}
somewhere in your @code
{
PATH
}
. If using MSVC
2012
or
somewhere in your @code
{
PATH
}
.
earlier, place @code
{
c
99
wrap.exe
}
and @code
{
c
99
conv.exe
}
somewhere in your
@code
{
PATH
}
as well.
Next, make sure @code
{
inttypes.h
}
and any other headers and libs you want to use
Next, make sure any other headers and libs you want to use, such as zlib, are
are located in a spot that the compiler can see. Do so by modifying the @code
{
LIB
}
located in a spot that the compiler can see. Do so by modifying the @code
{
LIB
}
and @code
{
INCLUDE
}
environment variables to include the @strong
{
Windows
}
paths to
and @code
{
INCLUDE
}
environment variables to include the @strong
{
Windows
-
style
}
these directories. Alternatively, you can try and use the
paths to these directories. Alternatively, you can try and use the
@code
{
--
extra
-
cflags
}
/
@code
{
--
extra
-
ldflags
}
configure options.
@code
{
--
extra
-
cflags
}
/
@code
{
--
extra
-
ldflags
}
configure options. If using MSVC
2012
or earlier, place @code
{
inttypes.h
}
somewhere the compiler can see too.
Finally, run:
Finally, run:
...
@@ -177,7 +181,9 @@ can see.
...
@@ -177,7 +181,9 @@ can see.
@itemize
@itemize
@item Visual Studio
2010
Pro and Express
@item Visual Studio
2010
Pro and Express
@item Visual Studio
2012
Pro and Express
@item Visual Studio
2012
Pro and Express
@item Visual Studio
2013
Pro and Express
@item Intel Composer XE
2013
@item Intel Composer XE
2013
@item Intel Composer XE
2013
SP
1
@end itemize
@end itemize
Anything else is not officially supported.
Anything else is not officially supported.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment