From 26c0f9b95b3c9547c1b421b88b8da0b91cddead5 Mon Sep 17 00:00:00 2001
From: Andreas Schenk <andreas_schenk@hms.harvard.edu>
Date: Mon, 13 May 2013 12:47:35 -0400
Subject: [PATCH] added Eigen/StdVector include to svd superpose export

The template specialization for std::vector in Eigen/StdVector seems
to change the symbol generated for std::vector<geom::Vec3>, which can
lead to missing symbols in libost_mol_alg during linking or at runtime,
depending on the compiler. Adding the StdVector include also to
python export of svd superpose helps to generate consistent symbols.
---
 modules/mol/alg/pymod/export_svd_superpose.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/mol/alg/pymod/export_svd_superpose.cc b/modules/mol/alg/pymod/export_svd_superpose.cc
index 9c4087021..1969b603f 100644
--- a/modules/mol/alg/pymod/export_svd_superpose.cc
+++ b/modules/mol/alg/pymod/export_svd_superpose.cc
@@ -21,6 +21,7 @@
  * Author Juergen Haas
  */
 #include <boost/python.hpp>
+#include <Eigen/StdVector>
 
 #include <ost/geom/mat4.hh>
 #include <ost/mol/alg/svd_superpose.hh>
-- 
GitLab