New Max SDK Object appears red in Max
EDIT: NEVERMIND - Of course there are a bunch of declarations inside the file that depend on the name of the object. Once I changed those to match the filename everything worked. Disregard. Thank you.
Greetings,
I'm running into trouble building new external with the Max SDK. I've tried doing this in simplest way I can imagine, but simply making a copy of an existing object in the Max SDK repo and recompiling the package.
Here are the steps I'm following:
Clone this Max SDK repo which contains all the examples
Make a copy of one of the object folders, say "uitextfield"
So now in ../source/ui, I have a folder called "uitextfield" and "uitextfield2"
In the "uitextfield2" folder, rename "uitextfield.c" to "uitextfield2.c"
run cmake -G "Visual Studio 16 2019" ..
to generate the build files.
The run cmake --build . --config Release
To compile the externals.
When I go into max, all the example objects work fine. But when I try to create "uitextfield2" the box appears red. There is no error in the max window. I'm not sure what I'm missing here.
I've successully created externals with MinDevkit, but now I need to dig into Max SDK to get build some UI Objects. Ideally I would like to build a package that contains externals build with Max SDK and MIN.
Thanks for any input.