dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12475
Re: Demo compilation fail
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.
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References