"warning duplicate class registration for S"

    Aug 14 2009 | 9:02 pm
    I'm just learning how to make my own externals. I got my first one to build successfully, but when I try to instantiate it in Max, I get four error messages in the Max window saying: "warning duplicate class registration for S"
    So I followed the example in the "anatomy of a max patch" section of the documentation exactly, and the same exact thing happens.
    I'm using Xcode 3.1.2 and I followed the directions in the c74 tutorials for getting an object started in Xcode 2.2, assuming it wouldn't be too much different.
    can anyone help me out?

    • Aug 17 2009 | 12:09 am
      You must be calling your class "s", but a class of that name already exists (the send object). What are you passing into the class_new function as your classname?
      class_new("myobject", ...)
      It should be the name of your external.