Hi Tim,
I think you must add the "-funroll-loops" flags in your flext compilation command... if it still doesn't work, try to upgrade to the last version of flext...
Cheers,
Nicolas
Tim Blechmann a écrit :
hi nicolas ...
i've got a problem compiling msd: tim@laptop ~/pd/externals/nusmuk/msd $ ../../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
/home/tim/pd/externals/nusmuk/msd' g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -march=pentium4 -pthread -fPIC -DFLEXT_SYS=2 -I/usr/local/src/pd/src -I/usr/local/include/flext main.cpp -o pd-linux/release-single/main.opp In file included from main.cpp:1: ../msd.h: In member function
void LinkList<N>::insert(Link<N>*)': ../msd.h:72: error: there are no arguments tobegin' that depend on a template parameter, so a declaration of
begin' must be available ../msd.h:72: error: (if you use-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../msd.h:72: error: there are no arguments to
end' that depend on a template parameter, so a declaration ofend' must be available ../msd.h: In member function
void LinkList<N>::erase(Link<N>*)': ../msd.h:80: error: there are no arguments tobegin' that depend on a template parameter, so a declaration of
begin' must be available ../msd.h:80: error: there are no arguments toend' that depend on a template parameter, so a declaration of
end' must be available main.cpp: At global scope: main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-listswould be cool, if you could have a look into it ...
thanks ... tim