[PD-dev] Introduction, GEM 0.87 G++3.2.1 and Gentoo Linux

Lee Azzarello lee at fallingforward.net
Sun Aug 10 22:38:34 CEST 2003


Hi all. I'm new here. I've been using Max/MSP/softVNS for a few years and
have made the switch to Linux for multimedia. I read a glowing review of
using GEM and PD for a multimedia installation so I grabbed the source
code and gave it a go.

It appears that version 0.87, which is the only version on the website,
has some real linking problems. I'm just getting into Linux development,
so I'm partially familliar with the magical autoconf system, but this
looks like it goes beyond an autoconf thing.

Issues I've encountered:

1) Whoever made the source tarball kept their Makefile in there. Without
doing a 'make distclean', ./configure reported a bunch of wrong paths
because it was using cached info from whoever made the tarball.

2) I have libmpeg3 installed and the
headers are in /usr/include/libmpeg3/libmpeg3.h
./configure does not recognize this.

3) memcpy, a function provided by the string.h standard C library, is not
included in some files in the Pixes directory. I included this and things
are a little better.

4) The source won't compile on my system. For me it bails out here:

 echo ----------../Pixes----------
make[1]: Entering directory `/usr/local/src/gem-0.87/src/Pixes'
g++ -c -g  -fPIC  -I../ -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/gltt -I../../../GemLibs/particle -I../../../GemLibs/liborb
-I../../../GemLibs/glm -I/usr/local/include -I..   pix_videoLinux.cpp -o
pix_videoLinux.o
In file included from ../Pixes/pix_video.h:20,
                 from pix_videoLinux.h:38,
                 from pix_videoLinux.cpp:44:
../Base/GemBase.h:27:8: warning: extra tokens at end of #endif directive
pix_videoLinux.cpp:59: default argument given for parameter 1 of `
   pix_videoLinux::pix_videoLinux(float = 320, float = 240)'
pix_videoLinux.h:68: after previous specification in `
   pix_videoLinux::pix_videoLinux(float = 320, float = 240)'
pix_videoLinux.cpp:59: default argument given for parameter 2 of `
   pix_videoLinux::pix_videoLinux(float = 320, float = 240)'
pix_videoLinux.h:68: after previous specification in `
   pix_videoLinux::pix_videoLinux(float = 320, float = 240)'
make[1]: *** [pix_videoLinux.o] Error 1
make[1]: Leaving directory `/usr/local/src/gem-0.87/src/Pixes'
make: *** [subdirs] Error 255

Which is also in the Pixes directory, which seems to be where most of the
compilation problems are. I read on the list archives that about a year
ago there was an issue with G++ 3.0. It seems these problems are still
there. I have version 3.2.1 installed and so far GEM is the only software
giving me problems. So what's required to get the source G++ 3.0
compatible?

-l[e^2]
------------------------------
http://www.fallingforward.net/
people experimenting with music, art and technology





More information about the Pd-dev mailing list