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

    Weird Compiler error?

    Scheduled Pinned Locked Moved SDK Help
    7 Posts 0 Posters 516 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 13/03/2007 at 04:06, xxxxxxxx wrote:

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

      ---------
      Hi there,
      i got a problem that is very weird. it only exists on a dualcore UB-Mac as i found out.
      no matter where in the sourcecode the GetInfo() function of a BaseObject is inserted, the MAC freezes when the color picker from the Material Dialog is opened.

      this is really very weird. the code doesn't have to be executed, it is enough if it's got compiled with other code. and the color picker freezes.

      minimal example:

        
      #include "c4d.h"  
        
      void test()  
      {  
      BaseObject* test=NULL;  
      if(test)  
      test->GetInfo();  
      }  
        
      Bool PluginStart()  
      {  
      return True;  
      }  
        
      void PluginEnd()  
      {  
      }  
        
      Bool PluginMessage(LONG id, void* data)  
      {  
      return TRUE;  
      }  
        
      

      as you see test is never executed, but the color picker freezes.
      now can anybody tell me what that is? must be a XCode compiler error or anything.
      would be nice if someone could test it on his machine. happens for me on a Dualcore Mac-Mini

      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 15/03/2007 at 03:52, xxxxxxxx wrote:

        sorry but I can not confirm this. i get no crashes here.

        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 15/03/2007 at 08:50, xxxxxxxx wrote:

          did you try it on a dual-core intel mac?
          i only get this problem there, no problems with windows and single core macs.

          thanks for testing so far

          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 26/03/2007 at 00:52, xxxxxxxx wrote:

            yes I tested it on a dual-core intel mac.

            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 26/03/2007 at 04:51, xxxxxxxx wrote:

              Make sure you remove any other plugins in your plugins folder before testing. Maybe another plugin is causing your plugin to crash.

              Does it still crash when it´s the only plugin registered?

              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 27/03/2007 at 00:09, xxxxxxxx wrote:

                hey,
                thanks for your replies,
                yes i did remove all plugins, doesn't change anything.
                it freezes each time i open the color picker from the Material.
                the Debugger says something about GeDelete goes wrong.
                i uploaded a file, perhaps you could try this. there's a compiled dylib inside and the project and source file. when you compile it yourself be sure to move the dylib out of the debug folder afterwards.

                http://www.blackstar-solutions.de/files/freezeerror/brokenproj.zip

                here's a screenshot:

                thanks again.

                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 27/03/2007 at 00:13, xxxxxxxx wrote:

                  hmm,
                  when i don't start it from the debugger it freezes when i close the material editor after changing the color.
                  someone is definitly corrupting my memory 😉

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