Forums > Dev

Creating original object in C

August 27, 2013 | 6:27 am


I have recently started making objects in C, but having a trouble with creating one from scratch or simply renaming the existing one. I have successfully played around with examples editing them, but I hit the wall when I simply want to create an object with another name. If I make a copy of the example and rename the project it does create the object with the new name but in Max it shows up with no inlets or outlets and not working properly.

What do I do?



August 27, 2013 | 6:47 am

I am using Xcode 4.6.3 with Max 6, and SDK 6.1.3 if that helps

August 27, 2013 | 8:39 am

Copy the project, open it and rename the project (and the target) in XCode (project inspector -> identity -> project name). Don’t forget to rename the class name in your main function.

August 27, 2013 | 8:42 am


did you also rename the object in the class_new() method of the main function of your external?


August 27, 2013 | 9:18 am

That was it, missed the class name.

Thanks a lot.

Viewing 5 posts - 1 through 5 (of 5 total)