Page 1 of 1

Error installing on Ubuntu

Posted: Thu 04 Jul 2019, 21:36
by pwcunning
Not sure what these errors mean.. looks like its saying required files do not exist

~$ sudo apt-get install build-essential cmake git libhdf5-dev libvtk5-dev libboost-all-dev libcgal-dev libtinyxml-dev libqt4-dev libvtk5-qt4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libvtk5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libvtk7-dev:i386 libvtk6-dev:i386 libvtk7-dev libvtk6-dev

Package libvtk5-qt4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libvtk5-dev' has no installation candidate
E: Package 'libvtk5-qt4-dev' has no installation candidate

Re: Error installing on Ubuntu

Posted: Thu 04 Jul 2019, 22:54
by smerrett79
http://www.openems.de/forum/viewtopic.php?f=2&t=652

You seem to have the same problem as many people who are following the online instructions (which seem out of date). If you install vtk7 instead, then you should be fine. If you don't feel comfortable with installing from the command line, you can use synaptic to look for what's available and install from there. You can also find the libvtkX-qt-dev package from there too.

Re: Error installing on Ubuntu

Posted: Thu 04 Jul 2019, 23:22
by pwcunning
Thanks.. so what would be the updated command line to install?

Re: Error installing on Ubuntu

Posted: Thu 04 Jul 2019, 23:59
by smerrett79
~$ sudo apt-get install libvtk7-dev
If that doesn't work, use a package manager