Compiling ffmpeg under Windows with MSVC

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Compiling ffmpeg under Windows with MSVC

Wolfgang Hugemann
I am trying to follow the instructions given at

The MS version of cl.exe and link.exe need a lot of environment
variables to be set, wich is usually done in a cmd shell via the
vcvarsall batch file.

But the config script that comes with ffmpeg needs to be run in bash. So
how exactly do I set up the needed environment for cl and link? I ran
the vcvarsall batch file in the bash, calling cmd from the bash an than
executing vcvarsall, getting back to the bash via exit. But that didn't
help: The MS linker stops with an error that obvioasly results from
lacking environment variables:

LINK : fatal error LNK1104: file "LIBCMT.lib" could not be openedn

What I am getting wrong here?

Wolfgang Hugemann
ffmpeg-user mailing list
[hidden email]

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".