Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Still can't get a 64bit version compiled

    SDK Help
    0
    42
    35.9k
    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

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

      On 16/05/2007 at 07:47, xxxxxxxx wrote:

      Howdy,

      There was an upgrade from MSVC++.net 2003 to MSVC++ 2005 Standard that saved me some money on it. 😉

      You may also have some sort of upgrade option.

      Adios,
      Cactus Dan

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

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

        On 16/05/2007 at 07:54, xxxxxxxx wrote:

        thanks for the hint. I´ll be checking on this. 🙂

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

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

          On 12/06/2007 at 10:53, xxxxxxxx wrote:

          Ok, now got my Standard installed (woosh, 5 fu*** CDs and a Service Pack update of 500 MB. Sigh, I miss the good ol C64 days. 🙂

          Anyway, it now works to get that compiler to do what it needs. But I get a C4311 error in the TreeView Function GetId()

          The migration docs say:
          "Watch out for type cast warnings. E.g. the line LONG converted_ptr = (LONG)&data; will result in a warning warning C4311: 'type cast' : pointer truncation from 'BaseContainer *' to 'LONG'.. You need to change this code to VLONG converted_ptr = (VLONG)&data;."

          And I am sure that I changed the function in my code correctly. Here it is:

          virtual VLONG GetId(void *root, void *userdata, void *obj)  
          {  
               return (VLONG)obj;  
          }
          

          But I still get the error? The activeobject sdk example uses it in the same way.

          Anybody a clue why it´s not working?

          Thanks!

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

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

            On 12/06/2007 at 10:59, xxxxxxxx wrote:

            That's odd. Here's how I do it - note no typecasting to VLONG though:

            #ifdef WIN64  
            //*---------------------------------------------------------------------------*  
            VLONG GetId(void* root, void* userdata, void* obj)  
            //*---------------------------------------------------------------------------*  
            {  
                 return ((RuntimeItem* )obj)->GetID();  
            }  
            #else
            
            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

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

              On 12/06/2007 at 11:12, xxxxxxxx wrote:

              Howdy,

              Hmmmm, that is odd because that is exactly the same as the SDK example.

              Did the SDK project compile fine?

              Adios,
              Cactus Dan

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

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

                On 12/06/2007 at 11:15, xxxxxxxx wrote:

                Hmm, maybe your LONG value will be casted automatically to VLONG at occurance. As my object has no ID value (cannot simply add it due to stability reasons unfortunately) so I cannot use it.

                But as I said, the activeobject example also uses a direct cast of the pointer and it works for me in a R10 32-bit compile. 😕

                @Cactus: Will try a sdk compile.

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

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

                  On 12/06/2007 at 11:22, xxxxxxxx wrote:

                  yep, compiles just fine. Hmm, strange. Then it must be something in my code, but what could that be in such a small and straight function? It´s an old implementation, did anything change over time in the treeview handling?

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

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

                    On 12/06/2007 at 11:27, xxxxxxxx wrote:

                    ok, I simply got rid of the plugin and tried a compile, but now I also get 2001 and 2019 errors. I checked the installation but there was no 64-bit option. Darn, don´t tell me I missed it, I specifically kept an eye on this option during installation and wondered why it didn´t come up, but thought it may come later.

                    At which point does the installer ask for it?

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

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

                      On 12/06/2007 at 11:34, xxxxxxxx wrote:

                      Howdy,

                      Yes, I missed the insallation of the 64 bit, too, and had to go back and reinstall it. :o(

                      If I remember correctly, it was an option that you had to select on one of the pages in the installer window.

                      Adios,
                      Cactus Dan

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

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

                        On 13/06/2007 at 04:51, xxxxxxxx wrote:

                        Argh, what do I need to deinstall to get to that selection window? When I only deinstall the standard edition, then at reinstalling I don´t get any chance to select anything. It simply reinstalls Visual C++ (well, I can choose if I want to also install Visual C# etc. but not the selection pages with that nice icons that I had in the first installation process.

                        thx

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

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

                          On 13/06/2007 at 05:04, xxxxxxxx wrote:

                          In vs 2005 pro you don't need to uninstall. Just put the installation dvd and select something like "add components". You will then come to an explorer-like selection tree where you have to check the appr. c++ language option (s.th. with "64bit"). don't know, if this behaviour is different in standard version.

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

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

                            On 13/06/2007 at 05:11, xxxxxxxx wrote:

                            hmm, I only have the standard edition here and here it doesn´t work that way. 😕 And yes, that selection tree is exactly what I am looking for! I got it in my first installation routine but now I don´t get it on my screen, neither with adding components nor with a complete reinstallation.

                            I have 6 CDs here, first 2 CDs for installing Visual Studio, 3 CDs for the MSDN Lib and 1 CD for NET Framework SDK (x64).

                            Is it the same in the pro version?

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

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

                              On 13/06/2007 at 05:25, xxxxxxxx wrote:

                              here is a screen of what I get when I have it installed and put the CD in.

                              - Adding/removing Features
                              - Repair/reinstall
                              - Deinstall

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

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

                                On 13/06/2007 at 05:38, xxxxxxxx wrote:

                                Ah and none of these options will bring me to a selection tree. 😕

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

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

                                  On 13/06/2007 at 05:48, xxxxxxxx wrote:

                                  The "Features hinzufügen oder entfernen" doesn't work? Don't know, whether the standard version will bring up a selection tree, but something should happen, where you can switch on/off the features!?

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

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

                                    On 13/06/2007 at 06:02, xxxxxxxx wrote:

                                    yep, I see another screen with some options. But all checkboxes. See the image. But nothing that allows me to choose specific features.

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

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

                                      On 13/06/2007 at 06:32, xxxxxxxx wrote:

                                      Anybody from MAXON? What makes me crazy is, that I can successfully compile a 64-Bit version of the Cinema 4D SDK! So it should also be possible to compile my version without problems I assume.

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

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

                                        On 13/06/2007 at 06:34, xxxxxxxx wrote:

                                        I have to check this for myself but we are kinda busy here.

                                        cheers,
                                        Matthias

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

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

                                          On 13/06/2007 at 07:09, xxxxxxxx wrote:

                                          Howdy,

                                          Hmmmmm, When I load the CD now, I get the same thing as in your attached images, but I'm afraid to try anything because it works now, and I don't want to screw anything up. :o(

                                          I had the 2005 beta version on there, so that had to be uninstalled first. But seems to me, I remember totally deleting everything and then starting fresh, just to get the option.

                                          I have another machine with windows on it, let me see what happens when I install it fresh on there. I'll have to install 2003 first, because the 2005 is an upgrade and it searches for qualifying products. :o(

                                          Adios,
                                          Cactus Dan

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

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

                                            On 13/06/2007 at 07:21, xxxxxxxx wrote:

                                            argh, that would be bad if I had to reinstall everything! 😞 Would be great if you could try on that other machine you have what it´s supposed to look like. Thank you!

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