Tim's "Writing Externals with Xcode 2.2" little problem

Jun 6, 2006 at 1:25pm

Tim's "Writing Externals with Xcode 2.2" little problem

Hi all,

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.


Jun 6, 2006 at 1:43pm

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?


You must be logged in to reply to this topic.