You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake runs fine but when running make I get following error messages:
Scanning dependencies of target pragmatic
[ 8%] Building CXX object CMakeFiles/pragmatic.dir/src/ticker.cpp.o
[ 16%] Building CXX object CMakeFiles/pragmatic.dir/src/generate_Steiner_ellipse_3d.cpp.o
[ 25%] Building CXX object CMakeFiles/pragmatic.dir/src/mpi_tools.cpp.o
[ 33%] Building CXX object CMakeFiles/pragmatic.dir/src/cpragmatic.cpp.o
In file included from /home/david/Stažené/pragmatic-1.1.x/src/cpragmatic.cpp:48:0:
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h: In static member function ‘static Mesh<real_t>* VTKTools<real_t>::import_vtu(vtkUnstructuredGrid_)’:
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:250:40: error: there are no arguments to ‘METIS_PartMeshNodal’ that depend on a template parameter, so a declaration of ‘METIS_PartMeshNodal’ must be available [-fpermissive]
&(npart[0]));
^
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:250:40: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h: In instantiation of ‘static Mesh<real_t>_ VTKTools<real_t>::import_vtu(vtkUnstructuredGrid_) [with real_t = double]’:
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:116:22: required from ‘static Mesh<real_t>_ VTKTools<real_t>::import_vtu(std::__cxx11::string) [with real_t = double; std::__cxx11::string = std::__cxx11::basic_string]’
/home/david/Stažené/pragmatic-1.1.x/src/cpragmatic.cpp:112:61: required from here
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:242:28: error: ‘METIS_PartMeshNodal’ was not declared in this scope
METIS_PartMeshNodal(&intNElements,
^
CMakeFiles/pragmatic.dir/build.make:134: návod pro cíl „CMakeFiles/pragmatic.dir/src/cpragmatic.cpp.o“ selhal
make[2]: *** [CMakeFiles/pragmatic.dir/src/cpragmatic.cpp.o] Chyba 1
CMakeFiles/Makefile2:67: návod pro cíl „CMakeFiles/pragmatic.dir/all“ selhal
make[1]: *** [CMakeFiles/pragmatic.dir/all] Chyba 2
Makefile:127: návod pro cíl „all“ selhal
make: *** [all] Chyba 2
(sorry for the message being parially czech)
Is there a way to fix it?
Thanks a lot.
David Šerý
The text was updated successfully, but these errors were encountered:
When running
$cmake .
$make
cmake runs fine but when running make I get following error messages:
Scanning dependencies of target pragmatic
[ 8%] Building CXX object CMakeFiles/pragmatic.dir/src/ticker.cpp.o
[ 16%] Building CXX object CMakeFiles/pragmatic.dir/src/generate_Steiner_ellipse_3d.cpp.o
[ 25%] Building CXX object CMakeFiles/pragmatic.dir/src/mpi_tools.cpp.o
[ 33%] Building CXX object CMakeFiles/pragmatic.dir/src/cpragmatic.cpp.o
In file included from /home/david/Stažené/pragmatic-1.1.x/src/cpragmatic.cpp:48:0:
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h: In static member function ‘static Mesh<real_t>* VTKTools<real_t>::import_vtu(vtkUnstructuredGrid_)’:
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:250:40: error: there are no arguments to ‘METIS_PartMeshNodal’ that depend on a template parameter, so a declaration of ‘METIS_PartMeshNodal’ must be available [-fpermissive]
&(npart[0]));
^
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:250:40: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h: In instantiation of ‘static Mesh<real_t>_ VTKTools<real_t>::import_vtu(vtkUnstructuredGrid_) [with real_t = double]’:
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:116:22: required from ‘static Mesh<real_t>_ VTKTools<real_t>::import_vtu(std::__cxx11::string) [with real_t = double; std::__cxx11::string = std::__cxx11::basic_string]’
/home/david/Stažené/pragmatic-1.1.x/src/cpragmatic.cpp:112:61: required from here
/home/david/Stažené/pragmatic-1.1.x/include/VTKTools.h:242:28: error: ‘METIS_PartMeshNodal’ was not declared in this scope
METIS_PartMeshNodal(&intNElements,
^
CMakeFiles/pragmatic.dir/build.make:134: návod pro cíl „CMakeFiles/pragmatic.dir/src/cpragmatic.cpp.o“ selhal
make[2]: *** [CMakeFiles/pragmatic.dir/src/cpragmatic.cpp.o] Chyba 1
CMakeFiles/Makefile2:67: návod pro cíl „CMakeFiles/pragmatic.dir/all“ selhal
make[1]: *** [CMakeFiles/pragmatic.dir/all] Chyba 2
Makefile:127: návod pro cíl „all“ selhal
make: *** [all] Chyba 2
(sorry for the message being parially czech)
Is there a way to fix it?
Thanks a lot.
David Šerý
The text was updated successfully, but these errors were encountered: