From: John Orr 

To: [email protected] 
Sent: Tuesday, March 12, 2013 3:08 PM
Subject: Re: [Libav-user] Building with MSVC toolchain resulting 
inseekingproblem?


On 3/12/2013 2:51 PM, Don Moir wrote:

>>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 ? 

>It mostly works for me when I disabled Frame Pointer Omission: /Oy- 

>http://msdn.microsoft.com/en-us/library/2kxx5t2c%28v=vs.100%29.aspx

>I also set the debug information format to use PDB: /Zi

>http://msdn.microsoft.com/en-us/library/958x11bc%28v=vs.100%29.aspx

>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.

>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.

Thanks John. Maybe this should be added to the documentation somewhere or other 
steps taken based on this.


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to