How to solve errors during installation (hexBlocker for OpenFOAM)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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?







share|improve this question



















  • I suspect it's because the downloaded VTK-6.3.0 failed to build
    – steeldriver
    Jun 5 at 0:21














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?







share|improve this question



















  • I suspect it's because the downloaded VTK-6.3.0 failed to build
    – steeldriver
    Jun 5 at 0:21












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?







share|improve this question











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?









share|improve this question










share|improve this question




share|improve this question









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
















  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error