ok, I'll fix it. -- Anders
On Wed, Mar 04, 2009 at 04:38:25PM +0100, Martin Sandve Alnæs wrote: > In ComplexODE.h: > #ifndef HAS_GMP > > Martin > > > > On Wed, Mar 4, 2009 at 4:33 PM, Anders Logg <[email protected]> wrote: > > On Wed, Mar 04, 2009 at 04:05:15PM +0100, Martin Sandve Alnæs wrote: > >> I was trying to add some assertions to DOLFIN, but the demos don't > >> build so I can't test if I broke anything: > >> > >> demo/ode/complex/cpp/main.cpp:22: error: expected class-name before ‘{’ > >> token > >> demo/ode/complex/cpp/main.cpp: In constructor ‘Exponential::Exponential()’: > >> demo/ode/complex/cpp/main.cpp:25: error: class ‘Exponential’ does not > >> have any field named ‘ComplexODE’ > >> demo/ode/complex/cpp/main.cpp: In member function ‘void > >> Exponential::f(const dolfin::complex*, double, dolfin::complex*)’: > >> demo/ode/complex/cpp/main.cpp:34: error: ‘j’ was not declared in this scope > >> demo/ode/complex/cpp/main.cpp: In function ‘int main()’: > >> demo/ode/complex/cpp/main.cpp:42: error: ‘class Exponential’ has no > >> member named ‘solve’ > >> scons: *** [demo/ode/complex/cpp/main.o] Error 1 > >> > >> Martin > > > > It works fine here. Looks like ComplexODE is not recognized as a class > > by your compiler. Do you have ComplexODE anywhere? > > > > It is included by dolfin_ode.h which in turn is included by dolfin.h. > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.9 (GNU/Linux) > > > > iEUEARECAAYFAkmunywACgkQTuwUCDsYZdErngCY6KABV77xCnAhpwCqbKm2aRYG > > 5QCeM9r0cGtXpBPGsKxlZxo+9g5bibE= > > =wXtv > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > DOLFIN-dev mailing list > > [email protected] > > http://www.fenics.org/mailman/listinfo/dolfin-dev > > > > > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
