Well I was able to get rid of the "undeclared identifiers" by using an older version of ffmpeg (using the ffmpeg-2.2.3-win32-dev found here...)
Code: Select all
1>------ Build started: Project: OgreVideoPlugin, Configuration: Debug x64 ------
1> Creating library C:/SDKs/OgreVideoPlugin-master/build/Debug/OgreVideoPlugin.lib and object C:/SDKs/OgreVideoPlugin-master/build/Debug/OgreVideoPlugin.exp
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_get_media_type_string referenced in function "bool __cdecl openCodecContext(struct AVFormatContext *,enum AVMediaType,struct VideoInfo &,int &)" (?openCodecContext@@YA_NPEAUAVFormatContext@@W4AVMediaType@@AEAUVideoInfo@@AEAH@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_freep referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_log_get_level referenced in function "void __cdecl log_callback(void *,int,char const *,char *)" (?log_callback@@YAXPEAXHPEBDPEAD@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_log_set_level referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_log_set_callback referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_log_format_line referenced in function "void __cdecl log_callback(void *,int,char const *,char *)" (?log_callback@@YAXPEAXHPEBDPEAD@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_get_bytes_per_sample referenced in function "int __cdecl decodeAudioPacket(struct AVPacket &,struct AVCodecContext *,struct AVStream *,struct AVFrame *,struct SwrContext *,unsigned char * *,int,class FFmpegVideoPlayer *,struct VideoInfo &,bool)" (?decodeAudioPacket@@YAHAEAUAVPacket@@PEAUAVCodecContext@@PEAUAVStream@@PEAUAVFrame@@PEAUSwrContext@@PEAPEAEHPEAVFFmpegVideoPlayer@@AEAUVideoInfo@@_N@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_samples_alloc_array_and_samples referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_alloc_frame referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_get_frame_defaults referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_free_frame referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_open2 referenced in function "bool __cdecl openCodecContext(struct AVFormatContext *,enum AVMediaType,struct VideoInfo &,int &)" (?openCodecContext@@YA_NPEAUAVFormatContext@@W4AVMediaType@@AEAUVideoInfo@@AEAH@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_close referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_init_packet referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_shrink_packet referenced in function "int __cdecl decodeAudioPacket(struct AVPacket &,struct AVCodecContext *,struct AVStream *,struct AVFrame *,struct SwrContext *,unsigned char * *,int,class FFmpegVideoPlayer *,struct VideoInfo &,bool)" (?decodeAudioPacket@@YAHAEAUAVPacket@@PEAUAVCodecContext@@PEAUAVStream@@PEAUAVFrame@@PEAUSwrContext@@PEAPEAEHPEAVFFmpegVideoPlayer@@AEAUVideoInfo@@_N@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_free_packet referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_find_decoder referenced in function "bool __cdecl openCodecContext(struct AVFormatContext *,enum AVMediaType,struct VideoInfo &,int &)" (?openCodecContext@@YA_NPEAUAVFormatContext@@W4AVMediaType@@AEAUVideoInfo@@AEAH@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_decode_audio4 referenced in function "int __cdecl decodeAudioPacket(struct AVPacket &,struct AVCodecContext *,struct AVStream *,struct AVFrame *,struct SwrContext *,unsigned char * *,int,class FFmpegVideoPlayer *,struct VideoInfo &,bool)" (?decodeAudioPacket@@YAHAEAUAVPacket@@PEAUAVCodecContext@@PEAUAVStream@@PEAUAVFrame@@PEAUSwrContext@@PEAPEAEHPEAVFFmpegVideoPlayer@@AEAUVideoInfo@@_N@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avcodec_decode_video2 referenced in function "int __cdecl decodeVideoPacket(struct AVPacket &,struct AVCodecContext *,struct AVStream *,struct AVFrame *,struct SwsContext *,struct AVPicture *,class FFmpegVideoPlayer *,struct VideoInfo &,bool)" (?decodeVideoPacket@@YAHAEAUAVPacket@@PEAUAVCodecContext@@PEAUAVStream@@PEAUAVFrame@@PEAUSwsContext@@PEAUAVPicture@@PEAVFFmpegVideoPlayer@@AEAUVideoInfo@@_N@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avpicture_alloc referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avpicture_free referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_register_all referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avformat_open_input referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avformat_find_stream_info referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_find_best_stream referenced in function "bool __cdecl openCodecContext(struct AVFormatContext *,enum AVMediaType,struct VideoInfo &,int &)" (?openCodecContext@@YA_NPEAUAVFormatContext@@W4AVMediaType@@AEAUVideoInfo@@AEAH@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_read_frame referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol avformat_close_input referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol av_dump_format referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol sws_freeContext referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol sws_scale referenced in function "int __cdecl decodeVideoPacket(struct AVPacket &,struct AVCodecContext *,struct AVStream *,struct AVFrame *,struct SwsContext *,struct AVPicture *,class FFmpegVideoPlayer *,struct VideoInfo &,bool)" (?decodeVideoPacket@@YAHAEAUAVPacket@@PEAUAVCodecContext@@PEAUAVStream@@PEAUAVFrame@@PEAUSwsContext@@PEAUAVPicture@@PEAVFFmpegVideoPlayer@@AEAUVideoInfo@@_N@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol sws_getCachedContext referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol swr_init referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol swr_alloc_set_opts referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol swr_free referenced in function "void __cdecl videoDecodingThread(struct ThreadInfo *)" (?videoDecodingThread@@YAXPEAUThreadInfo@@@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol swr_convert referenced in function "int __cdecl decodeAudioPacket(struct AVPacket &,struct AVCodecContext *,struct AVStream *,struct AVFrame *,struct SwrContext *,unsigned char * *,int,class FFmpegVideoPlayer *,struct VideoInfo &,bool)" (?decodeAudioPacket@@YAHAEAUAVPacket@@PEAUAVCodecContext@@PEAUAVStream@@PEAUAVFrame@@PEAUSwrContext@@PEAPEAEHPEAVFFmpegVideoPlayer@@AEAUVideoInfo@@_N@Z)
1>FFmpegVideoDecodingThread.obj : error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z) referenced in function "void __cdecl boost::conversion::detail::throw_bad_cast<int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(void)" (??$throw_bad_cast@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@detail@conversion@boost@@YAXXZ)
1>FFmpegVideoPlayer.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)
1>FFmpegVideoPlugin.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)
1>FFmpegVideoPluginDLL.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXAEBVexception@std@@@Z)
1>C:/SDKs/ffmpeg-2.2.3-win32-dev/lib\avformat.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
1>C:/SDKs/ffmpeg-2.2.3-win32-dev/lib\avcodec.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
1>C:/SDKs/ffmpeg-2.2.3-win32-dev/lib\swscale.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
1>C:/SDKs/ffmpeg-2.2.3-win32-dev/lib\swresample.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
1>C:/SDKs/ffmpeg-2.2.3-win32-dev/lib\avutil.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
1>C:\SDKs\OgreVideoPlugin-master\build\Debug\OgreVideoPlugin.dll : fatal error LNK1120: 36 unresolved externals
2>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 1 skipped ==========
Not sure why I am running into so many problems... the only warning in CMake was