Forums > Dev

C++ library inclusion problems

Dec 23 2011 | 5:52 pm

I’m trying to include the Boost library in a max/msp project.

In the cpp projects presents in the sdk or in the maxcpp5 example when i add this line:

i have a errors of this type:
"declaration does not declare anything".

I must precise that the linking is ok, everything compile in projects not related to the MAX/MSP SDK.
Did someone already had to deal with this issue ?

OSX 10.6.7
XCode 3.2.6
MAX/MSP SDK 5.1.7.

Thx to everyone,

Dec 24 2011 | 1:22 pm


The "check" macro is defined in the MAX/MSP SDK and in the the boost::ublas library (conflict!).

"#undef check" must be added just before the inclusion of the boost::ublas header.


Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Dev