Link error with SDK 6.1.1

    Aug 06 2013 | 3:16 pm
    The following code : fEditor = (t_object*)object_new(CLASS_NOBOX, gensym("jed"), this, 0);
    fails to link in 64 bits mode with SDK 6.1.1, we get the following error:
    "_object_new_imp", referenced from:...
    We also get a link error with the following missing symbol:
    "_object_method_imp", referenced from:
    The same source code compiles and link in 32 bits mode.
    Any idea?
    Stéphane Letz

    • Aug 06 2013 | 3:41 pm
      Same issue with latest SDK 6.1.3 actually..
    • Aug 07 2013 | 1:38 am
      Has there been a solution to this? Weirdly, I have it working fine in one 64-bit project, but not in the other, and I can't quite work out what I did differently - they're both compiling against the same Frameworks and the same SDK...
    • Aug 07 2013 | 1:47 am
      Ah - I think it's the 'Other Linker Flags' setting in the Project and target, which need to be set to $(C74_SYM_LINKER_FLAGS) - and this must be set as a user-defined setting too, defined in the maxmspsdk.xcconfig
      I *think* this is because I didn't set the Project Configuration to the .xcconfig file, only the Target. If you set both Project and Target configurations to the .xcconfig file, it might be OK...