How to use SDK as start point



  • On 18/11/2013 at 06:16, xxxxxxxx wrote:

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

    ---------
    Last week I managed to successfully use Visual Studio 2012 on my MacMini/Bootcamp to compile the R15 SDK code. Now I am trying to find out how to actually use it as the foundation for my own plugin building.

    I can add my own source code and alter main.cpp. It will compile and work in R15 (that's how I do it on the Mac). But when I try to change the name of the project file I am running into trouble. Keep running into this (apparently well-known) error message:
    "The project file ' ' has been renamed or is no longer in the solution"

    And that leads me to the question: How do you set up your own plugin project in VS? Do you actually do it from scratch? Or if you clone it from the SDK example, what can you throw out and what do you change?
    At the moment my cloned project does compile (because I didn't change anything except for main.cpp and added my little source code for a tag). But it will also compile all the .cpp files from the SDK, even though they are deleted from the project.

    Anyway (sorry), C++ newbie, VS newbie.....

    Thanks

    Peter



  • On 18/11/2013 at 06:52, xxxxxxxx wrote:

    a simple answer from c4d_jack :)

    http://c4dprogramming.wordpress.com/2012/09/30/creating-a-new-plugin-project-in-visual-studio/



  • On 18/11/2013 at 10:06, xxxxxxxx wrote:

    Thanks, that helped.

    Peter


Log in to reply