Search code examples
c++iphoneboostublas

How to use Boost uBLAS C++ library in an iPhone project?


I want to use Boost library in my iPhone project, specifically only boost::numeric::ublas. I managed to build static libraries for boost in order to link them in my iPhone project. However, when I look at those .a libraries I can't find one that's related to ublas (I tried ./bootstrap.sh --with-libraries=ublas in terminal but no luck). Does anyone know which static library to look for ublas? Or how to use ublas in an iPhone project in general?

Thanks!


Solution

  • I can't answer the iPhone-specific part but I can help at least with the Boost part...

    Boost uBlas is a header-only library so you don't need to build and link against any .a files. Just include the headers in your project if you want to use the library.