[PD] Compiling msd* with gcc 4
gr at grrrr.org
Sat May 13 12:42:37 CEST 2006
your errors are surprising since i tried compilation and it worked ok.
What are the last lines in your msd.h?
Am 13.05.2006 um 04:02 schrieb Andrew Johnston:
> 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
> $ 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 BUILDCLASS=ext TARGETMODE=release
> TARGETTYPE=single _build_
> make: 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
> 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
> main.cpp:3: error: invalid function declaration
> make: *** [pd-linux/release-single/main.opp] Error 1
> make: Leaving directory `/opt/pd-0.39-2/extra/externals/nusmuk/msd'
> make: *** [build-release-single] Error 2
> Andrew Johnston
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
More information about the Pd-list