From: Jungho L. <ju...@mc...> - 2012-03-23 18:31:06
|
While trying to make libmesh, I got the following error messages - any idea how to fix it? It seems to be a syntax error that clang exposes (it compiles with gcc). Thanks, Jungho In file included from src/error_estimation/exact_error_estimator.C:34: /Users/jungholee/projects/herd/libmesh/include/mesh/mesh_function.h:72:9: error: too few template arguments for class template 'FunctionBase' const FunctionBase<>* master=NULL); ^ /Users/jungholee/projects/herd/libmesh/include/systems/system.h:51:34: note: template is declared here template <typename Output> class FunctionBase; ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ In file included from src/error_estimation/exact_error_estimator.C:34: /Users/jungholee/projects/herd/libmesh/include/mesh/mesh_function.h:86:9: error: too few template arguments for class template 'FunctionBase' const FunctionBase<>* master=NULL); ^ /Users/jungholee/projects/herd/libmesh/include/systems/system.h:51:34: note: template is declared here template <typename Output> class FunctionBase; ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 errors generated. make: *** [src/error_estimation/exact_error_estimator.x86_64-apple-darwin11.3.0.dbg.o] Error 1 |