Click here to Skip to main content
15,905,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error when using libavcodec dll in vc++ Pin
Cedric Moonen13-Jun-06 21:24
Cedric Moonen13-Jun-06 21:24 
GeneralRe: Error when using libavcodec dll in vc++ Pin
RahulOP13-Jun-06 21:41
RahulOP13-Jun-06 21:41 
GeneralRe: Error when using libavcodec dll in vc++ Pin
Cedric Moonen13-Jun-06 21:50
Cedric Moonen13-Jun-06 21:50 
GeneralRe: Error when using libavcodec dll in vc++ Pin
Eytukan13-Jun-06 22:11
Eytukan13-Jun-06 22:11 
GeneralRe: Error when using libavcodec dll in vc++ Pin
RahulOP13-Jun-06 22:22
RahulOP13-Jun-06 22:22 
GeneralRe: Error when using libavcodec dll in vc++ Pin
RahulOP13-Jun-06 22:16
RahulOP13-Jun-06 22:16 
GeneralRe: Error when using libavcodec dll in vc++ Pin
Cedric Moonen13-Jun-06 22:27
Cedric Moonen13-Jun-06 22:27 
GeneralRe: Error when using libavcodec dll in vc++ Pin
RahulOP13-Jun-06 22:39
RahulOP13-Jun-06 22:39 
I am so sorry.

I tried the typedef AVCodecContext* thingy based on your post except that I didnt quote it in my reply.
I believe I am properly linked to the library files. These are the steps I followed
In the project Properties Select C/C++ General Tab
and set the path for 'Include directories' seperated by semicolon( i.e path to libavcodec, libavformat)

In the Linker Tab put the path to Lib files of ffmpeg in the option 'Additional Library Directories path' (i.e the path to avformat.lib etc)

In the Linker Tab Put the Library files names to the option 'Additional dependencies' ( avformat.lib avcodec.lib)


These are the linker errors I am getting
fflib2 error LNK2001: unresolved external symbol ___divdi3
fflib2 error LNK2001: unresolved external symbol ___divdi3
fflib2 error LNK2019: unresolved external symbol ___divdi3 referenced in function _av_reduce
fflib2 error LNK2001: unresolved external symbol ___divdi3
fflib2 error LNK2001: unresolved external symbol ___divdi3
fflib2 error LNK2001: unresolved external symbol ___divdi3
fflib2 error LNK2019: unresolved external symbol ___moddi3 referenced in function _av_reduce
fflib2 error LNK2001: unresolved external symbol ___moddi3
fflib2 error LNK2001: unresolved external symbol ___moddi3
fflib2 error LNK2001: unresolved external symbol __alloca
fflib2 error LNK2001: unresolved external symbol __alloca
fflib2 error LNK2019: unresolved external symbol __alloca referenced in function _rd8x8_c
fflib2 error LNK2001: unresolved external symbol __alloca
fflib2 error LNK2001: unresolved external symbol __alloca
fflib2 error LNK2001: unresolved external symbol __alloca
fflib2 error LNK2019: unresolved external symbol ___udivdi3 referenced in function _mpeg1_encode_sequence_header
fflib2 error LNK2019: unresolved external symbol ___udivdi3 referenced in function _MPV_common_end
fflib2 error LNK2019: unresolved external symbol ___umoddi3 referenced in function _mpeg1_encode_sequence_header
fflib2 error LNK2019: unresolved external symbol ___fixunssfdi referenced in function _ff_rate_control_init
fflib2 error LNK2019: unresolved external symbol ___fixunsdfdi referenced in function _ff_rate_estimate_qscale

p.s. Would you mind giving me your e-mail address?
GeneralRe: Error when using libavcodec dll in vc++ Pin
Cedric Moonen13-Jun-06 23:14
Cedric Moonen13-Jun-06 23:14 
GeneralRe: Error when using libavcodec dll in vc++ [modified] Pin
RahulOP13-Jun-06 23:29
RahulOP13-Jun-06 23:29 
GeneralRe: Error when using libavcodec dll in vc++ Pin
RahulOP14-Jun-06 21:00
RahulOP14-Jun-06 21:00 
GeneralRe: Error when using libavcodec dll in vc++ Pin
Cedric Moonen15-Jun-06 1:24
Cedric Moonen15-Jun-06 1:24 
GeneralRe: Error when using libavcodec dll in vc++ Pin
RahulOP15-Jun-06 2:53
RahulOP15-Jun-06 2:53 
GeneralRe: Error when using libavcodec dll in vc++ Pin
Eytukan13-Jun-06 22:27
Eytukan13-Jun-06 22:27 
AnswerRe: Error when using libavcodec dll in vc++ Pin
Viorel.13-Jun-06 21:00
Viorel.13-Jun-06 21:00 
AnswerRe: Error when using libavcodec dll in vc++ Pin
Eytukan13-Jun-06 22:01
Eytukan13-Jun-06 22:01 
Question[Message Deleted] Pin
angelfirefox13-Jun-06 20:07
angelfirefox13-Jun-06 20:07 
AnswerRe: CTreeCtrl Height bright Display Pin
Sarath C13-Jun-06 20:35
Sarath C13-Jun-06 20:35 
AnswerRe: CTreeCtrl Height bright Display Pin
Hamid_RT13-Jun-06 20:47
Hamid_RT13-Jun-06 20:47 
QuestionRe: [Message Deleted] Pin
toxcct13-Jun-06 22:24
toxcct13-Jun-06 22:24 
AnswerRe: [Message Deleted] Pin
ThatsAlok13-Jun-06 22:44
ThatsAlok13-Jun-06 22:44 
QuestionCRichEditCtrl show gif [modified] Pin
chybin13-Jun-06 20:03
chybin13-Jun-06 20:03 
QuestionSet beginning of file? Pin
_johan13-Jun-06 20:02
_johan13-Jun-06 20:02 
AnswerRe: Set beginning of file? Pin
kakan13-Jun-06 20:08
professionalkakan13-Jun-06 20:08 
AnswerRe: Set beginning of file? Pin
Laxman Auti13-Jun-06 20:25
Laxman Auti13-Jun-06 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.