Needed to disable C++ findExampleDataFile when building matlab wrapper
commit
5d182104d1
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue