Code: Select all
Found FFmpeg: C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/lib/avcodec.lib;C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/lib/avformat.lib;C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/lib/avutil.lib;C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/lib/swscale.lib
Boost version: 1.60.0
Found the following Boost libraries:
thread
Looking for OGRE...
OGRE_PREFIX_WATCH changed.
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Found Ogre Ghadamon (1.9.0)
Found OGRE: C:/SDKs/Ogre/build/lib/Debug/OgreMain_d.lib
Looking for OGRE_Paging...
Could not locate OGRE_Paging
Looking for OGRE_Terrain...
Could not locate OGRE_Terrain
Looking for OGRE_Property...
Could not locate OGRE_Property
Looking for OGRE_RTShaderSystem...
Could not locate OGRE_RTShaderSystem
Looking for OGRE_Volume...
Could not locate OGRE_Volume
Looking for OGRE_Overlay...
Could not locate OGRE_Overlay
CMake Error at CMakeLists.txt:57 (target_link_libraries):
Cannot specify link libraries for target
"C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/lib/avcodec.lib" which is
not built by this project.
Configuring incomplete, errors occurred!
See also "C:/SDKs/ogre-ffmpeg-videoplayer-master/build/CMakeFiles/CMakeOutput.log".
*ok I think my problem is how I am telling cmake where to find ffmpeg. In CMakeLists.txt, just below # Find FFMpeg, I included the two following lines...
Code: Select all
SET(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/include")
SET(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "C:/SDKs/ffmpeg-20160318-git-a7b8a6e-win64-dev/lib")