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
    • Recent
    • Tags
    • Users
    • Login

    first steps

    Scheduled Pinned Locked Moved SDK Help
    18 Posts 0 Posters 1.5k Views
    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 Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 11/11/2008 at 14:36, xxxxxxxx wrote:

      Hi!

      I tried it with 2008 too, but it did not work. Take a look here to get the installer of 2005:

      http://www.microsoft.com/express/2005/download/default.aspx

      I think you will have much faster success to get this to work when using this edition of MSVC.
      See you...

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 11/11/2008 at 16:31, xxxxxxxx wrote:

        thank you very much for this link. Now I tried with VC2005 express. There are pieces of news: After conversion I read only ONE error:

        Linking...
        LINK : fatal error LNK1104: cannot open file 'odbc32.lib'

        I will search for help with Google... but I am grateful for each information.

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 12/11/2008 at 02:05, xxxxxxxx wrote:

          I never managed to get it running properly with the Express versions, something was always missing. So I finally purchased VS2005. Just open the .vcproj and everything works fine. Of course, you have to compile the API project, before you can work on your plugin.

          For VS 2003, if I remember I could open the .sln file, and it was converted. Worked fine, but of course some settings from the project were lost (e.g. all settings for x64 platform, because the cross compiler came with VS2005).

          Greetings,
          Jack

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 12/11/2008 at 04:23, xxxxxxxx wrote:

            Hi!

            I don't know if you have to install the Microsoft SDK on 2005, too. If its installed and imported in MSVC everything should work, otherwise you have to download it manually.

            bye

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 12/11/2008 at 07:34, xxxxxxxx wrote:

              Now I think the Express Edition is really the problem. Very sadly. C++ is my first try for a new hobby. I don´t know, whether its a good idea to buy it. Perhaps I should remain with COFFEE and Xpresso.

              You mean the PSDK? Unfortunately this is not part of the Express Edition, because EE is for free. I found Users with the same problem and some links for download the psdk, but the links are too old. All microsofts VisualStudio-websites are revised.

              I ask myself, which problem would be to be solved more simply: The missing "WebDeployPatch" ore the fatal error C1083 ("Cannot open include file: 'c4d.h': No such file or directory") with VC++2008EE or the fatal error LNK1104 ("cannot open file odbc32.lib") with VC++2005EE. What do you think?

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 12/11/2008 at 12:09, xxxxxxxx wrote:

                I found this Answer for my odbc32.lib-problem: "go to the project of the plugin settings... search the linker settings... and remove odbc32.lib odbccp32.lib from
                library modules"

                If its right, where I find the plugin settings and the linker settings?? Can not find something like this. What happens if I delete something?

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

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 12/11/2008 at 15:41, xxxxxxxx wrote:

                  In VSC++2008 express needs to convert the sdk projectfile to the actual VSc++ version ... and the many errors are resulting because you have not set the include directorys ... normally webdeploypath is pointing to these.

                  You have to open cinema4dsdk.vcproj in c++2008 and
                  then he will convert it. Just hit ok and setup your Includepaths.

                  ... right click on cinema4dsdk in the Project explorer
                  and choose Properties ... then choose c/c++ and there you can add additional include directories.

                  These you have to include:

                  Path to your c4d directory...\resources\_api
                  Path to your c4d directory...resources\_api\c4d_preview
                  Path to your c4d directory...resources\_api\c4d_customgui
                  Path to your c4d directory...resources\_api\c4d_libs
                  Path to your c4d directory...resources\_api\c4d_gv
                  Path to your c4d directory...resources\modules\Modeling\res\description
                  Path to your c4d directory...resources\res\description
                  Path to your c4d directory...resources\modules\objects\res\description
                  Path to your c4d directory...resources\_api_maxon\source

                  I hope this is helping you to setup VSC++2008.

                  If anyone knows how to setup the webdeploypath,
                  i would be thankful.

                  cheers,
                  Christian

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

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 13/11/2008 at 05:53, xxxxxxxx wrote:

                    Thank you very much, Antimatter.
                    It works with VC++2008EE: 0 error, 0 warning.

                    Greetings
                    René

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

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      On 13/11/2008 at 06:06, xxxxxxxx wrote:

                      Originally Microsoft droped web deployment for VS2008. It seems it found its way back into VS2008 again but you have to install it manually. Check this link and do a google about htis topic.

                      vs2008 web deployment rtw

                      I have not tested this myself yet.

                      cheers,
                      Matthias

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

                        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                        On 13/11/2008 at 07:08, xxxxxxxx wrote:

                        @Padawan your welcome.

                        @Matthias

                        I just found useless information about webdeploymentpath in google.

                        Thank you for the link ... i will try out tonight and post a solution if i get it to work.

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

                          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                          On 30/11/2008 at 13:16, xxxxxxxx wrote:

                          Hi,

                          I am completly new to C4D. I am just a c++ programmer and I have to make plugin for camera in C4d. I downloaded the SDK and tried it with VC++2008 and had the same problem "Cannot open include file: 'c4d.h': No such file or directory".

                          I setup a new environment variable $webdeploypath and pointed it to "C:\maxon\resource" and it worked. 0 error, 0 warning.
                          But I dont know what to do next. How do I run it? Can someone point me to where do I start to learn creating a plugin.

                          Thanks.

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

                            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                            On 08/12/2008 at 07:06, xxxxxxxx wrote:

                            I would need a bit more info to help you. What kind of plugin do you want to create? Check the SDK docu for the different types of plugins. Also I would recommend to learn the basics of Cinema 4D.

                            cheers,
                            Matthias

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

                              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                              On 08/12/2008 at 18:55, xxxxxxxx wrote:

                              I need a plugin that will allow to me to do camera rotation using some XYZ data and set "field view" . Which example plugin will help me to do this? Is there a simple tutorial that will explain me the basics of Cinema 4D?

                              Thank you for your help.

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

                                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                                On 08/12/2008 at 19:43, xxxxxxxx wrote:

                                You really should start a new inquiry in a new post but... 🙂

                                If the XYZ data is in a strict Euler format, you can build the matrix for the camera using the MatrixRotX/Y/Z() methods and set to the camera's global or local matrix (dependent upon parenting). Remember to multiply the rotations in right to left order for the proper sequence (XYZ for instance) :

                                Matrix rmat = MatrixRotZ() * MatrixRotY() * MatrixRotX();

                                The camera values can be found in the Resource:res:description:Ocamera.res file.

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