Needed to disable C++ findExampleDataFile when building matlab wrapper

release/4.3a0
Richard Roberts 2012-08-30 19:59:51 +00:00
commit 5d182104d1
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@ namespace fs = boost::filesystem;
namespace gtsam {
#ifndef MATLAB_MEX_FILE
/* ************************************************************************* */
string findExampleDataFile(const string& name) {
// Search source tree and installed location
@ -63,6 +64,7 @@ string findExampleDataFile(const string& name) {
INSTALLED_DATASET_DIR " named\n" +
name + ", " + name + ".graph, or " + name + ".txt");
}
#endif
/* ************************************************************************* */
pair<NonlinearFactorGraph::shared_ptr, Values::shared_ptr> load2D(

View File

@ -25,6 +25,7 @@
namespace gtsam {
#ifndef MATLAB_MEX_FILE
/**
* Find the full path to an example dataset distributed with gtsam. The name
* may be specified with or without a file extension - if no extension is
@ -37,6 +38,7 @@ namespace gtsam {
* search process described above.
*/
std::string findExampleDataFile(const std::string& name);
#endif
/**
* Load TORO 2D Graph