Getting started with the SDK



  • On 14/06/2014 at 13:47, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   Student 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hey there. First off I apologize if there is a threat like this somewhere here. I tried searching but couldn't find anything.

    So I've got a bit of experience with C++ and wanted to try and develop my own plugin for C4D. Unfortunately I have no Idea how I need to start. I've followed about 3 or 4 tutorials online for compiling the C4D sdk with Visual Studio step by step... and I get all kinds of errors everytime.

    I would be so grateful if someone could point me to an up-to-date tutorial on how to get started with all this SDK compiling stuff. Possible for MC Visual Studio 2010.

    Thanks for any help in advance.



  • On 14/06/2014 at 15:38, xxxxxxxx wrote:

    Hi,

    Changing the Platform Toolset option seems to work for some Win7 users with VS2010.

    If you're not have version errors. Then please be more specific about the errors your getting.
    It's hard to help without knowing what the errors are.

    -ScottA



  • On 15/06/2014 at 01:34, xxxxxxxx wrote:

    Well I am getting all kinds of errors. Most of them are just certain files not being found. I believe I just don't know what I need to do in order to get all the files I need. I guess I need a tutorial about what files I need to get and how to import and organize everything inside MC VS.

    Not sure if this will help but my last error says VS can't find projectsettings.props in my plugin directory. I did check and my file is there. Not sure why it says that it cannot find it.



  • On 15/06/2014 at 07:50, xxxxxxxx wrote:

    Ok. You do need the basics then.

    Have you looked at these yet?:
    http://c4dprogramming.wordpress.com/2012/09/30/creating-a-new-plugin-project-in-visual-studio
    http://www.microbion.co.uk/graphics/c4d/create_plugins1.htm

    -ScottA



  • On 15/06/2014 at 08:02, xxxxxxxx wrote:

    Yes I was following the one from c4dprogramming but I get stuck after the step where you copy/paste the 2 files from C4D Directory/plugins/cinema4dsdk/ . After I paste the VS project and the settings file and create my 2 folders (source and res), I try to open VS and open the project but it gives error that its missing some files including _api or smth like that. :\



  • On 15/06/2014 at 08:45, xxxxxxxx wrote:

    OK then. At this point someone else who compiles the SDK that way will have to jump in and help you out. Because I don't use that method for compiling the SDK.
    I don't like having a copy of the API in my projects. So I do it a different way.

    If nobody helps you. I'll gladly show you how I do it.
    But I'd rather not do that until you learn the "supported" way first.

    -ScottA

    *Edit- I'm not familiar with the student versions. But it says here that serialized plugins are not supported: http://www.maxon.net/products/general-information/general-information/student-versions.html
    I don't know if that's going to be a problem for you either.



  • On 15/06/2014 at 15:20, xxxxxxxx wrote:

    I'll once again try to cope with the situation and if it doesn't work I guess I will need some guidance on how to do it.

    As for the serialized plugins... I don't really care about the limitation since all I really want to do is learn the process of creating a plugin for C4D from scratch. The plug-ins that I will hopefully develop will be for my own use only so serials shouldn't get in the way =)



  • On 15/06/2014 at 23:42, xxxxxxxx wrote:

    Hi,

    Originally posted by xxxxxxxx

    Yes I was following the one from c4dprogramming but I get stuck after the step where you copy/paste the 2 files from C4D Directory/plugins/cinema4dsdk/ . After I paste the VS project and the settings file and create my 2 folders (source and res), I try to open VS and open the project but it gives error that its missing some files including _api or smth like that. :\

    What version of CINEMA are you using?



  • On 16/06/2014 at 03:17, xxxxxxxx wrote:

    R15 =)



  • On 16/06/2014 at 08:14, xxxxxxxx wrote:

    The project files that comes with the R15 API and examples are meant for Visual Studio 2012 (Only supported development platform).
    Visual Studio 2010 isn't supported.



  • On 19/06/2014 at 02:59, xxxxxxxx wrote:

    But it is working.
    I'm using R15 and VS C++ Express 2010 and it all works.


Log in to reply