Hi Andrew, your errors are surprising since i tried compilation and it worked ok. What are the last lines in your msd.h? greetings, Thomas
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 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 BUILDCLASS=ext TARGETMODE=release TARGETTYPE=single _build_ 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 2thanks, Andrew -- Andrew Johnston http://andrewjohnston.net/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list