Skip to content

Commit

Permalink
Fix compilation on non-iOS platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndob committed May 8, 2016
1 parent 3c480a6 commit 1480aa3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/yarrar/Pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#include "dataprovider/AndroidGyroscopeProvider.h"
#include "dataprovider/AndroidSensorProvider.h"
#endif
#ifdef __APPLE__
#include "dataprovider/IOSCameraProvider.h"
#endif
#include "tracker/marker/MarkerTracker.h"
#include "tracker/sensor/SensorTracker.h"
#include "fusion/vsfusion/VisualWithSensors.h"
Expand Down Expand Up @@ -80,10 +82,12 @@ Pipeline::Pipeline(const std::string& configFile)
addDataProvider<AndroidGyroscopeProvider>(provider["config"]);
}
#endif
#ifdef __APPLE__
else if(type == "ios_image")
{
addDataProvider<IOSCameraProvider>(provider["config"]);
}
#endif
}

auto trackers = pipeline["trackers"];
Expand Down

0 comments on commit 1480aa3

Please sign in to comment.