← Back to team overview

dolfin team mailing list archive

another demo compile error

 

Hello.  One of the other demos is failing:

u-cxx-debug -I/home/walker/src/petsc-2.3.3-p13/include -I/home/walker/build/include -I/home/walker/build/lib -Idemo -I/usr/include/suitesparse -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/walker/build/include -I/usr/include/suitesparse demo/pde/functional/cpp/main.cpp demo/pde/functional/cpp/main.cpp: In constructor ain()::MyFunction::MyFunction(dolfin::Mesh&) demo/pde/functional/cpp/main.cpp:29: error: no matching function for call to olfin::Function::Function(dolfin::Mesh&)./dolfin/function/Function.h:55: note: candidates are: dolfin::Function::Function(const dolfin::Function&) ./dolfin/function/Function.h:52: note: dolfin::Function::Function(const dolfin::SubFunction&) ./dolfin/function/Function.h:49: note: dolfin::Function::Function(std::string) ./dolfin/function/Function.h:46: note: dolfin::Function::Function(std::tr1::shared_ptr<const dolfin::FunctionSpace>) ./dolfin/function/Function.h:43: note: dolfin::Function::Function(const dolfin::FunctionSpace&) ./dolfin/function/Function.h:40: note: dolfin::Function::Function()
demo/pde/functional/cpp/main.cpp: In function nt main()
demo/pde/functional/cpp/main.cpp:42: error: ssemblewas not declared in this scope
scons: *** [demo/pde/functional/cpp/main.o] Error 1
scons: building terminated because of errors.

-----------------------

I looked at the file, and it looks like the EnergyNorm.h needs to be recompiled from EnergyNorm.form in order to use the new FunctionSpace stuff. Is this the main fix?

- Shawn