On Wed, May 28, 2014 at 6:09 PM, subramanya sadasiva <pota...@outlook.com>wrote:
> Hi, > I was running a modified version of abaqus_IO to allow it to read more > general abaqus cae files. I was able to buildit without any trouble till > the last version of Libmesh (0.93pre?) . however, with the current version, > I get the following errors > > > src/abaqus_io.C:52:12: error: ‘ElemType’ was not declared in this scope > std::map<ElemType, ElementDefinition> eletypes; > ^ > src/abaqus_io.C:52:12: note: suggested alternative: > In file included from > /home/ssadasiv/software/libmesh_builds/libmesh_opt_new/include/libmesh/elem.h:29:0, > from src/abaqus_io.C:27: > /home/ssadasiv/software/libmesh_builds/libmesh_opt_new/include/libmesh/enum_elem_type.h:30:6: > note: ‘libMesh::ElemType’ > enum ElemType {EDGE2=0, // 0 > ^ > src/abaqus_io.C:52:39: error: template argument 1 is invalid > std::map<ElemType, ElementDefinition> eletypes; > ^ > I can't see any difference in the code. The changes are not in these > lines. So I am not sure exactly why this is happening. > I have attached my modified version of the AbaqusIO.C and AbaqusIO.h > You need to put using namespace libMesh; in abaqus_io.C. Doing development this way (maintaining separate files outside the version control system) is tedious and error prone. You should maintain modified files as local commits which you can rebase on upstream periodically. This is also essential if you ever want your changes to make it back into upstream... -- John ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users