I used to installer from http://www.boostpro.com/download/ to build boost and would like to use some of the math functions. Something like this:
Plm[l][m] = boost::math::legendre_p(l,m,cosine);
Naturally, I included:
#include <boost/math/special_functions/spherical_harmonic.hpp>
And added the path to boost to my additional (boost\boost) include directories and the path to the lib (boost\lib) to the additional linker directories (VS2008). I'm getting some compilation errors I can't seem to figure out the cause:
Error 6 error C2955: 'boost::mpl::if_' : use of class template requires template argument list D:\work\multipoles\Project\boost\boost\math\policies\policy.hpp 724
Error 2 error C2825: 'Policy': must be a class or namespace when followed by '::' D:\work\multipoles\Project\boost\boost\math\policies\policy.hpp 724
Error 4 error C2146: syntax error : missing ',' before identifier 'promote_double_type' D:\work\multipoles\Project\boost\boost\math\policies\policy.hpp 724
Error 5 error C2065: 'promote_double_type' : undeclared identifier D:\work\multipoles\Project\boost\boost\math\policies\policy.hpp 724
Error 3 error C2039: 'promote_double_type' : is not a member of '`global namespace'' D:\work\multipoles\Project\boost\boost\math\policies\policy.hpp 724
Any pointers would be much appreciated!