Getting Started with Xcode
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/09/2012 at 12:23, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Mac ;
Language(s) : C++ ;---------
Hello. I've been working with Python in C4D for a bit now and I keep hitting limitations, so I'm switching over to C++. I was using this tutorial to get started. I downloaded XCode 4.4.1 but I'm running into problems right away, trying to build the SDK examples in cinema4dsdk.xcodeproj. Xcode has been confusing so far and I've looked for tutorials to help out but I haven't had any luck finding any. I've been getting a bunch of errors but this is the correct one./Applications/MAXON/CINEMA 4D R13/resource/_api_lib/File.c:1:10: 'iostream' file not found
I'm completely lost when it comes to Xcode so if anyone could help I'd be really grateful. I haven't done anything to the files, I've just opened them and tried to build them.
Dan
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/09/2012 at 13:49, xxxxxxxx wrote:
For R13, I would still recommend Xcode 3.2.6.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/09/2012 at 16:05, xxxxxxxx wrote:
Thanks! I got 3.2.6 and I followed this to get it installed but I'm still getting some errors when I try to compile cinema4dsdk.xcodeproj. I'm not sure what to do, are there any default settings that need to be changed?
Dan
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/09/2012 at 11:25, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Thanks! I got 3.2.6 and I followed this to get it installed but I'm still getting some errors when I try to compile cinema4dsdk.xcodeproj. I'm not sure what to do, are there any default settings that need to be changed?Dan
You get a compile warning when using non-SDK functions with libs (Cinema doesn't use the C++ lib) that aren't used or added by the Cinema sdk.
Please make sure that the Cinema SDK compiles on your system (try this without adding any files of your own). If that works, add your code.
We suggest using Cinema files and memory functions. Avoid using memory and file functions of the C++ stdlib - these are depending on the compiler version (e.g. XCode 4.4 uses a different C++ lib - which doesn't work on older OS versions - than XCode 4.2 or 3.2.6) and circumvent Cinema's much (much) faster memory allocation functions (and its debug and memory leak facilities).
Best regards,
Wilfried
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/09/2012 at 10:52, xxxxxxxx wrote:
Hi, thanks Wilfried.
When you say make sure the Cinema SDK complies, do you mean the SDK examples? I haven't added any of my own code, I've just opened the examples. Do I need to include the C4D SDK somewhere? None of the posts I seen have talked about that, maybe it's basic enough that they don't have to. If I have to do that, how do I? I tried adding it under Additional SDKs but I think that might be wrong.Thanks a bunch,
Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/09/2012 at 11:59, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Hi, thanks Wilfried. When you say make sure the Cinema SDK complies, do you mean the SDK examples? I haven't added any of my own code, I've just opened the examples. Do I need to include the C4D SDK somewhere? None of the posts I seen have talked about that, maybe it's basic enough that they don't have to. If I have to do that, how do I? I tried adding it under Additional SDKs but I think that might be wrong. Thanks a bunch,Dan
Yes, I was talking about just compiling the SDK as is. Your screenshot shows, that the sdk project is already modified - there is no "file.c" containing a "hello world" example in Cinema's sdk.
Best regards,
Wilfried
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/09/2012 at 14:32, xxxxxxxx wrote:
Hi,
I saw what you meant and looked into it. I have no idea how/when I created the new file, but I deleted the reference to it and did something else, I'm not to sure what, and now it's working now! Thanks for your help!
Dan