Link error with SDK 6.1.1

Aug 6, 2013 at 8:16am

Link error with SDK 6.1.1

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 6, 2013 at 8:41am

Same issue with latest SDK 6.1.3 actually..

Aug 6, 2013 at 6:38pm

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 6, 2013 at 6:47pm

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…


You must be logged in to reply to this topic.