Compiling the 8.5 SDK
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/10/2005 at 13:23, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.503
Platform: Mac OSX ;
Language(s) : C++ ;---------
Hi,For the last year or so, I have been working on plugins for Cinema 4D in COFFEE. Recently though, I finally decided that I would need the libraries and extra flexability that C++ offers. I am reasonably new to programming all together and have very little experience with c++, but right now, this is the least of my worries.
I first tried to open the R8.5 sdk in xcode – little success, many errors. I then installed our only version of codewarrior: CodeWarrior IDE 4.0. This could a least open the projects, and after I located the api and realized its purpose, I added it to the access paths. I eventually eliminated all the errors exept for this:
link error: undefined c4d_main (descriptor)
I did find the name c4d_main in the link setting for the target and tried other possible names I could find, but nothing worked.
After experimenting with all the settings, I got a copy of the C4D 6.3 sdk, which had a CodeWarrior 5.3 project, but c4d showed no sign of reading its files in OS 9 or 10.4. This lead me to try the 7.3 sdk (I had heard that C4D R8 could use R7 plugins), but none of the examples from this showed up in C4D either. I have thought of getting an academic copy of codewarrior 9 (I'm a student), but I've seen many problems with that on this forum also. I also tried to find a demo of C4D 6.3 to see if I could at least get something to work. At school, I'm on a schedual to have a rigid body dynamics simulater almost complete in 2-3 months, and I'd rather not have to go back to COFFEE to do it.
Anything that anyone can offer to get me up and coding (possibly in Xcode??) would be greatly appreciated. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/10/2005 at 17:07, xxxxxxxx wrote:
CodeWarrior 8 or greater. XCode cannot be used to compile the current SDKs.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/10/2005 at 17:28, xxxxxxxx wrote:
Thankyou for clearing that much up for me.
3 questions though:
Will an R7 plugin function in R8?
Is there away of getting a demo of Cinema 4D 6.3, to at least get started with?
Is there some compiled sdk I can get in the mean time, that I can try out before CodeWarrior arrives if I order it?Aaron
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/10/2005 at 18:54, xxxxxxxx wrote:
Also, why not Xcode or any other c++ compiler? Am I mistaken in thinking that most c++ is the same and what it creates in the end is the same? What is the difference between all the various compilers?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/10/2005 at 19:28, xxxxxxxx wrote:
For Xcode, it is a problem that the C++ SDK for Cinema 4D is not OSX but Classic. Even with CodeWarrior, you must have the Classic target available - Cocoa or Carbon will not help. From what I've heard, a version of Cinema 4D is ready for MacOS on Intel using XCode, but that may not be available for another year.
Some R7 plugins will work in R8, but most need to be updated because of sweeping changes between the two versions and their respective SDKs.
You can get Cinema 4D CE 6.3 full version for free. It is on the CD for 3D World magazine, issue #43. Don't know where else it may be available.
Sorrily, the SDK lib doesn't come precompiled and must be compiled for each OS.
If you do an forum search (after selecting 'All' in Show Topics), you'll find more than I can provide on why other compilers are not suitable for the SDK.