Search code examples
c++macosboostimage-stitching

Using MTL/Boost Library Mac Terminal C++


To be precise, I'm attempting to run this excellent project: https://github.com/ppwwyyxx/panorama

I'm using a modern mac.

The issue is that I can't seem to get my computer to properly include the MTL library. I'm stuck with the endless error of:

$ make
[cc] matrix.cc ...
matrix.cc:5:10: fatal error: 'boost/numeric/mtl/mtl.hpp' file not found
#include <boost/numeric/mtl/mtl.hpp>
         ^
1 error generated.
make: *** [obj/matrix.o] Error 1

I've tried cmake. I've downloaded both the boost and mtl4 libraries. I've put them in my /usr/local/include directory. Nothing seems to be working.

Any advice would be excellent, thank you!


Solution

  • Try to modify the Makefile in src and add this on the line 7 of the Makefile:

    -I/usr/local/include