The ‘include (instead of #include) was a typing error, I fixed it a while after the post…sorry…
I didn’t put "return 0" in main() because is a void function, I don’t need to return any value. I’m not sure but I think that the problem is not there.
I tried your code but unfortunately the error still remains…any other hints?
If you need some more information about the code, or about the environment fell free to ask!
I analyzed your ‘maxmspSDK.xcconfig’ file from ‘MaxSDK/example’ and the my problem seems to be the ‘MAXOS Deployment target’.
Changing this parameter to 10.4 instead of 10.5 (like in the .xcconfig file), everything works. With the 10.5 version it returns to me the "syntax error before ‘vector’ ".
I can’t understand why…all I can say is that I’m using use MacOS 10.5.8…