[Libav-user] Using zeranoe libavcodec build in visual studio 2008

"René J.V. Bertin" rjvbertin at gmail.com
Wed Feb 20 19:31:43 CET 2013


On Feb 20, 2013, at 14:59, Imran Khan wrote:

> release version then it compiles fine but while running it is showing
> error as "The procedure entry point CoCreateInstance could not be located
> in the dynaminc link library avcodec-54.dll" Can any one please help me to
> solve this issue.
> -- 

Have you read the docs on ffmpeg.org on how to use the libraries from MSVC? If your code builds in Debug mode but not in Release mode, you most likely have the use of linker references activated. Go over the linker settings for your Release configuration, you'll find it as the 1st option, I think on the Advanced page (well, it's the 1st line in MSVC 2010). Deactivate it, and you'll probably be fine.
(I'm a bit surprised though, I simply had inexplicable crashes...)

R.



More information about the Libav-user mailing list