Simply include this pod in your Podfile
for any OSX target:
pod 'EigenCPPCocoa', '~> 3.3.0'
Then, in any C++ or Objective C++ file, include Eigen headers:
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <Eigen/LU>
This repo contains a CocoaPod wrapper for the c++ Eigen project, which provides a pop header-only matrix library. This Pod restricts to the MPL-only portion of Eigen, excluding the GPL bits.
Note that the license used in this repo is independent of that used in Eigen, which currently has a mixed license.
See also the (outdated) official Eigen pod.
This repo contains a single Podspec file. To modify, just edit the
Podspect and use pod repo push MyRepo EigenCPPCocoa.podspec.json --verbose
.