From 1f43de9bd1cd8ede8ac7794badbb268720ef2514 Mon Sep 17 00:00:00 2001 From: Joe Gorse Date: Sun, 30 Nov 2014 17:10:51 -0500 Subject: [PATCH 1/3] Fix typo "..C" file. Fix omission of Data/NmrReference.C, which results in missing object at link time. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b9e11f9c..09fa84d0 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -130,7 +130,6 @@ set(IQmol_SOURCES IQmol/SpatialProperty.C IQmol/Spline.C IQmol/SshFileDialog.C - IQmol/SurfaceAnimatorDialog..C IQmol/SurfaceAnimatorDialog.C IQmol/SymmetryToleranceDialog.C IQmol/System.C @@ -250,6 +249,7 @@ set(IQmol_Data_SOURCES Data/Mesh.C Data/MolecularOrbitals.C Data/MultipoleExpansion.C + Data/NmrReference.C Data/PointCharge.C Data/RemSectionData.C Data/Shell.C From 8d4baf59043a768227d37db089eb612e7161f300 Mon Sep 17 00:00:00 2001 From: Joe Gorse Date: Sun, 30 Nov 2014 17:11:37 -0500 Subject: [PATCH 2/3] Fix qgl build issue with Viewer.h. --- src/IQmol/Viewer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/IQmol/Viewer.h b/src/IQmol/Viewer.h index c9e40680..3b44d091 100755 --- a/src/IQmol/Viewer.h +++ b/src/IQmol/Viewer.h @@ -36,6 +36,7 @@ #include "Snapshot.h" #include "IQmol.h" #include "QGLViewer/qglviewer.h" +#include "QGLViewer/manipulatedFrame.h" #include #include #include From 34b1424fe20fea5842b31bd22ec22f5569b6a318 Mon Sep 17 00:00:00 2001 From: Joe Gorse Date: Sun, 30 Nov 2014 17:12:30 -0500 Subject: [PATCH 3/3] Explicitly include cstdlib for std::atexit() functionality. Fixes clang build in Yosemite. --- src/QUI/OptionDatabase.C | 1 + src/QUI/Register.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/QUI/OptionDatabase.C b/src/QUI/OptionDatabase.C index 53042dc6..e70ee5d3 100755 --- a/src/QUI/OptionDatabase.C +++ b/src/QUI/OptionDatabase.C @@ -10,6 +10,7 @@ #include "Preferences.h" +#include #include #include #include diff --git a/src/QUI/Register.h b/src/QUI/Register.h index a05f3549..f78256c9 100755 --- a/src/QUI/Register.h +++ b/src/QUI/Register.h @@ -14,6 +14,7 @@ */ #include +#include #include