make all-recursive make[1]: ディレクトリ '/home/tetsuo/getfem' に入ります Making all in m4 make[2]: ディレクトリ '/home/tetsuo/getfem/m4' に入ります make[2]: 'all' に対して行うべき事はありません. make[2]: ディレクトリ '/home/tetsuo/getfem/m4' から出ます Making all in cubature make[2]: ディレクトリ '/home/tetsuo/getfem/cubature' に入ります make[2]: 'all' に対して行うべき事はありません. make[2]: ディレクトリ '/home/tetsuo/getfem/cubature' から出ます Making all in superlu make[2]: ディレクトリ '/home/tetsuo/getfem/superlu' に入ります make[2]: 'all' に対して行うべき事はありません. make[2]: ディレクトリ '/home/tetsuo/getfem/superlu' から出ます Making all in src make[2]: ディレクトリ '/home/tetsuo/getfem/src' に入ります /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I.. -I/usr/local/include -DGMM_USES_BLAS -DGMM_USES_BLAS_INTERFACE -DGMM_USES_LAPACK -I/home/tetsuo/getfem/.venv/include -O3 -fmessage-length=0 -fvisibility-inlines-hidden -ftemplate-depth-100 -std=c++14 -fPIC -Wall -W -Wextra -Wshadow -Wno-unknown-pragmas -Wno-variadic-macros -Wno-unused-but-set-variable -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long -MT getfem_export.lo -MD -MP -MF .deps/getfem_export.Tpo -c -o getfem_export.lo getfem_export.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I.. -I/usr/local/include -DGMM_USES_BLAS -DGMM_USES_BLAS_INTERFACE -DGMM_USES_LAPACK -I/home/tetsuo/getfem/.venv/include -O3 -fmessage-length=0 -fvisibility-inlines-hidden -ftemplate-depth-100 -std=c++14 -fPIC -Wall -W -Wextra -Wshadow -Wno-unknown-pragmas -Wno-variadic-macros -Wno-unused-but-set-variable -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long -MT getfem_export.lo -MD -MP -MF .deps/getfem_export.Tpo -c getfem_export.cc -fPIC -DPIC -o getfem_export.o getfem_export.cc: In member function ‘void getfem::vtk_export::write_mesh_structure_from_slice()’: getfem_export.cc:521:19: error: ‘s’ was not declared in this scope; did you mean ‘os’? 521 | splx_cnt -= s.size(); | ^ | os getfem_export.cc: In member function ‘void getfem::pos_export::exporting(const getfem::stored_mesh_slice&)’: getfem_export.cc:1210:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 1210 | for (const slice_simplex &s : psl->simplexes(ic)) | ^~~ getfem_export.cc:1212:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 1212 | switch (s.dim()){ | ^~~~~~ getfem_export.cc:1211:13: warning: unused variable ‘t’ [-Wunused-variable] 1211 | int t = -1; | ^ getfem_export.cc:1210:33: warning: unused variable ‘s’ [-Wunused-variable] 1210 | for (const slice_simplex &s : psl->simplexes(ic)) | ^ getfem_export.cc:1212:17: error: ‘s’ was not declared in this scope; did you mean ‘os’? 1212 | switch (s.dim()){ | ^ | os getfem_export.cc:1213:19: error: ‘t’ was not declared in this scope; did you mean ‘tm’? 1213 | case 0: t = POS_PT; break; | ^ | tm In file included from getfem/dal_config.h:40, from getfem/bgeot_config.h:49, from getfem/getfem_omp.h:46, from getfem/dal_singleton.h:49, from getfem_export.cc:23: getfem_export.cc:1218:21: error: ‘t’ was not declared in this scope; did you mean ‘tm’? 1218 | GMM_ASSERT1(t != -1, "semi internal error.. could not map to a POS primitive type"); | ^ ./gmm/gmm_except.h:164:46: note: in definition of macro ‘GMM_ASSERT1’ 164 | # define GMM_ASSERT1(test, errormsg) { if (!(test)) GMM_THROW_AT_LEVEL(errormsg, 1); } | ^~~~ getfem_export.cc:1219:42: error: ‘t’ was not declared in this scope; did you mean ‘tm’? 1219 | pos_cell_type.push_back(unsigned(t)); | ^ | tm getfem_export.cc:1227:34: error: ‘s’ was not declared in this scope; did you mean ‘os’? 1227 | cell_dof[i] = unsigned(s.inodes[dmap[i]] + pcnt); | ^ | os getfem_export.cc:1230:45: error: ‘ic’ was not declared in this scope 1230 | for (const slice_node &n : psl->nodes(ic)) { | ^~ getfem_export.cc:1237:7: error: ‘pcnt’ was not declared in this scope 1237 | pcnt += psl->nodes(ic).size(); | ^~~~ getfem_export.cc:1237:26: error: ‘ic’ was not declared in this scope 1237 | pcnt += psl->nodes(ic).size(); | ^~ getfem_export.cc: At global scope: getfem_export.cc:1239:5: error: ‘state’ does not name a type; did you mean ‘static’? 1239 | state = STRUCTURE_WRITTEN; | ^~~~~ | static getfem_export.cc:1242:8: error: ‘pos_export’ has not been declared 1242 | void pos_export::write(const mesh& m, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc:1242:32: error: ‘mesh’ does not name a type 1242 | void pos_export::write(const mesh& m, const std::string &name){ | ^~~~ getfem_export.cc: In function ‘void write(const int&, const string&)’: getfem_export.cc:1243:9: error: ‘state’ was not declared in this scope; did you mean ‘static’? 1243 | if (state >= IN_CELL_DATA) return; | ^~~~~ | static getfem_export.cc:1243:18: error: ‘IN_CELL_DATA’ was not declared in this scope 1243 | if (state >= IN_CELL_DATA) return; | ^~~~~~~~~~~~ In file included from getfem/dal_config.h:40, from getfem/bgeot_config.h:49, from getfem/getfem_omp.h:46, from getfem/dal_singleton.h:49, from getfem_export.cc:23: getfem_export.cc:1244:23: error: request for member ‘dim’ in ‘m’, which is of non-class type ‘const int’ 1244 | GMM_ASSERT1(int(m.dim()) <= 3, "attempt to export a " | ^~~ ./gmm/gmm_except.h:164:46: note: in definition of macro ‘GMM_ASSERT1’ 164 | # define GMM_ASSERT1(test, errormsg) { if (!(test)) GMM_THROW_AT_LEVEL(errormsg, 1); } | ^~~~ In file included from getfem/dal_config.h:40, from getfem/bgeot_config.h:49, from getfem/getfem_omp.h:46, from getfem/dal_singleton.h:49, from getfem_export.cc:23: getfem_export.cc:1245:26: error: request for member ‘dim’ in ‘m’, which is of non-class type ‘const int’ 1245 | << int(m.dim()) << "D mesh (not supported)"); | ^~~ ./gmm/gmm_except.h:105:6: note: in definition of macro ‘GMM_THROW_AT_LEVEL’ 105 | << errormsg << std::ends; \ | ^~~~~~~~ getfem_export.cc:1244:5: note: in expansion of macro ‘GMM_ASSERT1’ 1244 | GMM_ASSERT1(int(m.dim()) <= 3, "attempt to export a " | ^~~~~~~~~~~ getfem_export.cc:1246:5: error: ‘pmf’ was not declared in this scope 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^~~ getfem_export.cc:1246:28: error: ‘mesh_fem’ was not declared in this scope; did you mean ‘getfem::mesh_fem’? 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^~~~~~~~ | getfem::mesh_fem In file included from getfem/getfem_interpolation.h:42, from getfem/getfem_export.h:41, from getfem_export.cc:25: getfem/getfem_mesh_fem.h:148:9: note: ‘getfem::mesh_fem’ declared here 148 | class mesh_fem : public context_dependencies, virtual public dal::static_stored_object { | ^~~~~~~~ getfem_export.cc:1246:49: error: ‘mesh’ does not name a type 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^~~~ getfem_export.cc:1246:53: error: expected ‘>’ before ‘&’ token 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^ getfem_export.cc:1246:53: error: expected ‘(’ before ‘&’ token 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^ | ( getfem_export.cc:1246:54: error: expected primary-expression before ‘>’ token 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^ getfem_export.cc:1246:60: error: ‘dim_type’ was not declared in this scope 1246 | pmf = std::make_unique(const_cast(m), dim_type(1)); | ^~~~~~~~ getfem_export.cc:1246:60: note: suggested alternatives: In file included from getfem/getfem_omp.h:46, from getfem/dal_singleton.h:49, from getfem_export.cc:23: getfem/bgeot_config.h:71:28: note: ‘bgeot::dim_type’ 71 | typedef gmm::uint16_type dim_type; | ^~~~~~~~ getfem/bgeot_config.h:71:28: note: ‘bgeot::dim_type’ getfem_export.cc:1249:5: error: ‘state’ was not declared in this scope; did you mean ‘static’? 1249 | state = IN_CELL_DATA; | ^~~~~ | static getfem_export.cc:1249:13: error: ‘IN_CELL_DATA’ was not declared in this scope 1249 | state = IN_CELL_DATA; | ^~~~~~~~~~~~ getfem_export.cc: At global scope: getfem_export.cc:1252:8: error: ‘pos_export’ has not been declared 1252 | void pos_export::write(const mesh_fem& mf, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc:1252:32: error: ‘mesh_fem’ does not name a type 1252 | void pos_export::write(const mesh_fem& mf, const std::string &name){ | ^~~~~~~~ getfem_export.cc:1252:8: error: redefinition of ‘void write(const int&, const string&)’ 1252 | void pos_export::write(const mesh_fem& mf, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc:1242:8: note: ‘void write(const int&, const string&)’ previously defined here 1242 | void pos_export::write(const mesh& m, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc: In function ‘void write(const int&, const string&)’: getfem_export.cc:1253:9: error: ‘state’ was not declared in this scope; did you mean ‘static’? 1253 | if (state >= IN_CELL_DATA) return; | ^~~~~ | static getfem_export.cc:1253:18: error: ‘IN_CELL_DATA’ was not declared in this scope 1253 | if (state >= IN_CELL_DATA) return; | ^~~~~~~~~~~~ getfem_export.cc:1254:5: error: ‘check_header’ was not declared in this scope 1254 | check_header(); | ^~~~~~~~~~~~ getfem_export.cc:1255:5: error: ‘exporting’ was not declared in this scope 1255 | exporting(mf); | ^~~~~~~~~ getfem_export.cc:1257:19: error: ‘os’ was not declared in this scope; did you mean ‘cos’? 1257 | if (""==name) os << "View \"mesh " << view <<"\" {\n"; | ^~ | cos getfem_export.cc:1257:43: error: ‘view’ was not declared in this scope 1257 | if (""==name) os << "View \"mesh " << view <<"\" {\n"; | ^~~~ getfem_export.cc:1258:10: error: ‘os’ was not declared in this scope; did you mean ‘cos’? 1258 | else os << "View \"" << name <<"\" {\n"; | ^~ | cos getfem_export.cc:1263:10: error: ‘size_type’ was not declared in this scope 1263 | for (size_type cell = 0; cell < pos_cell_type.size(); ++cell) { | ^~~~~~~~~ getfem_export.cc:1263:10: note: suggested alternatives: In file included from getfem/bgeot_convex_structure.h:44, from getfem/bgeot_mesh_structure.h:42, from getfem/bgeot_mesh.h:41, from getfem/getfem_mesh.h:43, from getfem/getfem_mesh_fem.h:41, from getfem/getfem_interpolation.h:42, from getfem/getfem_export.h:41, from getfem_export.cc:25: getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ 49 | typedef size_t size_type; | ^~~~~~~~~ getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ getfem_export.cc:1263:30: error: ‘cell’ was not declared in this scope; did you mean ‘ceill’? 1263 | for (size_type cell = 0; cell < pos_cell_type.size(); ++cell) { | ^~~~ | ceill getfem_export.cc:1263:37: error: ‘pos_cell_type’ was not declared in this scope 1263 | for (size_type cell = 0; cell < pos_cell_type.size(); ++cell) { | ^~~~~~~~~~~~~ getfem_export.cc:1265:18: error: ‘pos_cell_dof’ was not declared in this scope; did you mean ‘cell_dof’? 1265 | cell_dof = pos_cell_dof[cell]; | ^~~~~~~~~~~~ | cell_dof getfem_export.cc:1267:7: error: ‘write_cell’ was not declared in this scope 1267 | write_cell(t,cell_dof,cell_dof_val); | ^~~~~~~~~~ getfem_export.cc:1270:5: error: ‘os’ was not declared in this scope; did you mean ‘cos’? 1270 | os << "};\n"; | ^~ | cos getfem_export.cc:1271:22: error: ‘view’ was not declared in this scope 1271 | os << "View[" << view << "].ShowScale = 0;\n"; | ^~~~ getfem_export.cc:1276:5: error: ‘state’ was not declared in this scope; did you mean ‘static’? 1276 | state = IN_CELL_DATA; | ^~~~~ | static getfem_export.cc:1276:13: error: ‘IN_CELL_DATA’ was not declared in this scope 1276 | state = IN_CELL_DATA; | ^~~~~~~~~~~~ getfem_export.cc: At global scope: getfem_export.cc:1279:8: error: ‘pos_export’ has not been declared 1279 | void pos_export::write(const stored_mesh_slice& sl, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc:1279:32: error: ‘stored_mesh_slice’ does not name a type 1279 | void pos_export::write(const stored_mesh_slice& sl, const std::string &name){ | ^~~~~~~~~~~~~~~~~ getfem_export.cc:1279:8: error: redefinition of ‘void write(const int&, const string&)’ 1279 | void pos_export::write(const stored_mesh_slice& sl, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc:1242:8: note: ‘void write(const int&, const string&)’ previously defined here 1242 | void pos_export::write(const mesh& m, const std::string &name){ | ^~~~~~~~~~ getfem_export.cc: In function ‘void write(const int&, const string&)’: getfem_export.cc:1280:9: error: ‘state’ was not declared in this scope; did you mean ‘static’? 1280 | if (state >= IN_CELL_DATA) return; | ^~~~~ | static getfem_export.cc:1280:18: error: ‘IN_CELL_DATA’ was not declared in this scope 1280 | if (state >= IN_CELL_DATA) return; | ^~~~~~~~~~~~ getfem_export.cc:1281:5: error: ‘check_header’ was not declared in this scope 1281 | check_header(); | ^~~~~~~~~~~~ getfem_export.cc:1282:5: error: ‘exporting’ was not declared in this scope 1282 | exporting(sl); | ^~~~~~~~~ getfem_export.cc:1284:19: error: ‘os’ was not declared in this scope; did you mean ‘cos’? 1284 | if (""==name) os << "View \"mesh " << view <<"\" {\n"; | ^~ | cos getfem_export.cc:1284:43: error: ‘view’ was not declared in this scope 1284 | if (""==name) os << "View \"mesh " << view <<"\" {\n"; | ^~~~ getfem_export.cc:1285:10: error: ‘os’ was not declared in this scope; did you mean ‘cos’? 1285 | else os << "View \"" << name <<"\" {\n"; | ^~ | cos getfem_export.cc:1290:10: error: ‘size_type’ was not declared in this scope 1290 | for (size_type cell = 0; cell < pos_cell_type.size(); ++cell) { | ^~~~~~~~~ getfem_export.cc:1290:10: note: suggested alternatives: In file included from getfem/bgeot_convex_structure.h:44, from getfem/bgeot_mesh_structure.h:42, from getfem/bgeot_mesh.h:41, from getfem/getfem_mesh.h:43, from getfem/getfem_mesh_fem.h:41, from getfem/getfem_interpolation.h:42, from getfem/getfem_export.h:41, from getfem_export.cc:25: getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ 49 | typedef size_t size_type; | ^~~~~~~~~ getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ getfem/bgeot_poly.h:49:18: note: ‘bgeot::size_type’ getfem_export.cc:1290:30: error: ‘cell’ was not declared in this scope; did you mean ‘ceill’? 1290 | for (size_type cell = 0; cell < pos_cell_type.size(); ++cell) { | ^~~~ | ceill getfem_export.cc:1290:37: error: ‘pos_cell_type’ was not declared in this scope 1290 | for (size_type cell = 0; cell < pos_cell_type.size(); ++cell) { | ^~~~~~~~~~~~~ getfem_export.cc:1292:18: error: ‘pos_cell_dof’ was not declared in this scope; did you mean ‘cell_dof’? 1292 | cell_dof = pos_cell_dof[cell]; | ^~~~~~~~~~~~ | cell_dof getfem_export.cc:1294:7: error: ‘write_cell’ was not declared in this scope 1294 | write_cell(t,cell_dof,cell_dof_val); | ^~~~~~~~~~ getfem_export.cc:1297:5: error: ‘os’ was not declared in this scope; did you mean ‘cos’? 1297 | os << "};\n"; | ^~ | cos getfem_export.cc:1298:22: error: ‘view’ was not declared in this scope 1298 | os << "View[" << view << "].ShowScale = 0;\n"; | ^~~~ getfem_export.cc:1303:5: error: ‘state’ was not declared in this scope; did you mean ‘static’? 1303 | state = IN_CELL_DATA; | ^~~~~ | static getfem_export.cc:1303:13: error: ‘IN_CELL_DATA’ was not declared in this scope 1303 | state = IN_CELL_DATA; | ^~~~~~~~~~~~ getfem_export.cc: At global scope: getfem_export.cc:1305:1: error: expected declaration before ‘}’ token 1305 | } /* end of namespace getfem. */ | ^ make[2]: *** [Makefile:941: getfem_export.lo] エラー 1 make[2]: ディレクトリ '/home/tetsuo/getfem/src' から出ます make[1]: *** [Makefile:577: all-recursive] エラー 1 make[1]: ディレクトリ '/home/tetsuo/getfem' から出ます make: *** [Makefile:466: all] エラー 2