Ati Sharma, 2010-01-25 07:37
Hi, I have problems compiling on Mac OS X Snow Leopard (10.6.2)
$ uname -a Darwin ae-asharma.ae.ic.ac.uk 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:35:19 PST 2009; root:xnu-1486.2.11~1/RELEASE_X86_64 x86_64 $ ./configure --prefix=/tmp CFLAGS='-I/sw/include' LDFLAGS='-L/sw/lib' [... works OK, with fink-supplied fftw] $ make make all-recursive Making all in channelflow if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT mathdefs.lo -MD -MP -MF ".deps/mathdefs.Tpo" -c -o mathdefs.lo mathdefs.cpp; \ then mv -f ".deps/mathdefs.Tpo" ".deps/mathdefs.Plo"; else rm -f ".deps/mathdefs.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT mathdefs.lo -MD -MP -MF .deps/mathdefs.Tpo -c mathdefs.cpp -fno-common -DPIC -o .libs/mathdefs.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT mathdefs.lo -MD -MP -MF .deps/mathdefs.Tpo -c mathdefs.cpp -o mathdefs.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT vector.lo -MD -MP -MF ".deps/vector.Tpo" -c -o vector.lo vector.cpp; \ then mv -f ".deps/vector.Tpo" ".deps/vector.Plo"; else rm -f ".deps/vector.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT vector.lo -MD -MP -MF .deps/vector.Tpo -c vector.cpp -fno-common -DPIC -o .libs/vector.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT vector.lo -MD -MP -MF .deps/vector.Tpo -c vector.cpp -o vector.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT bandedtridiag.lo -MD -MP -MF ".deps/bandedtridiag.Tpo" -c -o bandedtridiag.lo bandedtridiag.cpp; \ then mv -f ".deps/bandedtridiag.Tpo" ".deps/bandedtridiag.Plo"; else rm -f ".deps/bandedtridiag.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT bandedtridiag.lo -MD -MP -MF .deps/bandedtridiag.Tpo -c bandedtridiag.cpp -fno-common -DPIC -o .libs/bandedtridiag.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT bandedtridiag.lo -MD -MP -MF .deps/bandedtridiag.Tpo -c bandedtridiag.cpp -o bandedtridiag.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT chebyshev.lo -MD -MP -MF ".deps/chebyshev.Tpo" -c -o chebyshev.lo chebyshev.cpp; \ then mv -f ".deps/chebyshev.Tpo" ".deps/chebyshev.Plo"; else rm -f ".deps/chebyshev.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -L/sw/lib -I/sw/include -g -O2 -Wall -fomit-frame-pointer -DNDEBUG -MT chebyshev.lo -MD -MP -MF .deps/chebyshev.Tpo -c chebyshev.cpp -fno-common -DPIC -o .libs/chebyshev.o In file included from chebyshev.cpp:32: ../channelflow/chebyshev.h:177: error: ‘uint’ has not been declared ../channelflow/chebyshev.h:190: error: ‘uint’ does not name a type chebyshev.cpp:1351: error: ‘uint’ has not been declared chebyshev.cpp: In constructor ‘channelflow::ChebyTransform::ChebyTransform(int, int)’: chebyshev.cpp:1353: error: class ‘channelflow::ChebyTransform’ does not have any field named ‘flags_’ chebyshev.cpp:1362: error: ‘flags_’ was not declared in this scope chebyshev.cpp: In copy constructor ‘channelflow::ChebyTransform::ChebyTransform(const channelflow::ChebyTransform&)’: chebyshev.cpp:1369: error: class ‘channelflow::ChebyTransform’ does not have any field named ‘flags_’ chebyshev.cpp:1369: error: ‘const class channelflow::ChebyTransform’ has no member named ‘flags_’ chebyshev.cpp:1378: error: ‘flags_’ was not declared in this scope chebyshev.cpp: In member function ‘channelflow::ChebyTransform& channelflow::ChebyTransform::operator=(const channelflow::ChebyTransform&)’: chebyshev.cpp:1390: error: ‘flags_’ was not declared in this scope chebyshev.cpp:1390: error: ‘const class channelflow::ChebyTransform’ has no member named ‘flags_’ make[2]: *** [chebyshev.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I get the same error with channelflow 1.4.1, 1.3.5 and the svn channelflow.
Thanks for your help.
~~DISCUSSION~~