How to solve errors during installation (hexBlocker for OpenFOAM)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I tried installing HexBlocker for OpenFOAM precisely according to instructions that are at github HexBlocker wiki and installation failed with errors.
Note: Fresh ("brand new") Ubuntu 18.04 running in VirtualBox (on Win10).
A message from terminal:
of5@of5-VirtualBox~/hexBlocker$ ./install.sh
+ baseDir=/home/of5/hexBlocker
+ vtkBuild=/home/of5/hexBlocker/build/VTK
+ vtkInstall=/home/of5/hexBlocker/VTK
+ vtkSRC=/home/of5/hexBlocker/vtkSrc
+ hexBuild=/home/of5/hexBlocker/build/hexBlocker
+ hexBin=/home/of5/hexBlocker/bin
+ hexSRC=/home/of5/hexBlocker/src
+ nprocs=4
+ debug=false
++ which qmake
+ QMAKE=/usr/bin/qmake
++ which moc-qt4 moc
++ head -n1
+ MOC=/usr/bin/moc-qt4
++ which uic-qt4 uic
++ head -n1
+ UIC=/usr/bin/uic-qt4
+ '[' -z /usr/bin/qmake -o -z /usr/bin/moc-qt4 -o -z /usr/bin/uic-qt4 ']'
+ vtkpgk=VTK-6.3.0.tar.gz
+ '[' '!' -f VTK-6.3.0.tar.gz ']'
+ '[' '!' -d /home/of5/hexBlocker/vtkSrc ']'
+ '[' '!' -d /home/of5/hexBlocker/build/VTK ']'
+ cd /home/of5/hexBlocker
+ mkdir -p /home/of5/hexBlocker/build/hexBlocker
+ cd /home/of5/hexBlocker/build/hexBlocker
+ cmake -DVTK_DIR=/home/of5/hexBlocker/VTK/lib/cmake/vtk-6.3 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQT_MOC_EXECUTABLE=/usr/bin/moc-qt4 -DQT_UIC_EXECUTABLE=/usr/bin/uic-qt4 -DCMAKE_INSTALL_PREFIX=/home/of5/hexBlocker/bin /home/of5/hexBlocker/src
CMake Error at CMakeLists.txt:9 (FIND_PACKAGE):
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/of5/hexBlocker/build/hexBlocker/CMakeFiles/CMakeOutput.log".
+ echo 'error in cmake for hexBlocker'
error in cmake for hexBlocker
+ exit 1
+ make -j 4
make: *** No targets specified and no makefile found. Stop.
+ echo 'error in make for hexBlocker'
error in make for hexBlocker
+ exit 1
+ make install
make: *** No rule to make target 'install'. Stop.
+ '[' false == true ']'
+ exit 0
What should I try or change?
software-installation 18.04
add a comment |Â
up vote
0
down vote
favorite
I tried installing HexBlocker for OpenFOAM precisely according to instructions that are at github HexBlocker wiki and installation failed with errors.
Note: Fresh ("brand new") Ubuntu 18.04 running in VirtualBox (on Win10).
A message from terminal:
of5@of5-VirtualBox~/hexBlocker$ ./install.sh
+ baseDir=/home/of5/hexBlocker
+ vtkBuild=/home/of5/hexBlocker/build/VTK
+ vtkInstall=/home/of5/hexBlocker/VTK
+ vtkSRC=/home/of5/hexBlocker/vtkSrc
+ hexBuild=/home/of5/hexBlocker/build/hexBlocker
+ hexBin=/home/of5/hexBlocker/bin
+ hexSRC=/home/of5/hexBlocker/src
+ nprocs=4
+ debug=false
++ which qmake
+ QMAKE=/usr/bin/qmake
++ which moc-qt4 moc
++ head -n1
+ MOC=/usr/bin/moc-qt4
++ which uic-qt4 uic
++ head -n1
+ UIC=/usr/bin/uic-qt4
+ '[' -z /usr/bin/qmake -o -z /usr/bin/moc-qt4 -o -z /usr/bin/uic-qt4 ']'
+ vtkpgk=VTK-6.3.0.tar.gz
+ '[' '!' -f VTK-6.3.0.tar.gz ']'
+ '[' '!' -d /home/of5/hexBlocker/vtkSrc ']'
+ '[' '!' -d /home/of5/hexBlocker/build/VTK ']'
+ cd /home/of5/hexBlocker
+ mkdir -p /home/of5/hexBlocker/build/hexBlocker
+ cd /home/of5/hexBlocker/build/hexBlocker
+ cmake -DVTK_DIR=/home/of5/hexBlocker/VTK/lib/cmake/vtk-6.3 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQT_MOC_EXECUTABLE=/usr/bin/moc-qt4 -DQT_UIC_EXECUTABLE=/usr/bin/uic-qt4 -DCMAKE_INSTALL_PREFIX=/home/of5/hexBlocker/bin /home/of5/hexBlocker/src
CMake Error at CMakeLists.txt:9 (FIND_PACKAGE):
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/of5/hexBlocker/build/hexBlocker/CMakeFiles/CMakeOutput.log".
+ echo 'error in cmake for hexBlocker'
error in cmake for hexBlocker
+ exit 1
+ make -j 4
make: *** No targets specified and no makefile found. Stop.
+ echo 'error in make for hexBlocker'
error in make for hexBlocker
+ exit 1
+ make install
make: *** No rule to make target 'install'. Stop.
+ '[' false == true ']'
+ exit 0
What should I try or change?
software-installation 18.04
I suspect it's because the downloaded VTK-6.3.0 failed to build
â steeldriver
Jun 5 at 0:21
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I tried installing HexBlocker for OpenFOAM precisely according to instructions that are at github HexBlocker wiki and installation failed with errors.
Note: Fresh ("brand new") Ubuntu 18.04 running in VirtualBox (on Win10).
A message from terminal:
of5@of5-VirtualBox~/hexBlocker$ ./install.sh
+ baseDir=/home/of5/hexBlocker
+ vtkBuild=/home/of5/hexBlocker/build/VTK
+ vtkInstall=/home/of5/hexBlocker/VTK
+ vtkSRC=/home/of5/hexBlocker/vtkSrc
+ hexBuild=/home/of5/hexBlocker/build/hexBlocker
+ hexBin=/home/of5/hexBlocker/bin
+ hexSRC=/home/of5/hexBlocker/src
+ nprocs=4
+ debug=false
++ which qmake
+ QMAKE=/usr/bin/qmake
++ which moc-qt4 moc
++ head -n1
+ MOC=/usr/bin/moc-qt4
++ which uic-qt4 uic
++ head -n1
+ UIC=/usr/bin/uic-qt4
+ '[' -z /usr/bin/qmake -o -z /usr/bin/moc-qt4 -o -z /usr/bin/uic-qt4 ']'
+ vtkpgk=VTK-6.3.0.tar.gz
+ '[' '!' -f VTK-6.3.0.tar.gz ']'
+ '[' '!' -d /home/of5/hexBlocker/vtkSrc ']'
+ '[' '!' -d /home/of5/hexBlocker/build/VTK ']'
+ cd /home/of5/hexBlocker
+ mkdir -p /home/of5/hexBlocker/build/hexBlocker
+ cd /home/of5/hexBlocker/build/hexBlocker
+ cmake -DVTK_DIR=/home/of5/hexBlocker/VTK/lib/cmake/vtk-6.3 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQT_MOC_EXECUTABLE=/usr/bin/moc-qt4 -DQT_UIC_EXECUTABLE=/usr/bin/uic-qt4 -DCMAKE_INSTALL_PREFIX=/home/of5/hexBlocker/bin /home/of5/hexBlocker/src
CMake Error at CMakeLists.txt:9 (FIND_PACKAGE):
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/of5/hexBlocker/build/hexBlocker/CMakeFiles/CMakeOutput.log".
+ echo 'error in cmake for hexBlocker'
error in cmake for hexBlocker
+ exit 1
+ make -j 4
make: *** No targets specified and no makefile found. Stop.
+ echo 'error in make for hexBlocker'
error in make for hexBlocker
+ exit 1
+ make install
make: *** No rule to make target 'install'. Stop.
+ '[' false == true ']'
+ exit 0
What should I try or change?
software-installation 18.04
I tried installing HexBlocker for OpenFOAM precisely according to instructions that are at github HexBlocker wiki and installation failed with errors.
Note: Fresh ("brand new") Ubuntu 18.04 running in VirtualBox (on Win10).
A message from terminal:
of5@of5-VirtualBox~/hexBlocker$ ./install.sh
+ baseDir=/home/of5/hexBlocker
+ vtkBuild=/home/of5/hexBlocker/build/VTK
+ vtkInstall=/home/of5/hexBlocker/VTK
+ vtkSRC=/home/of5/hexBlocker/vtkSrc
+ hexBuild=/home/of5/hexBlocker/build/hexBlocker
+ hexBin=/home/of5/hexBlocker/bin
+ hexSRC=/home/of5/hexBlocker/src
+ nprocs=4
+ debug=false
++ which qmake
+ QMAKE=/usr/bin/qmake
++ which moc-qt4 moc
++ head -n1
+ MOC=/usr/bin/moc-qt4
++ which uic-qt4 uic
++ head -n1
+ UIC=/usr/bin/uic-qt4
+ '[' -z /usr/bin/qmake -o -z /usr/bin/moc-qt4 -o -z /usr/bin/uic-qt4 ']'
+ vtkpgk=VTK-6.3.0.tar.gz
+ '[' '!' -f VTK-6.3.0.tar.gz ']'
+ '[' '!' -d /home/of5/hexBlocker/vtkSrc ']'
+ '[' '!' -d /home/of5/hexBlocker/build/VTK ']'
+ cd /home/of5/hexBlocker
+ mkdir -p /home/of5/hexBlocker/build/hexBlocker
+ cd /home/of5/hexBlocker/build/hexBlocker
+ cmake -DVTK_DIR=/home/of5/hexBlocker/VTK/lib/cmake/vtk-6.3 -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQT_MOC_EXECUTABLE=/usr/bin/moc-qt4 -DQT_UIC_EXECUTABLE=/usr/bin/uic-qt4 -DCMAKE_INSTALL_PREFIX=/home/of5/hexBlocker/bin /home/of5/hexBlocker/src
CMake Error at CMakeLists.txt:9 (FIND_PACKAGE):
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/of5/hexBlocker/build/hexBlocker/CMakeFiles/CMakeOutput.log".
+ echo 'error in cmake for hexBlocker'
error in cmake for hexBlocker
+ exit 1
+ make -j 4
make: *** No targets specified and no makefile found. Stop.
+ echo 'error in make for hexBlocker'
error in make for hexBlocker
+ exit 1
+ make install
make: *** No rule to make target 'install'. Stop.
+ '[' false == true ']'
+ exit 0
What should I try or change?
software-installation 18.04
asked Jun 4 at 22:21
Ekscel
11
11
I suspect it's because the downloaded VTK-6.3.0 failed to build
â steeldriver
Jun 5 at 0:21
add a comment |Â
I suspect it's because the downloaded VTK-6.3.0 failed to build
â steeldriver
Jun 5 at 0:21
I suspect it's because the downloaded VTK-6.3.0 failed to build
â steeldriver
Jun 5 at 0:21
I suspect it's because the downloaded VTK-6.3.0 failed to build
â steeldriver
Jun 5 at 0:21
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043639%2fhow-to-solve-errors-during-installation-hexblocker-for-openfoam%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I suspect it's because the downloaded VTK-6.3.0 failed to build
â steeldriver
Jun 5 at 0:21