Re: [osg-users] [build] CMake Manually-specified variables... Warning for FFMPEG plug-in for Android
Hi, Does am i going in correct way? do i need to change any .cmake fiels. Can you please suggest me to solve this problem? ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52258#52258 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] CMake Manually-specified variables... Warning for FFMPEG plug-in for Android
Hi, I am trying to build the FFMPEG plugin for Android. I downloaded FFMPEG0.8.12 (Love) and created static libs. I downloaded the OSG3.0.1 and created build directory. When I executed the cmake command then I am getting the following warning CMake Warning: Manually-specified variables were not used by the project: Code: FFMPEG_LIBAVCODEC_INCLUDE_DIR FFMPEG_LIBAVCODEC_LIBRARIES FFMPEG_LIBAVDEVICE_INCLUDE_DIRS FFMPEG_LIBAVDEVICE_LIBRARIES FFMPEG_LIBAVFORMAT_INCLUDE_DIRS FFMPEG_LIBAVFORMAT_LIBRARIES FFMPEG_LIBAVUTIL_INCLUDE_DIRS FFMPEG_LIBAVUTIL_LIBRARIES FFMPEG_LIBSWSCALE_INCLUDE_DIRS FFMPEG_LIBSWSCALE_LIBRARIES FFMPEG_ROOT the cmake command is Code: cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DOSG_GL_MATRICES_AVAILABLE=ON -DOSG_GL_VERTEX_FUNCS_AVAILABLE=ON -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=ON -DOSG_GL_FIXED_FUNCTION_AVAILABLE=ON -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF -DOSG_GL1_AVAILABLE=OFF -DFFMPEG_LIBAVCODEC_INCLUDE_DIR=/home/ttpl/Android/OSGSupport/ffmpeg/libavcodec/include -DFFMPEG_LIBAVCODEC_LIBRARIES=/home/ttpl/Android/OSGSupport/ffmpeg/libavcodec -DFFMPEG_LIBAVDEVICE_INCLUDE_DIRS=/home/ttpl/Android/OSGSupport/ffmpeg/libavdevice/include -DFFMPEG_LIBAVDEVICE_LIBRARIES=/home/ttpl/Android/OSGSupport/ffmpeg/libavdevice -DFFMPEG_LIBAVFORMAT_INCLUDE_DIRS=/home/ttpl/Android/OSGSupport/ffmpeg/libavformat/include -DFFMPEG_LIBAVFORMAT_LIBRARIES=/home/ttpl/Android/OSGSupport/ffmpeg/libavformat -DFFMPEG_LIBAVUTIL_INCLUDE_DIRS=/home/ttpl/Android/OSGSupport/ffmpeg/libavutil/include -DFFMPEG_LIBAVUTIL_LIBRARIES=/home/ttpl/Android/OSGSuppo rt/ffmpeg/libavutil -DFFMPEG_LIBSWSCALE_INCLUDE_DIRS=/home/ttpl/Android/OSGSupport/ffmpeg/libswscale/include -DFFMPEG_LIBSWSCALE_LIBRARIES=/home/ttpl/Android/OSGSupport/ffmpeg/libswscale -DFFMPEG_ROOT=/home/ttpl/Android/OSGSupport/ffmpeg -DOSG_GL2_AVAILABLE=OFF -DOSG_GL3_AVAILABLE=OFF -DOSG_GLES1_AVAILABLE=ON -DOSG_GLES2_AVAILABLE=OFF -DJ=4 -DCMAKE_INSTALL_PREFIX=/home/ttpl/Android/OpenSceneGraph-3.0.1_GL1/osginstall With this warning I build (make) and did make install but the final install directory doen't contain ffmpeg plugin. If I use CMake-gui then i am getting following config errors. I selected Unix Makefile as the compiler. Code: Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) CMake Warning at /home/ttpl/ProgramTools/cmake-2.8.10.2-Linux-i386/share/cmake-2.8/Modules/FindITK.cmake:48 (find_package): Could not find a package configuration file named ITKConfig.cmake provided by package ITK. Add the installation prefix of ITK to CMAKE_PREFIX_PATH or set ITK_DIR to a directory containing one of the above files. If ITK provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:465 (FIND_PACKAGE) Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR) Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) checking for module 'cairo' package 'cairo' not found checking for module 'poppler-glib' package 'poppler-glib' not found checking for module 'librsvg-2.0' package 'librsvg-2.0' not found checking for module 'cairo' package 'cairo' not found checking for module 'gtk+-2.0' package 'gtk+-2.0' not found checking for module 'gtkglext-x11-1.0' package 'gtkglext-x11-1.0' not found Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR QT_MOC_EXECUTABLE) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) CMake Warning (dev) at /home/ttpl/ProgramTools/cmake-2.8.10.2-Linux-i386/share/cmake-2.8/Modules/FindPNG.cmake:34 (find_package): File /home/ttpl/ProgramTools/cmake-2.8.10.2-Linux-i386/share/cmake-2.8/Modules/FindPNG.cmake includes /home/ttpl/Android/OSG/ffmpeg_Plugin/OpenSceneGraph-3.0.1_1/CMakeModules/FindZLIB.cmake (found via CMAKE_MODULE_PATH) which shadows /home/ttpl/ProgramTools/cmake-2.8.10.2-Linux-i386/share/cmake-2.8/Modules/FindZLIB.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run cmake --help-policy CMP0017 for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:535 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it. Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) checking for module 'xrandr' package 'xrandr' not found CMake Error: The