Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Can't create a new project for R15 [SOLVED]

    SDK Help
    0
    13
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 27/03/2015 at 20:21, xxxxxxxx wrote:

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

      ---------
      I created a new shader on my Mac, in Xcode. It built nicely and is working great.
      Now I was trying to compile it in Windows and just installed Visual Studio 2012. I tried duplicating the cinema4dsdk project into my plugin folder, rename it to my plugin name, remove the .cpp files from it and adding mine.
      But I can't build
      It keeps telling me:

      The project file '' has been renamed or is not longer in the solution.

      Can anyone explain me what are the steps to create a new project, using the res and source folders that I already have?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 28/03/2015 at 07:06, xxxxxxxx wrote:

        I tried following tutorials that are for Visual Studio 2010 but it seems that Visual Studio 2012 works in a different way (and has a new GUI).
        I also tried to follow tutorials for Visual Studio 2012 but they are for R16 and it now has a framework thingy that makes it different and I was not able to follow the directions.
        Is there any tutorial out there (I will keep looking, though) for Visual Studio 2012 AND R15?

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 28/03/2015 at 07:15, xxxxxxxx wrote:

          Howdy,

          I had the same issue, but my solution is the lazy man's solution. I don't change the name of the sdk project, I only change the name of the Output File in the Linker/General properties of the project.

          Adios,
          Cactus Dan

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            On 28/03/2015 at 08:45, xxxxxxxx wrote:

            So, you use the cinema4dsdk.vcxproj file with the original name?

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 28/03/2015 at 08:52, xxxxxxxx wrote:

              Howdy,

              Yep, I simply copy all of the relevant project files into a new project folder with my plugin's source files, and then open the sdk project and replace the source files with mine, then add the search paths specific to my plugin and change the name of the output file.

              Adios,
              Cactus Dan

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                On 28/03/2015 at 09:14, xxxxxxxx wrote:

                What is that of the search paths, Dan?
                I just have a res folder and a source folder. Do I need to change anything more?

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  On 28/03/2015 at 10:35, xxxxxxxx wrote:

                  Howdy,

                  Well, not everything in Cinema 4D is in the "resources/res" folder. For example, if you need to access Xpresso nodes' data, you'll need to add the path "resources/modules/gv/expressiontag/res/description" to your project's search paths.

                  Or if you have some common functions that several of your plugins share, you'd add the path to those files. For example I have a folder named "CD_Global" in my plugins folder that has all of the common c++ and header files that several of my plugins use.

                  Adios,
                  Cactus Dan

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    On 28/03/2015 at 11:56, xxxxxxxx wrote:

                    Oh, good to know that
                    Luckily, my project is very, very simple.
                    I will fire up Parallels and try that as soon as I get home.
                    Thank you, Dan.

                    Rui Batista

                    1 Reply Last reply Reply Quote 0
                    • H
                      Helper
                      last edited by

                      On 28/03/2015 at 12:09, xxxxxxxx wrote:

                      Howdy,

                      You're welcome. 😉

                      Adios,
                      Cactus Dan

                      1 Reply Last reply Reply Quote 0
                      • H
                        Helper
                        last edited by

                        On 28/03/2015 at 13:41, xxxxxxxx wrote:

                        Damn!!! I tried to do what you said and I still get the same error 😞
                        I just copied the cinema4dsdk.vcxproj and projectsettings.props files to my folder. In my folder I already have my res and source folders.
                        Then, I changed the Output file name to $(ProjectDir)MyPlugin.cdl64
                        And then, when I choose Build Solution, I get the same error:

                        The project file '' has been renamed or is not longer in the solution.

                        1 Reply Last reply Reply Quote 0
                        • H
                          Helper
                          last edited by

                          On 28/03/2015 at 14:01, xxxxxxxx wrote:

                          Howdy,

                          I'd get rid of the "$(ProjectDir)" and have it just say "MyPlugin.cdl64".

                          The files that I copy into the new folder are:
                          cinema4dsdk.sln
                          cinema4dsdk.vcxproj
                          cinema4dsdk.vcxproj.filters
                          projectsettings.props

                          Adios,
                          Cactus Dan

                          1 Reply Last reply Reply Quote 0
                          • H
                            Helper
                            last edited by

                            On 29/03/2015 at 04:06, xxxxxxxx wrote:

                            Thank you once again, Dan.
                            I finally managed to build my plugin

                            Rui Batista

                            1 Reply Last reply Reply Quote 0
                            • H
                              Helper
                              last edited by

                              On 30/03/2015 at 07:54, xxxxxxxx wrote:

                              Hi,

                              glad you got your problem fixed.
                              I just want to add that there are guides on setting up projects for Visual Studio (and Xcode as well) in the new SDK documentation, e.g. Visual Studio: Setup Project by Cloning cinema4dsdk

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post