On Mon, 28 Dec 2009, Ha Le wrote:
> Dear LibMesh team, > I'm a new LibMesh user, using Ubuntu 9.10. I've done the instructions up to > ./configure and make. Everything seems to be alright. But when I try to make > ex0 (or any other examples) by using > $ g++ -o ex0 ex0.C > > I receive the following > > ex0.C:33:18: error: mesh.h: No such file or directory > ex0.C:34:29: error: mesh_generation.h: No such file or directory > ex0.C:35:24: error: edge_edge3.h: No such file or directory > .etc.... > > I've tried to add /opt/libmesh/include into CPLUS_INCLUDE_PATH and such but > couldn't make it work. You could try adding /opt/libmesh/include/mesh, /opt/libmesh/include/geom (etc.) for every subdirectory where we have include files (assuming you've already installed these files to /opt/libmesh/), but I'd suggest instead using the Makefiles that we've already set up with include paths, optimization compiler flags, etc. Try "make link_examples" in the root libMesh directory", or "make" in examples/ex0. --- Roy ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
