I walked through Tim’s tutorial in the cycling74.com articles/developers section. The example code provided didn’t work by default. In max the object gave me the following error:
error: #N: missing arguments for message "round".
When providing 1 argument the message persists, with 2 it disappears, but the object is still not properly initialized, it won’t show in- or outlets.
Only after changing the argument A_DEFLONG in the class instantiation to A_GIMME, the object worked.
Anyone recognizes this? ‘Writing Externals for Max.pdf’ says A_DEFLONG defaults to a 0 if no argument is provided. I don’t understand the error.
Btw, in ‘pattrsdk.pdf’ is stated that "in order to support attribute arguments objects using attributes MUST BE DEFINED as A_GIMME in class_new()" .. although Tim’s example doesn’t use attributes, maybe this can still be the cause of the problem?
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions