Explicit instantiation to fix link error on Linux, also header to install that was missing from Makefile.am

release/4.3a0
Richard Roberts 2010-01-14 05:01:40 +00:00
parent 9bf6409b16
commit 8562c00a52
2 changed files with 3 additions and 0 deletions

View File

@ -240,6 +240,7 @@ testSimpleCamera_SOURCES = testSimpleCamera.cpp
testSimpleCamera_LDADD = libgtsam.la
# Visual SLAM
headers += VSLAMConfig.h
sources += VSLAMGraph.cpp VSLAMFactor.cpp
check_PROGRAMS += testVSLAMFactor testVSLAMGraph testVSLAMConfig
testVSLAMFactor_SOURCES = testVSLAMFactor.cpp

View File

@ -13,6 +13,8 @@
using namespace std;
namespace gtsam {
template class NonlinearFactor2<VSLAMConfig, VSLAMPoseKey, Pose3, VSLAMPointKey, Point3>;
/* ************************************************************************* */
VSLAMFactor::VSLAMFactor() {
/// Arbitrary values