Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
37e6e6d3
Commit
37e6e6d3
authored
Jul 08, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Explain how to regenerate import libraries with MSVC tools
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
b8272cc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
general.texi
doc/general.texi
+28
-0
No files found.
doc/general.texi
View file @
37e6e6d3
...
...
@@ -970,6 +970,34 @@ required when using import libraries generated by lib.exe.
This issue is reported upstream at
@url
{
http:
//
sourceware.org
/
bugzilla
/
show
_
bug.cgi?id
=
12633
}
.
To create import libraries that work with the @code
{
/
OPT:REF
}
option
(
which is enabled by default in Release mode
)
, follow these steps:
@enumerate
@item Open @file
{
Visual Studio
2005
Command Prompt
}
.
Alternatively, in a normal command line prompt, call @file
{
vcvars
32
.bat
}
which sets up the environment variables for the Visual C
++
tools
(
the standard location for this file is
@file
{
C:
\Program
Files
\Microsoft
Visual Studio
8
\VC\bin\vcvars
32
.bat
}
)
.
@item Enter the @file
{
bin
}
directory where the created LIB and DLL files
are stored.
@item Generate new import libraries with @file
{
lib.exe
}
:
@example
lib
/
machine:i
386
/
def:..
\lib\avcodec
-
53
.def
/
out:avcodec.lib
lib
/
machine:i
386
/
def:..
\lib\avdevice
-
53
.def
/
out:avdevice.lib
lib
/
machine:i
386
/
def:..
\lib\avfilter
-
2
.def
/
out:avfilter.lib
lib
/
machine:i
386
/
def:..
\lib\avformat
-
53
.def
/
out:avformat.lib
lib
/
machine:i
386
/
def:..
\lib\avutil
-
51
.def
/
out:avutil.lib
lib
/
machine:i
386
/
def:..
\lib\swscale
-
2
.def
/
out:swscale.lib
@end example
@end enumerate
@anchor
{
Cross compilation for Windows with Linux
}
@subsection Cross compilation for Windows with Linux
...
...
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