<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><B>From:</B> <A title=john.orr@scala.com
href="mailto:john.orr@scala.com">John Orr</A> </DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=libav-user@ffmpeg.org
href="mailto:libav-user@ffmpeg.org">libav-user@ffmpeg.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, March 12, 2013 3:08 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Libav-user] Building with
MSVC toolchain resulting inseekingproblem?</DIV>
<DIV><BR></DIV>
<DIV class=moz-cite-prefix>On 3/12/2013 2:51 PM, Don Moir wrote:</DIV>
<DIV class=moz-cite-prefix> </DIV>
<DIV class=moz-cite-prefix>>>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>>It mostly works for me when I disabled Frame
Pointer Omission: <STRONG>/Oy-</STRONG> <BR><BR><FONT face=Arial
size=2>></FONT><A class=moz-txt-link-freetext
href="http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.100).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></DIV>
<DIV class=moz-cite-prefix><FONT face=Arial size=2>></FONT><A
class=moz-txt-link-freetext
href="http://msdn.microsoft.com/en-us/library/958x11bc(v=vs.100).aspx">http://msdn.microsoft.com/en-us/library/958x11bc%28v=vs.100%29.aspx</A><BR><BR>>The
configuration script seem to generate both -Oy and -Oy- flags (as well as both
-Zi and -Z7),</DIV>
<DIV class=moz-cite-prefix>>so, in config.mak, I had to manually remove -Oy
and -Z7 from CFLAGS and replace -Z7 in config.mak with -Zi.</DIV>
<DIV class=moz-cite-prefix>>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. </DIV>
<DIV class=moz-cite-prefix>>Sometimes it does not see the local
variables.</DIV>
<DIV class=moz-cite-prefix> </DIV>
<DIV class=moz-cite-prefix><FONT face=Arial size=2>Thanks John. Maybe this
should be added to the documentation somewhere or other steps taken based on
this.</FONT></DIV></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT><BR> </DIV></BODY></HTML>