[PD] compiling nusmuk

Thomas Grill gr at grrrr.org
Fri Apr 21 09:55:53 CEST 2006


Hi all,
i checked in a (bad bad) fix for gcc 4 ... it works until the  
structure of flext changes fundamentally, which i don't think will  
happen in the next couple of years...
best greetings,
Thomas

Am 20.04.2006 um 21:03 schrieb pablo:

> Nicolas Montgermont a écrit :
>
>> Hi,
>>
>> This looks like a gcc 4.0 error (new template restrictions).
>> Are you sure you made it with the 3.4 version?
>> I use to compile it with a symbolic link between gcc and gcc 3.4  
>> instead of the usual one between gcc and gcc 4.0.
>>
>> Greetings,
>>
>> Nicolas
>>
>> Thomas Grill a écrit :
>>
>>> Hi Pablo,
>>> sorry, can't reproduce... i just tried cygwin (gcc 3.4.4) and OSX  
>>> (gcc 3.3) - no problems.
>>> Which version of flext are you using... be sure to try also with  
>>> the cvs version.
>>> greetings,
>>> Thomas
>>>
>>> pablo schrieb:
>>>
>>>> hi list, hi nicolas
>>>>
>>>> i'm having some trouble trying to compile externals/nusmuk from  
>>>> CVS.
>>>> typing : sh ../../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]: entrant dans le répertoire « /home/pablo/pure-data/ 
>>>> externals/nusmuk/msd »
>>>> g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -pthread -fPIC - 
>>>> DFLEXT_SYS=2
>>>> -I/home/pablo/pure-data/pd/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] Erreur 1
>>>> make[1]: quittant le répertoire « /home/pablo/pure-data/ 
>>>> externals/nusmuk/msd »
>>>> make: *** [build-release-single] Erreur 2
>>>>
>>>> i get the same error when trying to compile msd3D
>>>> main.cpp:3: error: explicit specialization of ‘flext_obj*  
>>>> msdN<3>::__init__(int, t_atom*)’ must be introduced by ‘template  
>>>> <>’
>>>> main.cpp:3: error: template-id ‘__init__<>’ for ‘flext_obj*  
>>>> msdN<3>::__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] Erreur 1
>>>>
>>>>
>>>> i have build flext from CVS, and i tried with gcc3.3, gcc3.4 and  
>>>> gcc4.
>>>> Also it is the first I try to build with flext. maybe it is more  
>>>> a flext-relevant problem ?
>>>> Any help would be nice (as you can see I have no C++ knowledge).
>>>> cheers
>>>> pablo
>>>>
>>>>
>>>>                
>>>> ___________________________________________________________________ 
>>>> ________ Faites de Yahoo! votre page d'accueil sur le web pour  
>>>> retrouver directement vos services préférés : vérifiez vos  
>>>> nouveaux mails, lancez vos recherches et suivez l'actualité en  
>>>> temps réel. Rendez-vous sur http://fr.yahoo.com/set
>>>>
>>>>
>>>> _______________________________________________
>>>> PD-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>>>> listinfo/pd-list
>>>>
>>>>
>>>
>>
> humm i recompiled flext-0.5.0 but it returns the same problem as  
> the CVS one.
> nicolas i used ln -s to make a symbolic link and gcc--version  
> returns  >gcc (GCC) 3.4.6 20060122 (prerelease) (Debian 3.4.5-2)
> i have even tried gcc3.3....
> the flext from cvs lies in /home/pablo/pure-data/externals/grill   
> should I put it in /usr/local/lib/pd/externals ?
> also i pointed the flext makefile to the src of pd-0.39.2 that are  
> in my home directory, is that right?
> thanx for helping
> schönen grussen
> pablo
>
>
>
> 	
> 	
> 		
> ______________________________________________________________________ 
> _____ Faites de Yahoo! votre page d'accueil sur le web pour  
> retrouver directement vos services préférés : vérifiez vos nouveaux  
> mails, lancez vos recherches et suivez l'actualité en temps réel.  
> Rendezvous sur http://fr.yahoo.com/set
>
>

Thomas Grill
http://grrrr.org






More information about the Pd-list mailing list