echoprint-codegen
echoprint-codegen copied to clipboard
osx build error "fatal error: 'boost/numeric/ublas/matrix.hpp' file not found"
I was running into an error when attempting to build on mac:
λ cd src/
λ make
In file included from ./SubbandAnalysis.h:11:
./MatrixUtility.h:12:10: fatal error: 'boost/numeric/ublas/matrix.hpp' file not found
I fixed this by opening src/Makefile and changing this line:
BOOST_CFLAGS=-I/usr/local/include/boost-1_35
to:
BOOST_CFLAGS=-I/usr/local/include
Cheers @mreinstein, in my case, the line needed to read as follows:
BOOST_CFLAGS=-I/usr/local/Cellar/boost/1.75.0_2/include
Substitute 1.75.0_2 with your own Homebrew installed version of boost.
The internet is wonderful, isn't it? Especially the dev community parts. Being able to search for these little things and find them 4 years later gives me hope for humanity. ❤️