THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/11/2005 at 08:48, xxxxxxxx wrote:
Cinema 4D Version: 9.x
Platform: Mac OSX ;
Language(s) : C++ ;
Ok, I downloaded the trial version of CodeWarrior 10 from metrowerks site. They state that it is fully functional, the only difference being that it has no technical support. I also downloaded the C++ SDK 7.303 for Mac (there seems to be no more recent C++ SDK files, only documentation).
So, what must I do to compile the test files it brings? I tried creating a project, add a .cpp file, add the api, res and libs folders to the project and compiled. I got LOTS of errors and warnings
So, what must I do to start dissecting the SDK files and, eventually, start coding my own plug-ins?
Any help will be greatly appreciated.
p.s. Depending on the experience I get from this trial version, I'm seriously considering getting the full version. At 99 bucks, its a bargain
On 10/11/2005 at 08:53, xxxxxxxx wrote:
Cinema 4D already comes with the SDK, you dont need to download it. So whatever you downloaded just throw away.
If you check the Cinema 4d/plugins folder there is an SDK example folder called cinema4dsdk
this is an example project for visual studio and CW. I believe you can open the cinema4dsdk.prj file in CW and it should compile fine
On 10/11/2005 at 09:27, xxxxxxxx wrote:
Thank you very much, Geespot
I did that and it asked me if I wanted to cenvert the project, which I did. Then, after choosing "Make", I still got quite a few errors and warnings
On 10/11/2005 at 10:47, xxxxxxxx wrote:
So far so good, Rui.
There are a couple of changes to the SDK source (and possibly the project) that need to be done to remove those errors and warnings for CodeWarrior.
Check these threads for more info:
Thread 2 - my last reply
On 10/11/2005 at 11:14, xxxxxxxx wrote:
I checked the threads and made the changes. I still get some errors
Also, what if I want to start my own plug-in. Lets say it is a tag or a gui plug-in. How can I start a new plug-in?
Thank you very much for the help, so far
On 10/11/2005 at 11:25, xxxxxxxx wrote:
Regarding making your own plugins, you just decide what kind of plugin you want and use the sample plugin of that type included in the sdk. Here is a link to the only c++ tutorial I'm aware of for this subject:Astrofish c4d plugin tutorial
What errors still occur?
On 10/11/2005 at 11:46, xxxxxxxx wrote:
That plugin tutorial is a must! I wish Maxon would add something similar to the documentation (hint).
The errors could be related to exceptions (see this thread). It could also be something new to CW10, in which case I can be of no assistance.
On 10/11/2005 at 19:54, xxxxxxxx wrote:
A great tutorial, in fact. Thank you
About the errors I still get, here they are:
(make a copy/paste of this address to your browser)
On 10/11/2005 at 21:34, xxxxxxxx wrote:
Except for the last three errors, the others are all outlined in the thread posts to which I linked (delete and mwexception)! The 'deleting void pointers is undefined' may not be as much of a concern. They are only warnings which you may be able to ignore in the project settings.
The last error is just a consequence of the others - the lib is not created, therefore the SDK examples cannot be completed.
The 'fragment' error is something that I haven't seen before. Mikael! Mikael!
On 11/11/2005 at 03:58, xxxxxxxx wrote:
The problem is that these errors appeared after I did the changes posted in the threads
On 15/11/2005 at 07:33, xxxxxxxx wrote:
Ok, here we go again
I made the changes stated in all the provided threads. I also deleted all other cinema4dsdk folders I had in my harddisk to assure that only the latest one was being used.
I still get these errors:
How can I supress them? Once again, thank you very much for any help.