dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04189
Re: [Fwd: ufc]
You need to install UFC. Download UFC and then do make install:
hg clone http://www.fenics.org/hg/ufc
cd ufc
sudo make install
dolfin-dev is currently not very "stable" and we've thrown in a bunch
of new dependencies (UFC, GLib, GTS, BGL) but it will settle down in a
while.
/Anders
On Thu, Jan 18, 2007 at 10:01:20AM +0100, Johan Hoffman wrote:
> Ok, I guess I should download the headerfile ufc.h from fenics.org. Where
> should I put it?
>
> /Johan
>
> ---------------------------- Original Message ----------------------------
> Subject: [DOLFIN-dev] ufc
> From: "Johan Hoffman" <jhoffman@xxxxxxxxxx>
> Date: Thu, January 18, 2007 9:44 am
> To: dolfin-dev@xxxxxxxxxx
> --------------------------------------------------------------------------
>
> I can not compile dolfin which I pulled just now. It appear to be ufc
> related? What do I need in terms of ufc to be able to compile?
>
> /Johan
>
> In file included from assemble.cpp:7:
> ./dolfin/Assembler.h:12:17: ufc.h: No such file or directory
> In file included from ./dolfin/Assembler.h:14,
> from assemble.cpp:7:
> ./dolfin/DofMaps.h:36: error: `ufc' has not been declared
> ./dolfin/DofMaps.h:36: error: expected `,' or `...' before '&' token
> ./dolfin/DofMaps.h:36: error: ISO C++ forbids declaration of `form' with
> no type
> In file included from assemble.cpp:7:
> ./dolfin/Assembler.h:37: error: `ufc' has not been declared
> ./dolfin/Assembler.h:37: error: expected `,' or `...' before '&' token
> ./dolfin/Assembler.h:37: error: ISO C++ forbids declaration of `form' with
> no type
> In file included from assemble.cpp:8:
>
> ./dolfin/assemble.h:25: error: `ufc' has not been declared
> ./dolfin/assemble.h:25: error: expected `,' or `...' before '&' token
> ./dolfin/assemble.h:25: error: ISO C++ forbids declaration of `form' with
> no type
> assemble.cpp:13: error: `ufc' has not been declared
> assemble.cpp:13: error: expected `,' or `...' before '&' token
> assemble.cpp:14: error: ISO C++ forbids declaration of `form' with no type
> assemble.cpp: In function `void dolfin::assemble(dolfin::GenericTensor&,
> int)':
> assemble.cpp:16: error: `mesh' was not declared in this scope
> assemble.cpp:16: warning: unused variable 'mesh'
> make[4]: *** [assemble.lo] Error 1
> make[4]: Leaving directory
> `/afs/nada.kth.se/home/m/u1qo8adm/work/computing2/dolfin/src/kernel/fem'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/afs/nada.kth.se/home/m/u1qo8adm/work/computing2/dolfin/src/kernel/fem'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/afs/nada.kth.se/home/m/u1qo8adm/work/computing2/dolfin/src/kernel'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/afs/nada.kth.se/home/m/u1qo8adm/work/computing2/dolfin/src'
> make: *** [all-recursive] Error 1
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References