[PD] pd-extended build on 9.10 /gem 0.92.1 eeepc = no luck with v4l2

olsen sesselastronaut at googlemail.com
Thu Nov 5 15:29:21 CET 2009


zmoelnig at iem.at wrote:
> Quoting zmoelnig at iem.at:
>> apart from that: even if all or no compilers are that pedantic, i  
>> don't experience the said problem when building myself (e.g. on 
>> debian  using g++-4.3.4-5)
>> it is not that i never compile Gem using gcc...
> 
> or with 4.4.1-4.
> 
> to be precise, i don't even get a warning with HEAD:
> 
> % g++-4.4 -c      -I/usr/include/lqt   -I/usr/local/include   
> -I/usr/include/lqt       -I/usr/include/FTGL -I/usr/include/freetype2  
>  -I..  -I/usr/include/FTGL -I/usr/include/freetype2  -DHAVE_CONFIG_H -g 
> -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 
> -falign-jumps=32 -funroll-loops -ffast-math -mmmx  recordQT4L.cpp -o 
> ../Objects/recordQT4L.o -Wall
> %
> 
> with the 0.92 branch from subversion i get some warnings:
> 
> % g++-4.4 -c      -I/usr/include/lqt   -I/usr/local/include   
> -I/usr/include/lqt       -I/usr/include/FTGL -I/usr/include/freetype2  
>  -I..  -I/usr/include/FTGL -I/usr/include/freetype2  -DHAVE_CONFIG_H -g 
> -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 
> -falign-jumps=32 -funroll-loops -ffast-math -mmmx  recordQT4L.cpp -o 
> ../Objects/recordQT4L.o -Wall
> recordQT4L.cpp: In function 'lqt_file_type_t guess_qtformat(const char*)':
> recordQT4L.cpp:106: warning: comparison between signed and unsigned 
> integer expressions
> recordQT4L.cpp: In member function 'virtual bool recordQT4L::init(const 
> imageStruct*, int)':
> recordQT4L.cpp:163: warning: comparison between signed and unsigned 
> integer expressions
> recordQT4L.cpp: In member function 'virtual int 
> recordQT4L::putFrame(imageStruct*)':
> recordQT4L.cpp:230: warning: unused variable 'err'
> %
> 
> none of these have anything todo with "const char*" or "char*"
> 
> 
> please post your Base/config.h (TRUNK) 
/* configuration-file */
#ifndef HAVE_BASE_CONFIG_H_
#define HAVE_BASE_CONFIG_H_

#ifdef _MSC_VER
# ifndef __WIN32__
#  define __WIN32__
# endif
#endif

#ifdef __WIN32__
# ifndef NT
#  define NT
# endif
# ifndef MSW
#  define MSW
# endif
# ifndef WIN32_LEAN_AND_MEAN
#  define WIN32_LEAN_AND_MEAN
# endif
#endif



#ifdef HAVE_CONFIG_GENERIC_H

# include "Base/configGeneric.h"

#else /* includes system-specific files */

# ifdef __linux__
#  include "Base/configLinux.h"
# endif

# ifdef __APPLE__
#  include "Base/configDarwin.h"
#  define HAVE_QUICKTIME
# endif

# ifdef __WIN32__
#  include "Base/configNT.h"
# endif
#endif

#ifdef NEW_VIDEOFILM
# ifndef FILM_NEW
#  define FILM_NEW
# endif
# ifndef VIDEO_NEW
#  define VIDEO_NEW
# endif
#endif

#ifdef HAVE_LIBFTGL
#  define FTGL
#endif


or Base/configLinux.h (0.92)

/* Base/configLinux.h.  Generated from configLinux.h.in by configure.  */

/* fullscreen: querying via libXxf86vm */
#define HAVE_LIBXXF86VM 1

/* font rendering */
#define HAVE_LIBFTGL 1

/* image loading / saving */
/* #undef HAVE_LIBTIFF */
/* #undef HAVE_LIBJPEG */
#define HAVE_LIBMAGICKPLUSPLUS 1

/* movie decoding */
/* #undef HAVE_LIBMPEG */
#define HAVE_LIBMPEG3 1
#define HAVE_LIBQUICKTIME 1
#define HAVE_LQT_OPEN_WRITE 1
#define HAVE_LIBAVIPLAY 1
/* #undef HAVE_LIBGMERLIN_AVDEC */

/* video grabbing */
#define HAVE_VIDEO4LINUX 1
/* #undef HAVE_VIDEO4LINUX2 */
#define HAVE_LIBDV 1
#define HAVE_LIBV4L1 1
#define HAVE_LIBV4L2 1

/* image analysis */
/* #undef HAVE_ARTOOLKIT */

/* posix threads */
#define HAVE_PTHREADS 1


/* Pd header files */
/* #undef HAVE_S_STUFF_H */

/* enable the use of the all-in-one video/movie objects */
#define NEW_VIDEOFILM 1

/* types, structures, compiler characteristics, ... */
#define SIZEOF_VOID_P 4
#define SIZEOF_UNSIGNED_INT 4

> and your version of libquicktime
libquicktime-dev & libquicktime1 version:
Source: libquicktime
Version: 2:1.1.1+debian-1build1

my g++ version is (Ubuntu 4.4.1-4ubuntu8) 4.4.1

btw: the ./configure-error with the svn version was indeed from not 
./autogen.sh...
thanks & greets
ø




> 
> fgmasdr
> IOhannes
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-- 
ETs DNA will not be televised





More information about the Pd-list mailing list