new config entries for ffmpeg

This commit is contained in:
Zachary Pavlov 2006-05-14 22:25:27 +00:00
parent 7e3a67c0bf
commit 9adbcecbd6
4 changed files with 26 additions and 0 deletions

View File

@ -568,6 +568,13 @@
#define OPENCV_LIBS $[if $[WINDOWS_PLATFORM],cv.lib highgui.lib cxcore.lib,cv highgui cxcore]
#defer HAVE_OPENCV $[libtest $[OPENCV_LPATH],$[OPENCV_LIBS]]
// Is FFMPEG installed, and where?
#define FFMPEG_IPATH c:\ffmpeg\include
#define FFMPEG_LPATH c:\ffmpeg\lib
#define FFMPEG_LIBS libavcodec.lib libavformat.lib libavutil.lib libgcc.lib
#defer HAVE_FFMPEG $[libtest $[FFMPEG_LPATH],$[FFMPEG_LIBS]]
// Do you want to build the DirectD tools for starting Panda clients
// remotely? This only affects the direct tree. Enabling this may
// cause libdirect.dll to fail to load on Win98 clients.

View File

@ -106,6 +106,11 @@
#else
#print - Did not find OpenCV
#endif
#if $[HAVE_FFMPEG]
#print + FFMPEG
#else
#print - Did not find FFMPEG
#endif
#if $[HAVE_MAYA]
#print + OpenMaya
#else
@ -210,6 +215,8 @@ $[cdefine HAVE_GLU]
/* Define if we have OpenCV installed and want to build for OpenCV. */
$[cdefine HAVE_OPENCV]
/* Define if we have FFMPEG installed and want to build for FFMPEG. */
$[cdefine HAVE_FFMPEG]
/* Define if we have Mesa installed and want to build mesadisplay. */
$[cdefine HAVE_MESA]

View File

@ -214,6 +214,11 @@
#set OPENCV_LIBS $[OPENCV_LIBS]
#set HAVE_OPENCV $[HAVE_OPENCV]
#set FFMPEG_IPATH $[unixfilename $[FFMPEG_IPATH]]
#set FFMPEG_LPATH $[unixfilename $[FFMPEG_LPATH]]
#set FFMPEG_LIBS $[FFMPEG_LIBS]
#set HAVE_FFMPEG $[HAVE_FFMPEG]
#set HAVE_THREADS $[HAVE_THREADS]
#set DEBUG_THREADS $[DEBUG_THREADS]
#set MUTEX_SPINLOCK $[MUTEX_SPINLOCK]

View File

@ -168,6 +168,13 @@
#define opencv_libs $[OPENCV_LIBS]
#endif
#if $[HAVE_FFMPEG]
#define ffmpeg_ipath $[wildcard $[FFMPEG_IPATH]]
#define ffmpeg_lpath $[wildcard $[FFMPEG_LPATH]]
#define ffmpeg_cflags $[FFMPEG_CFLAGS]
#define ffmpeg_libs $[FFMPEG_LIBS]
#endif
#if $[HAVE_JPEG]
#define jpeg_ipath $[wildcard $[JPEG_IPATH]]
#define jpeg_lpath $[wildcard $[JPEG_LPATH]]