Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run makefile (Ubuntu 16.04 LTS) #76

Open
xseryda opened this issue Jun 9, 2016 · 0 comments
Open

Unable to run makefile (Ubuntu 16.04 LTS) #76

xseryda opened this issue Jun 9, 2016 · 0 comments

Comments

@xseryda
Copy link

xseryda commented Jun 9, 2016

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ý

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant