Home   Manual

Trouble Building Avogadro2 / Open Chemistry


#1

Continuing the discussion from Avogadro in Google Summer of Code 2016:

I think it’s probably better to post this in a separate thread of “Can’t build Avogadro 2”. When I build the openchemistry “super project” there’s directories for each sub-project, e.g.

CMakeCache.txt       avogadrolibs/        mongochem/
CMakeFiles/          avogadrolibs-prefix/ mongochem-prefix/
Makefile             cmake_install.cmake  prefix/
avogadroapp/         molequeue/           thirdparty/
avogadroapp-prefix/  molequeue-prefix/

Inside avogadroapp/ is bin/

AvogadroCPackOptions.cmake  Makefile
CMakeCache.txt              avogadro/
CMakeFiles/                 bin/
COPYING.txt                 cmake_install.cmake
CPackConfig.cmake           install_manifest.txt
CPackSourceConfig.cmake

#2

I am building it using the steps mentioned in http://wiki.openchemistry.org/Build but I am getting some error while executing make -j5 command. "CMake Error at boost-prefix/src/boost-stamp/download-boost.cmake:9 (file):
file DOWNLOAD HASH mismatch

for file: [/home/kashish/Downloads/boost_1_55_0.tar.gz]
  expected hash: [93780777cfbf999a600f62883bd54b17]
    actual hash: [d41d8cd98f00b204e9800998ecf8427e]"

any help would be appreciated.


#3

Yes, there is also a GitHub issue about this.

It seems as if some of the downloads have changed.


#4

So What should I do to build open-chemistry.


#5

As @mhanwell suggested on the linked GitHub issue, you can download the dependencies like Boost separately and then use cmake-gui to set appropriate flags:

I have verified that the Boost source file MD5 does in fact match, and would advise you to use cmake-gui in the build directory and turn on USE_SYSTEM_BOOST, GLEW, etc, and install these packages with your package manager. If you want to build them all you will need to investigate what is wrong with your internet connection, as I am seeing the same MD5 results from freshly downloaded files.


#6

Thanks for the help .


#7

Taking a deeper look at it now, I pushed a fix for GLEW not linking explicitly to libX11, and am more than happy to help anyone out who has trouble building from the superbuild. It is there as a convenience to help get people up and running more quickly. I will expand the build page in response to questions here too, and already added some additional detail on prerequisites.

I have verified on a third independent machine that the Boost tarball MD5 matches, and am building it locally now. Superbuilds are great when you don’t have anything better, i.e. Windows or a vanilla Mac, but I would favor your package manager when possible on Linux, or consider installing Home Brew. I would love to build up a list of packages to make it even easier to get up and running there.


#8

I have used cmake-gui in the build directory and turned on USE_SYSTEM_BOOST , GLEW ,etc and installed these packages with package manager.I have also installed the prerequisite you mentioned openGL and Qt 5. But when I do make -j5 it stills shows error and my avogadrapp directory is still empty.

extract of log

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package):
Could not find a package configuration file provided by “Qt5Designer” with
any of the following names:

Qt5DesignerConfig.cmake
qt5designer-config.cmake

Add the installation prefix of “Qt5Designer” to CMAKE_PREFIX_PATH or set
"Qt5Designer_DIR" to a directory containing one of the above files. If
"Qt5Designer" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
GUISupport/Qt/CMakeLists.txt:113 (find_package)

– Configuring incomplete, errors occurred!

make[2]: *** [thirdparty/VTK-prefix/src/VTK-stamp/VTK-configure] Error 1
make[1]: *** [thirdparty/CMakeFiles/VTK.dir/all] Error 2
make: *** [all] Error 2

As you mentioned in the mailing list disabling VTK would work. how can we disable VTK and what changes need to be done.

Thanks


#9

Yeah, that is a part of Qt 5 that some Linux distributions do not seem to install, it would be helpful if you could find the package name, and we could add that to the wiki. I suspect that is Ubuntu, they split Qt 5 in to so many pieces, and it can be tough ensuring they are all installed.


#10

whole extract of log If this could help

CMake Error at pcre-stamp/download-pcre.cmake:9 (file):
file DOWNLOAD HASH mismatch

for file: [/home/kashish/Downloads/pcre-8.34.tar.gz]
  expected hash: [eb34b2c9c727fd64940d6fd9a00995eb]
    actual hash: [d41d8cd98f00b204e9800998ecf8427e]

make[2]: *** [thirdparty/pcre-prefix/src/pcre-stamp/pcre-download] Error 1
make[1]: *** [thirdparty/CMakeFiles/pcre.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
CMake Error at gtest-stamp/download-gtest.cmake:9 (file):
file DOWNLOAD HASH mismatch

for file: [/home/kashish/Downloads/gtest-1.7.0.zip]
  expected hash: [2d6ec8ccdf5c46b05ba54a9fd1d130d7]
    actual hash: [d41d8cd98f00b204e9800998ecf8427e]

CMake Error at kdsoap-stamp/download-kdsoap.cmake:9 (file):
file DOWNLOAD HASH mismatch

for file: [/home/kashish/Downloads/kdsoap-f3bbcf1e.tar.gz]
  expected hash: [d2dcf62844d9e5919ba21788a375feca]
    actual hash: [d41d8cd98f00b204e9800998ecf8427e]

make[2]: *** [thirdparty/gtest-prefix/src/gtest-stamp/gtest-download] Error 1
make[2]: *** [thirdparty/kdsoap-prefix/src/kdsoap-stamp/kdsoap-download] Error 1
make[1]: *** [thirdparty/CMakeFiles/kdsoap.dir/all] Error 2
make[1]: *** [thirdparty/CMakeFiles/gtest.dir/all] Error 2
[ 13%] Performing download step (download, verify and extract) for ‘chemkit’
– downloading…
src=‘http://www.openchemistry.org/files/tpl/chemkit-0.1-d42dd8d7.tar.gz
dst=’/home/kashish/Downloads/chemkit-0.1-d42dd8d7.tar.gz’
timeout='none’
CMake Error at chemkit-stamp/download-chemkit.cmake:9 (file):
file DOWNLOAD HASH mismatch

for file: [/home/kashish/Downloads/chemkit-0.1-d42dd8d7.tar.gz]
  expected hash: [0bae7c476637ef732b38b28ca51a193e]
    actual hash: [d41d8cd98f00b204e9800998ecf8427e]

make[2]: *** [thirdparty/chemkit-prefix/src/chemkit-stamp/chemkit-download] Error 1
make[1]: *** [thirdparty/CMakeFiles/chemkit.dir/all] Error 2
– Group StandAlone modules: vtkIOLSDyna;vtkIOParallelXML;vtkIOImport;vtkIOCore;vtkIOInfovis;vtkIOEnSight;vtkIOPLY;vtkIOSQL;vtkIOMINC;vtkIOXMLParser;vtkIOXML;vtkIOImage;vtkIOExodus;vtkIONetCDF;vtkIOParallel;vtkIOMovie;vtkIOAMR;vtkIOGeometry;vtkIOVideo;vtkIOLegacy;vtkImagingColor;vtkImagingFourier;vtkImagingCore;vtkImagingStencil;vtkImagingMorphological;vtkImagingStatistics;vtkImagingSources;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkInfovisCore;vtkInfovisLayout;vtkCommonSystem;vtkCommonCore;vtkCommonMisc;vtkCommonComputationalGeometry;vtkCommonTransforms;vtkCommonExecutionModel;vtkParallelCore;vtkChartsCore;vtkFiltersCore;vtkFiltersImaging;vtkFiltersExtraction;vtkFiltersProgrammable;vtkFiltersModeling;vtkFiltersTexture;vtkFiltersStatistics;vtkFiltersParallel;vtkFiltersVerdict;vtkFiltersSelection;vtkFiltersGeneric;vtkFiltersSources;vtkFiltersParallelImaging;vtkFiltersGeneral;vtkFiltersAMR;vtkFiltersGeometry;vtkFiltersHybrid;vtkFiltersHyperTree;vtkFiltersFlowPaths;vtkFiltersSMP;vtkDomainsChemistry
– Group MPI modules: vtkIOMPIParallel;vtkIOMPIImage;vtkIOParallelNetCDF;vtkParallelMPI;vtkFiltersParallelMPI;vtkFiltersParallelGeometry
– Group Rendering modules: vtkIOExport;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingContext2D;vtkRenderingVolume;vtkRenderingLabel;vtkRenderingImage;vtkRenderingLIC;vtkRenderingAnnotation;vtkRenderingLOD;vtkViewsCore;vtkViewsInfovis;vtkViewsContext2D;vtkGeovisCore;vtkInteractionStyle;vtkInteractionWidgets;vtkInteractionImage
– Group Tk modules: vtkRenderingTk
– Group Qt modules: vtkRenderingQt;vtkViewsQt;vtkGUISupportQtSQL;vtkGUISupportQt;vtkGUISupportQtOpenGL;vtkGUISupportQtWebkit
– Group Imaging modules: vtkRenderingImage;vtkImagingColor;vtkImagingFourier;vtkImagingStencil;vtkImagingMorphological;vtkImagingStatistics;vtkImagingSources;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkInteractionImage;vtkFiltersImaging
– Group Views modules: vtkViewsContext2D;vtkViewsGeovis
– Group Web modules: vtkWebCore;vtkWebPython;vtkWebApplications;vtkWebJavaScript;vtkWebInstall;vtkWebGLExporter
– Backend OpenGL modules: vtkRenderingContextOpenGL;vtkRenderingVolumeOpenGL;vtkRenderingOpenGL
– Enabling modules for OpenGL.
– Backend OpenGL2 modules: vtkRenderingVolumeOpenGL2;vtkRenderingLICOpenGL2;vtkRenderingContextOpenGL2;vtkRenderingOpenGL2;vtkDomainsChemistryOpenGL2
– Enabled 68 modules:
– * vtkChartsCore, requested by Module_vtkChartsCore.
– * vtkCommonColor, needed by 3 modules:
vtkChartsCore
vtkRenderingCore
vtkViewsInfovis
– * vtkCommonComputationalGeometry, needed by 2 modules:
vtkFiltersGeneral
vtkFiltersSources
– * vtkCommonCore, needed by 4 modules:
vtkCommonMath
vtkCommonSystem
vtkCommonTransforms
vtkParallelCore
– * vtkCommonDataModel, needed by 13 modules:
vtkCommonColor
vtkCommonComputationalGeometry
vtkCommonExecutionModel
vtkDomainsChemistry
vtkFiltersExtraction
vtkIOCore
vtkIOGeometry
vtkIOImage
vtkIOLegacy
vtkIOXMLParser
vtkImagingCore
vtkInfovisCore
vtkRenderingContext2D
– * vtkCommonExecutionModel, needed by 9 modules:
vtkFiltersCore
vtkFiltersExtraction
vtkFiltersStatistics
vtkGUISupportQt
vtkIOCore
vtkIOImage
vtkImagingCore
vtkInfovisLayout
vtkRenderingCore
– * vtkCommonMath, needed by 9 modules:
vtkCommonComputationalGeometry
vtkCommonDataModel
vtkCommonMisc
vtkCommonTransforms
vtkFiltersCore
vtkFiltersStatistics
vtkIOImage
vtkImagingCore
vtkRenderingContext2D
– * vtkCommonMisc, needed by 9 modules:
vtkCommonDataModel
vtkCommonExecutionModel
vtkFiltersCore
vtkFiltersStatistics
vtkIOCore
vtkIOGeometry
vtkIOImage
vtkIOLegacy
vtkIOXMLParser
– * vtkCommonSystem, needed by 9 modules:
vtkCommonComputationalGeometry
vtkCommonDataModel
vtkFiltersCore
vtkIOGeometry
vtkIOImage
vtkIOLegacy
vtkIOXMLParser
vtkImagingCore
vtkInfovisCore
– * vtkCommonTransforms, needed by 7 modules:
vtkCommonDataModel
vtkFiltersCore
vtkFiltersStatistics
vtkIOImage
vtkImagingCore
vtkRenderingContext2D
vtkRenderingCore
– * vtkDICOMParser, needed by vtkIOImage.
– * vtkDomainsChemistry, requested by Module_vtkDomainsChemistry.
– * vtkFiltersCore, needed by 3 modules:
vtkFiltersExtraction
vtkFiltersGeneral
vtkFiltersGeometry
– * vtkFiltersExtraction, needed by 5 modules:
vtkGUISupportQt
vtkInfovisCore
vtkInteractionStyle
vtkRenderingCore
vtkRenderingLabel
– * vtkFiltersGeneral, needed by 7 modules:
vtkFiltersExtraction
vtkFiltersHybrid
vtkFiltersModeling
vtkFiltersSources
vtkFiltersTexture
vtkInfovisCore
vtkRenderingVolumeOpenGL
– * vtkFiltersGeometry, needed by 2 modules:
vtkRenderingCore
vtkViewsInfovis
– * vtkFiltersHybrid, needed by vtkInteractionWidgets.
– * vtkFiltersImaging, needed by vtkViewsInfovis.
– * vtkFiltersModeling, needed by 3 modules:
vtkInfovisLayout
vtkInteractionWidgets
vtkViewsInfovis
– * vtkFiltersSources, needed by 7 modules:
vtkDomainsChemistry
vtkFiltersModeling
vtkInteractionStyle
vtkRenderingAnnotation
vtkRenderingCore
vtkRenderingQt
vtkRenderingVolumeOpenGL
– * vtkFiltersStatistics, needed by 2 modules:
vtkFiltersExtraction
vtkFiltersImaging
– * vtkFiltersTexture, needed by vtkRenderingQt.
– * vtkGUISupportQt, needed by 2 modules:
vtkGUISupportQtOpenGL
vtkRenderingQt
– * vtkGUISupportQtOpenGL, requested by Module_vtkGUISupportQtOpenGL.
– * vtkIOCore, needed by 4 modules:
vtkIOGeometry
vtkIOImage
vtkIOLegacy
vtkIOXMLParser
– * vtkIOGeometry, needed by vtkIOXML.
– * vtkIOImage, needed by vtkImagingHybrid.
– * vtkIOLegacy, needed by vtkParallelCore.
– * vtkIOXML, needed by vtkDomainsChemistry.
– * vtkIOXMLParser, needed by vtkIOXML.
– * vtkImagingColor, needed by vtkRenderingAnnotation.
– * vtkImagingCore, needed by 6 modules:
vtkGUISupportQt
vtkImagingColor
vtkImagingFourier
vtkImagingHybrid
vtkImagingSources
vtkRenderingVolume
– * vtkImagingFourier, needed by vtkFiltersStatistics.
– * vtkImagingGeneral, needed by 2 modules:
vtkFiltersImaging
vtkInteractionWidgets
– * vtkImagingHybrid, needed by 3 modules:
vtkInfovisLayout
vtkInteractionWidgets
vtkRenderingOpenGL
– * vtkImagingSources, needed by 3 modules:
vtkFiltersHybrid
vtkFiltersImaging
vtkImagingGeneral
– * vtkInfovisCore, needed by 2 modules:
vtkChartsCore
vtkInfovisLayout
– * vtkInfovisLayout, needed by vtkViewsInfovis.
– * vtkInteractionStyle, needed by 3 modules:
vtkGUISupportQt
vtkInteractionWidgets
vtkViewsInfovis
– * vtkInteractionWidgets, needed by vtkViewsCore.
– * vtkMetaIO, needed by vtkIOImage.
– * vtkParallelCore, requested by Module_vtkParallelCore.
– * vtkParseOGLExt, needed by vtkRenderingOpenGL.
– * vtkRenderingAnnotation, needed by vtkInteractionWidgets.
– * vtkRenderingContext2D, needed by 4 modules:
vtkChartsCore
vtkRenderingContextOpenGL
vtkViewsContext2D
vtkViewsInfovis
– * vtkRenderingContextOpenGL, needed by vtkRenderingContext2D.
– * vtkRenderingCore, needed by 9 modules:
vtkDomainsChemistry
vtkFiltersHybrid
vtkInteractionStyle
vtkRenderingContext2D
vtkRenderingFreeType
vtkRenderingFreeType
vtkRenderingOpenGL
vtkRenderingVolume
vtkViewsCore
– * vtkRenderingFreeType, needed by 5 modules:
vtkInteractionWidgets
vtkRenderingAnnotation
vtkRenderingContext2D
vtkRenderingContextOpenGL
vtkRenderingLabel
– * vtkRenderingLabel, needed by 2 modules:
vtkRenderingQt
vtkViewsInfovis
– * vtkRenderingOpenGL, needed by 5 modules:
vtkGUISupportQt
vtkGUISupportQtOpenGL
vtkRenderingContextOpenGL
vtkRenderingCore
vtkRenderingVolumeOpenGL
– * vtkRenderingQt, requested by Module_vtkRenderingQt.
– * vtkRenderingVolume, needed by 2 modules:
vtkInteractionWidgets
vtkRenderingVolumeOpenGL
– * vtkRenderingVolumeOpenGL, requested by Module_vtkRenderingVolumeOpenGL.
– * vtkUtilitiesEncodeString, needed by vtkRenderingOpenGL.
– * vtkUtilitiesHashSource, needed by vtkParallelCore.
– * vtkViewsContext2D, requested by Module_vtkViewsContext2D.
– * vtkViewsCore, needed by 2 modules:
vtkViewsContext2D
vtkViewsInfovis
– * vtkViewsInfovis, requested by Module_vtkViewsInfovis.
– * vtkalglib, needed by vtkFiltersStatistics.
– * vtkexpat, needed by vtkIOXMLParser.
– * vtkfreetype, needed by 2 modules:
vtkRenderingFreeType
vtkftgl
– * vtkftgl, needed by vtkRenderingFreeType.
– * vtkjpeg, needed by 2 modules:
vtkIOImage
vtktiff
– * vtkjsoncpp, needed by vtkIOGeometry.
– * vtkpng, needed by vtkIOImage.
– * vtksys, needed by 16 modules:
vtkCommonCore
vtkCommonDataModel
vtkCommonSystem
vtkDICOMParser
vtkIOCore
vtkIOGeometry
vtkIOImage
vtkIOLegacy
vtkIOXML
vtkImagingFourier
vtkParallelCore
vtkRenderingCore
vtkRenderingOpenGL
vtkRenderingVolumeOpenGL
vtkUtilitiesEncodeString
vtkUtilitiesHashSource
– * vtktiff, needed by vtkIOImage.
– * vtkzlib, needed by 7 modules:
vtkIOCore
vtkIOGeometry
vtkIOImage
vtkMetaIO
vtkfreetype
vtkpng
vtktiff
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package):
Could not find a package configuration file provided by “Qt5Designer” with
any of the following names:

Qt5DesignerConfig.cmake
qt5designer-config.cmake

Add the installation prefix of “Qt5Designer” to CMAKE_PREFIX_PATH or set
"Qt5Designer_DIR" to a directory containing one of the above files. If
"Qt5Designer" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
GUISupport/Qt/CMakeLists.txt:113 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/kashish/openchemistry-build/thirdparty/VTK/CMakeFiles/CMakeOutput.log”.
See also “/home/kashish/openchemistry-build/thirdparty/VTK/CMakeFiles/CMakeError.log”.
make[2]: *** [thirdparty/VTK-prefix/src/VTK-stamp/VTK-configure] Error 1
make[1]: *** [thirdparty/CMakeFiles/VTK.dir/all] Error 2
make: *** [all] Error 2


#11

It looks like all downloads of source are failing, and as they have the same MD5 I suspect they are failing to download due to network issues. Do you need to use a proxy to access the Internet or something? CMake uses curl to fetch the source, and then checks the MD5 sum before proceeding. I will be offline for 2+ hours now, but you are missing the Qt 5 Designer module, and the downloaded source files are likely empty - look at them in ~/Downloads, and see if they are valid, you could download them manually and place them in ~/Downloads, the build process will use them if valid.

As a shortcut, you can type make -j5 avogadroapp to only build Avogadro and its dependencies, thus avoiding some of those things you are not interested in. You could untick BUILD_MONGOCHEM to get rid of a number of them too.


#12

Yeah proxy might be the reason and yes downloaded source files are empty.If you could give the link from where i could download the source files manually it would be of great help .


#13

Take a look at this for curl, it should help you pass in proxy settings.


#14

Proxy was one of the issues but i tried using mobile data still it shows error
extract of the log

Could not find a package configuration file provided by “Qt5Designer” with
any of the following names:

Qt5DesignerConfig.cmake
qt5designer-config.cmake

Add the installation prefix of “Qt5Designer” to CMAKE_PREFIX_PATH or set
"Qt5Designer_DIR" to a directory containing one of the above files. If
"Qt5Designer" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
GUISupport/Qt/CMakeLists.txt:113 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/kashish/openchemistry-build/thirdparty/VTK/CMakeFiles/CMakeOutput.log”.
See also “/home/kashish/openchemistry-build/thirdparty/VTK/CMakeFiles/CMakeError.log”.
make[2]: *** [thirdparty/VTK-prefix/src/VTK-stamp/VTK-configure] Error 1
make[1]: *** [thirdparty/CMakeFiles/VTK.dir/all] Error 2
make: *** [all] Error 2

and i am not able to figure out how to get over it because when I look directory /usr/lib/x86_64-linux-gnu/qt5/bin/ executable named designer exists.


#15

Have you tried that?

CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/qt5 cmake /PATH/TO/SOURCE

I sometimes need to do this on Mac as well, if cmake cannot find tools.


#16

I am trying to compile 1.90.0, downloaded as a tarball. Running OpenSuse 42.3, Qt 4.8.6.

I have Eigen3 installed in /usr/local/Eigen and the FindEigen3.cmake does not find it. I can work around this problem by editing the CMakeCache.txt file.

The real problem is spglib. I find two versions - 1.9.7 and 1.10.3. I can make either and install them in the usual spot: /usr/local and the FindSpglib does not find either. I can edit CMakeCache.txt to point to the include file but I have had not success with the libraries. The libraries in /usr/local/lib are libsymspg.a and libsymspg.so. When I try to point Cmake at /usr/local/lib I get error messages about modules trying to link to a directory. I don’t use cmake on a regular basis so I don’t even know where to look.


#17

Are you building avogadrolibs separately, or the openchemistry super-project? The latter will download and compile/link Eigen and spglib if you don’t have them installed.

But more to the point, if you’re having errors when building, the exact error message is helpful. In other words, what do you mean by:

I try to point Cmake at /usr/local/lib I get error messages about modules trying to link to a directory.

How are you pointing cmake at the directory?

Are you using the installation instructions from here?
http://wiki.openchemistry.org/Build


#18

I am building avogadroglibs and I am being a naive user. My internet access is limited so I usually download code and compile it off line so I am not using git. I downloaded the tarballs for avogadroapp, avogadrolibs,molequeue, and the latest spglib. I already had OpenBabel 2…4.1 installed.

I unzip spglib-master, create a build directory, cd to that directory and type cmake, then make and finally sudo make install. For some reason the install goes to a subdirectory of spglib-master instead of /usr/local. So I copy the files manually. The library name is libsymspg.xxx (not spglib which I expected from reading the FindSpglib.cmake file).

Next I build molequeue with no problems and I have Eigen3 in /usr/local/Eigen.

In avogadrolibs-1.90.0 I create a build directory, cd to that directory, type cmake … The first complaint is about Eigen3. I tried setting an environment variable: EIGEN3_INCLUDE_DIR=/usr/local but this does not help. So I edit the CMakeCache.txt file and set the EIGEN3 include directory to the actual location. Then I run cmake again. This time it complains about SPGLIB include and library. The include directory was easy to fix, it took me longer to figure out what library name to use and finally set it to libsymspg.so. Run cmake again and it runs. So I solved yesterdays problem.

When I run make I now get an error in compiling molequeue/batchjob.cpp - variable 'QT5JSON_EXPORT" QJsonArray has initializer but incomplete type. This usually means there is a missing or wrong version of a Qt include file. This machine is running Qt4.8.6 and does not have Qt 5 installed. I moved to my other linux machine which is running Qt5.9.1 and ran through all the above steps until I got to molequeue which failed because it requires Qt4. Are you expecting both Qt4 and Qt5?


#19

They should only build with Qt 5, I double checked and the Avogadro/MoleQueue build files only contain Qt5 find_package calls. I removed all of the Qt 4 support a long time ago, it is possible you are using an old version, but otherwise it should never look for anything other than Qt 5.

It is possible that things are getting confused somewhere, I added several flags to the CMakeLists.txt to disable optional features. It is possible to scan the USE_* flags in the cmake-gui, or ccmake, and set USE_MOLEQUEUE, USE_LIBSPG, USE_LIBMSYM to off. They default to on, and can be difficult to build/are not always necessary.

I was actually about to do some early spring cleaning, and go over our build system to make sure things are smooth, and ensure recent dependencies work. I want to tag some updated releases, and fix any issues with updated dependencies such as Qt 5.10 if they exist. There are one or two lingering spots with Qt5 OpenGL module dependencies, but that is mostly gone now.


#20

I just pushed a few minor updates to MoleQueue, it builds fine here using Qt 5.10 on Arch Linux, and on my Ubuntu 16.04 laptop (that Qt is a little older). If you want to skip using the superbuild stuff the main challenge is getting all of the dependencies compiled/installed. If you have them in a common install prefix you can add CMAKE_INSTALL_PREFIX to your CMakeCache.txt to force CMake to look in that prefix before any other. I use that approach quite successfully to point to local installs of Qt 5, and more poorly packages things such as libmsym.