THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/02/2009 at 10:08, xxxxxxxx wrote:
What MacOS version are you using? You'll need 10.5+ (Leopard).
I think you need at least Xcode 3.1 (can't find the info to verify that atm). Just download the latest version from developer.apple.com (using your ADC account, go to Downloads and then Developer Tools on the right) and install.
Unfortunately, the cinema4dsdk sort of acts as the 'Hello World' example since there are so many types of plugins possible. I'd start by using one of the examples that most closely matches the type of plugin you have in mind.
This is the important information:
Never develop your C++ plugins directly in the Cinema 4D install. With Vista and Leopard, you can't anyway (write access is forbidden in the Applications folder).
So, what do you do? In your Users folder, create a folder to store your project files and build from there. Copy the 'resource' and 'plugins' folders from your Cinema 4D install into that folder. Inside the plugins folder, create your plugin project folder and keep the source, res, icons, etc. in there. This is where you should build the cinema4dsdk as well.
Yes, this means that you must create a folder in the real Cinema 4D plugins folder for your plugin and copy your res folder and plugin (.xdl, .cdl, .cdl64, .dylib) into it before running Cinema 4D for testing each time you build. You'll also need to copy the cinema4Dsdk.dylib into the plugins/cinema4Dsdk folder once built.