I'm including https://github.com/jgh-/VideoCore into my project, but since my project is a Cordova project (I'm attempting to tweak Cordova project to mix it with native components using VideoCore), it seems incompatible to Cocoapods and I'm building the project manually.
Now it's complaining that tuple is not found on IMetaData.hpp
#ifndef videocore_IMetadata_hpp
#define videocore_IMetadata_hpp
#include <map>
#include <tuple> // **this line**
#include <string>
#include <boost/lexical_cast.hpp>
#include <videocore/system/util.h>
I suspect that it's tuple.hpp
from Boost
, which I included as well. But it does not find it.
Help appreciated, thanks.
Edit:
The solution to my original problem is pretty straightforward, I should in the build setting make sure XCode is compiling in C++11.
However, I found out that I don't have to jump through hoops to incorporate Pods dependencies into a Cordova project.
Instead of doing pod install
, do
pod install --no-integrate
With this Cocoapod does not attempt to build an XCode workspace, which currently is incompatible with Corodva until a newer version comes out (as discussed here). Until than, the --no-integrate
switch create a Pods project which you can just drag into your Cordova project as a sub-project. (If unsure how to integrate, this helps. All Pod projects are compiled into libPod.a which you should include.)