Setting up ffmpeg shared libraries that are downloaded from ffmpeg zenaroe (https://ffmpeg.zeranoe.com/builds/) for windows_64bit. The IDE is VS2013.
I downloaded dev and shared build for windows 64bit.
And followed steps like bellow but when building, linker error happens. The object file is created so compiling seems done. But there seems to be a problem finding referenced functions at the linking stage.
- Create win32 project and main.cpp
- Copy ffmpeg_dev's include and lib folders to solution directory.
- Open project properties and add the include dir and the lib dir.
- Add lib names to linker input.
Build
main.cpp
extern "C"{ #include <libavformat\avformat.h> } int main(void){ av_register_all(); return 0; }
The linker error is:
LNK2019 unresloved external symbol _av_register_all referenced in function _main.