[PD] Compiling msd* with gcc 4

Andrew Johnston aj at it.uts.edu.au
Sat May 13 04:02:47 CEST 2006

First of all, thanks to Nicolas and Cyrille for pmpd and msd- very 
useful and great fun to play with!

I've successfully compiled msd on OS X, but I have a linux box running 
fedora core 4 (which has gcc 4.0.2 installed) and I'm having trouble 
getting msd to compile.  I'm using a freshly compiled flext from CVS and 
the latest version of msd updated from CVS today.

In the archives I notice that Thomas Grill has made some modifications 
to flext to enable gcc 4 support, but I'm still getting this error.  I'm 
no C++ guru so maybe there is a simple solution??  Any help appreciated.

$ bash ../../grill/flext/build.sh pd gcc
make -f ../../grill/flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd 
COMPILER=gcc BUILDPATH=../../grill/flext/buildsys/ PKGINFO=package.txt 
make[1]: Entering directory `/opt/pd-0.39-2/extra/externals/nusmuk/msd'
g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -march=pentium4 
-pthread -fPIC -DFLEXT_SYS=2 -I/opt/pd-0.39-2/src 
-I/usr/local/include/flext main.cpp -o pd-linux/release-single/main.opp
main.cpp:3: error: explicit specialization of ‘flext_obj* 
msdN<1>::__init__(int, t_atom*)’ must be introduced by ‘template <>’
main.cpp:3: error: template-id ‘__init__<>’ for ‘flext_obj* 
msdN<1>::__init__(int, t_atom*)’ does not match any template declaration
main.cpp:3: error: invalid function declaration
make[1]: *** [pd-linux/release-single/main.opp] Error 1
make[1]: Leaving directory `/opt/pd-0.39-2/extra/externals/nusmuk/msd'
make: *** [build-release-single] Error 2

Andrew Johnston

More information about the Pd-list mailing list