I started writing a video playback app. ages ago and have been using (the horrid) wmv libraries to decode the video files. I would prefer to use libavformat/libavcodec, but I cannot get them to link against my code in Visual Studio. I generated the .lib files as suggested in the ffmpeg docs. and my code compiled fine, but when it tries to link some functions (udivdi3, divdi3, alloca) are missing. Does anybody know where I can find any documents or examples of linking the ffmpeg libraries in a Visual studio .net environment? I have just spent a whole morning searching the web for soultions and cannot find the answer. Apologies, but I can't post the exact messages at the moment as I am at work and this project is at home. Many thanks, Chris
you maybe link the libgcc.a which in mingw/lib . On 4/15/05, Chris Eborn <chris.eborn at gmail.com> wrote:
I started writing a video playback app. ages ago and have been using (the horrid) wmv libraries to decode the video files. I would prefer to use libavformat/libavcodec, but I cannot get them to link against my code in Visual Studio. I generated the .lib files as suggested in the ffmpeg docs. and my code compiled fine, but when it tries to link some functions (udivdi3, divdi3, alloca) are missing. Does anybody know where I can find any documents or examples of linking the ffmpeg libraries in a Visual studio .net environment? I have just spent a whole morning searching the web for soultions and cannot find the answer. Apologies, but I can't post the exact messages at the moment as I am at work and this project is at home.
Many thanks, Chris
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
If you're using MINGW32, find the libgcc.lib in mingw/lib, that will help. Cheers, Dario Andrade
-----Original Message----- From: Chris Eborn [mailto:chris.eborn at gmail.com] Sent: Friday, April 15, 2005 10:52 AM To: ffmpeg-user at mplayerhq.hu. Subject: [Ffmpeg-user] Visual Studio and Linking
I started writing a video playback app. ages ago and have been using (the horrid) wmv libraries to decode the video files. I would prefer to use libavformat/libavcodec, but I cannot get them to link against my code in Visual Studio. I generated the .lib files as suggested in the ffmpeg docs. and my code compiled fine, but when it tries to link some functions (udivdi3, divdi3, alloca) are missing. Does anybody know where I can find any documents or examples of linking the ffmpeg libraries in a Visual studio .net environment? I have just spent a whole morning searching the web for soultions and cannot find the answer. Apologies, but I can't post the exact messages at the moment as I am at work and this project is at home.
Many thanks, Chris
Dario Andrade wrote:
If you're using MINGW32, find the libgcc.lib in mingw/lib, that will help.
Please dont top-post. Or somewhere under there. On my mingw it is in C:\MinGW\lib\gcc-lib\mingw32\3.2 but admittedly its an oldish version.
Cheers, Dario Andrade
-----Original Message----- From: Chris Eborn [mailto:chris.eborn at gmail.com] Sent: Friday, April 15, 2005 10:52 AM To: ffmpeg-user at mplayerhq.hu. Subject: [Ffmpeg-user] Visual Studio and Linking
I started writing a video playback app. ages ago and have been using (the horrid) wmv libraries to decode the video files. I would prefer to use libavformat/libavcodec, but I cannot get them to link against my code in Visual Studio. I generated the .lib files as suggested in the ffmpeg docs. and my code compiled fine, but when it tries to link some functions (udivdi3, divdi3, alloca) are missing. Does anybody know where I can find any documents or examples of linking the ffmpeg libraries in a Visual studio .net environment? I have just spent a whole morning searching the web for soultions and cannot find the answer. Apologies, but I can't post the exact messages at the moment as I am at work and this project is at home.
Many thanks, Chris
HaND, -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41
participants (4)
-
chris.eborn@gmail.com -
dario@sinistro.net -
mbardiaux@peaktime.be -
rzxiao@gmail.com