<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 3/12/2013 2:51 PM, Don Moir wrote:<br>
</div>
<blockquote cite="mid:E962944E3C534D8A93251C38E29A4292@MANLAP"
type="cite"><br>
The main motivation for using MSVC to build ffmpeg at this point
for me would be to be able to debug ffmpeg from MSVC. Does this
work or not ?
<br>
<br>
</blockquote>
<br>
It mostly works for me when I disabled Frame Pointer Omission: <strong>/Oy-</strong>
<br>
<br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/2kxx5t2c%28v=vs.100%29.aspx">http://msdn.microsoft.com/en-us/library/2kxx5t2c%28v=vs.100%29.aspx</a><br>
<br>
I also set the debug information format to use PDB: /Zi<br>
<br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/958x11bc%28v=vs.100%29.aspx">http://msdn.microsoft.com/en-us/library/958x11bc%28v=vs.100%29.aspx</a><br>
<br>
<br>
The configuration script seem to generate both -Oy and -Oy- flags
(as well as both -Zi and -Z7), so, in config.mak, I had to manually
remove -Oy and -Z7 from CFLAGS and replace -Z7 in config.mak with
-Zi. I don't yet understand the configuration script well enough to
know how to fix that properly, so I did it manually.<br>
<br>
The Visual Studio 2010 debugger is able to navigate through calls
through the ffmpeg dlls this way. Sometimes it does not see the
local variables.<br>
<br>
<br>
<blockquote cite="mid:E962944E3C534D8A93251C38E29A4292@MANLAP"
type="cite">Another motivation might be to get static link builds
to work instead of DLL. Anyone know if that works ? static link
builds from cross-compile linux have link problems when linking in
MSVC. I was able to get a static link to work with a minimal build
but it was always something so gave up on it.
<br>
<br>
</blockquote>
<br>
Sorry, I didn't try that.<br>
<br>
--Johno<br>
<br>
</body>
</html>