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.
Same issue with latest SDK 6.1.3 actually..
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…
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…
C74 RSS Feed | © Copyright Cycling '74