[GEM-dev] new win32 build

cyrille henry cyrille.henry at la-kitchen.fr
Thu Mar 9 12:50:59 CET 2006


hello,

this windows build is to late for me but a friend tested it on 2 
differents computer (pd 38.2 + winXPpro sp2). gem does not load because 
glew32.dll or MSVCP71.dll is missing.



i've found a stable wifi spot, so i made a cvs update.
for now : pix_record does not compile on my system. (and never did)
(still using ubuntu breezy)

pix_record.cpp: In constructor ‘pix_record::pix_record(int, t_atom*)’:
pix_record.cpp:55: erreur: cannot allocate an object of abstract type 
‘recordQT4L’
../Pixes/recordQT4L.h:38: note:   because the following virtual 
functions are pure within ‘recordQT4L’:
../Pixes/record.h:73: note:  virtual int record::putFrame(imageStruct*)
make[1]: *** [pix_record.o] Erreur 1


exept that, my list of "bug" that could be fixed :

pix_write write images upside down in .jpg, but images are correct in .tif

there was a discussion about making remanence effect with alpha for the 
gemwin background. i noticed some change was made on the source code to 
allow alpha in the background color, but i still not able to make it work.


that's all for me.

thanks
Cyrille

ps :
my ./configure...
cyrille at nusmuk:~/pd/Gem/src$ ./configure
checking for Base/configLinux.h.in... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for sin in -lm... yes
checking for main in -lz... yes
checking for dlopen in -ldl... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes
checking for main in -lXext... (cached) yes
checking for glInitNames in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for "OpenGL"-framework... no
checking for "AGL"-framework... no
checking for "Carbon"-framework... no
checking for "QuickTime"-framework... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PKG_IMAGEMAGICK___CFLAGS...
checking for PKG_IMAGEMAGICK___LIBS... -lMagick++ -lMagick
checking for PKG_TIFF_CFLAGS...
checking for PKG_TIFF_LIBS...
checking for tiff-config... no
checking for TIFFOpen in -ltiff... yes
checking for PKG_JPEG_CFLAGS...
checking for PKG_JPEG_LIBS...
checking for jpeg-config... no
checking for jpeg_read_header in -ljpeg... yes
checking for PKG_LIBQUICKTIME_CFLAGS...
checking for PKG_LIBQUICKTIME_LIBS...
checking for libquicktime-config... no
checking for quicktime_init in -lquicktime... yes
checking for PKG_LQT_CFLAGS...
checking for PKG_LQT_LIBS...
checking for lqt-config... yes
checking for PKG_MPEG3_CFLAGS...
checking for PKG_MPEG3_LIBS...
checking for mpeg3-config... no
checking for mpeg3_check_sig in -lmpeg3... yes
checking for PKG_MPEG_CFLAGS...
checking for PKG_MPEG_LIBS...
checking for mpeg-config... no
checking for OpenMPEG in -lmpeg... yes
checking for PKG_AVIFILE_CFLAGS... -I/usr/include/avifile-0.7
checking for PKG_AVIFILE_LIBS... -laviplay
checking for PKG_FFMPEG_CFLAGS...
checking for PKG_FFMPEG_LIBS...
checking for ffmpeg-config... no
checking for av_open_input_file in -lavformat... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for PKG_IEEE1394_CFLAGS...
checking for PKG_IEEE1394_LIBS...
checking for ieee1394-config... no
checking for main in -ldv... yes
checking for PKG_FTGL_CFLAGS... -I/usr/include/freetype2
checking for PKG_FTGL_LIBS... -lGLU -lGL -lfreetype -lz -lftgl
checking for PKG_GLTT_CFLAGS...
checking for PKG_GLTT_LIBS...
checking for gltt-config... no
checking for GLTTFont in -lgltt... no
checking for pthread_create in -lpthread... yes
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for GLsizeiptrARB... yes
checking for unsigned int... yes
checking size of unsigned int... 4
checking for void *... yes
checking size of void *... 4
checking for error_at_line... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for bzero... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memset... yes
checking for munmap... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for lqt_add_video_track... no
checking for glBindProgramARB... yes
checking for glBindProgramNV... yes
checking m_pd.h usability... yes
checking m_pd.h presence... yes
checking for m_pd.h... yes
checking whether compiler accepts "-freg-struct-return"... yes
enabling "register struct return"
    allows to make use of FreeFrame-effects without recompiling them
    might break things, if you are using several different compilers
checking whether compiler accepts "-O3"... yes
checking whether compiler accepts "-fno-builtin"... yes
checking whether compiler accepts "-falign-loops=16 -funroll-loops"... yes
checking whether compiler accepts "-ffast-math"... yes
checking whether compiler accepts "-mmmx"... yes
checking whether compiler accepts "-faltivec"... no
checking whether linker accepts "-shared -Wl,-export-dynamic"... yes
checking whether linker accepts "-bundle -bundle_loader 
/usr/local/bin/pd"... no
checking for strip... strip
checking if strip is GNU strip... yes
checking for dos2unix... true
configure: creating ./config.status
config.status: creating Make.config
config.status: creating Base/configLinux.h
config.status: Base/configLinux.h is unchanged

Result:
   Target                 : Gem.pd_linux
   Objects                : Base Controls Geos Manips MarkEx Nongeos 
Particles Pixes openGL

Configuration:
   Compiler               : g++
   CXXFLAGS               : -g -O2 -freg-struct-return -O3 -fno-builtin 
-falign-loops=16 -funroll-loops -ffast-math -mmmx
                          : -I/usr/include/quicktime 
-I/usr/include/avifile-0.7   -I/usr/include/freetype2
   INCLUDES               :  -I/usr/include/FTGL -I/usr/include/freetype2
   DEFINES                :

   LIBS                   : -ldv -lmpeg -lmpeg3 -lquicktime -ljpeg 
-ltiff -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm 
-L/usr/X11R6/lib -lpthread
                          : -lGLU -lGL -lfreetype -lz -lftgl   -laviplay 
   -L/usr/lib -lquicktime -lgthread -lz -ldl -lMagick++ -lMagick
   LDFLAGS                : -shared -Wl,-export-dynamic
                          :  -L/usr/X11R6/lib

   Strip                  : strip --strip-unneeded

   Install path           : /usr/local

  pure-data:
   version                : 0.39

  used optional libraries:

   font-rendering         : FTGL

   image-support
     use ImageMagick      : yes
     use TIFF             : yes
     use JPEG             : yes
   video-support
     use mpeg             : yes
     use mpeg-3           : yes
     use QuickTime        : yes
     use aviplay          : yes
     use ffmpeg           : no
   input-support
     use v4l              : yes
     use ieee1394         : yes

   misc
     using ARB-extensions : yes
     using NV-extensions  : yes
     using reg-struct-ret : yes

Now run make ...


IOhannes m zmoelnig a écrit :
> chris clepper wrote:
> 
>>I put a build up that fixes the crash when QT load, has some of my more
> 
> 
> fine.
> 
> 
>>recent pix_ objects and does ARB_ shaders.  I also moved the QT init code
>>into the GemMan init and added a fps output to gemwin (not checked into CVs
> 
> 
> hmm, why don't we just use [realtime] in connection with a
> [gemhead]-trigger? this way we would not need to change anything in C -
> it is all there already (not that this is really a question and not even
> a suggestion...)
> 
> it would be great if you could check in your changes asap, esp. an
> updated project-file.
> 
> i would like to make a release whenever possible.
> any known open bugs, that are likely to be fixed within the next days?
> 
> the only bugs that come to my mind are:
>  - "external" window closing is likely to crash pd (linux)
>  - "destroy" sometimes hangs (cannot reproduce it, but i believe the
> bug-report; i guess this is highly hw-dependent; linux)
>  - autoconf build-system on osX
>  -- certainly a lot of others which i have forgotten
> 
> i don't think that the window-crashes on linux are likely to be fixed
> before 0.91;
> i would like the osX-autoconf to work again, so if somebody could spare
> some time on that i would be thankful.
> 
> 
> apart from that i would highly recommend a feature freeze right now.
> 
> what do you think?
> 
> 
> mfg.asd.r
> IOhannes
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
> 
> 




More information about the GEM-dev mailing list