Explicit instantiation to fix link error on Linux, also header to install that was missing from Makefile.am
parent
9bf6409b16
commit
8562c00a52
|
@ -240,6 +240,7 @@ testSimpleCamera_SOURCES = testSimpleCamera.cpp
|
||||||
testSimpleCamera_LDADD = libgtsam.la
|
testSimpleCamera_LDADD = libgtsam.la
|
||||||
|
|
||||||
# Visual SLAM
|
# Visual SLAM
|
||||||
|
headers += VSLAMConfig.h
|
||||||
sources += VSLAMGraph.cpp VSLAMFactor.cpp
|
sources += VSLAMGraph.cpp VSLAMFactor.cpp
|
||||||
check_PROGRAMS += testVSLAMFactor testVSLAMGraph testVSLAMConfig
|
check_PROGRAMS += testVSLAMFactor testVSLAMGraph testVSLAMConfig
|
||||||
testVSLAMFactor_SOURCES = testVSLAMFactor.cpp
|
testVSLAMFactor_SOURCES = testVSLAMFactor.cpp
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
template class NonlinearFactor2<VSLAMConfig, VSLAMPoseKey, Pose3, VSLAMPointKey, Point3>;
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
VSLAMFactor::VSLAMFactor() {
|
VSLAMFactor::VSLAMFactor() {
|
||||||
/// Arbitrary values
|
/// Arbitrary values
|
||||||
|
|
Loading…
Reference in New Issue