Invalid template argument
Compiling Gmsh 3.0.6 as a library I obtain this error:
/usr/local_machine/gmsh-trunk/Mesh/Field.cpp: In constructor ‘FieldManager::FieldManager()’:
/usr/local_machine/gmsh-trunk/Mesh/Field.cpp:2922:49: error: ‘DistanceField’ was not declared in this scope
map_type_name["Distance"] = new FieldFactoryT<DistanceField>();
^~~~~~~~~~~~~
/usr/local_machine/gmsh-trunk/Mesh/Field.cpp:2922:62: error: template argument 1 is invalid
map_type_name["Distance"] = new FieldFactoryT<DistanceField>();