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

    Intel compiler

    Scheduled Pinned Locked Moved SDK Help
    12 Posts 0 Posters 890 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 23/03/2010 at 13:42, xxxxxxxx wrote:

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

      ---------
      Hi,

      could you tell me what steps are necessary to successfully compile the SDK with the intel compiler? I assume the api also needs to be compiled with it?

      thanks in advance

      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 23/03/2010 at 14:06, xxxxxxxx wrote:

        You must compile the whole API. I'm rather sceptical that the generated code runs in Cinema though, because dynamic linking is quite compiler specific.

        I assume that you're trying to link an Intel compiled library?

        In this case I'd rather go for process communication... Though this could be limited assuming that you work on fluid sim stuff here.

        Kabe

        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 23/03/2010 at 14:25, xxxxxxxx wrote:

          I highly assume it should work as there are intel compiler specific definitions in the api (makes no sense if it wasn´t targeted at being built with the intel compiler)

          Though compiling the API works I still get lots of warnings for it. That seems strange to me in the first place. For example for the datatype typedefs and also NULL. So I assume there is maybe an intel compiler specific settings setup available somewhere in the api. Hope the support can give me info on this.

          And nope, I am not linking any other libraries. Actually I am not using external libraries at all in any of my code.

          thanks anyway.

          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 23/03/2010 at 20:23, xxxxxxxx wrote:

            Just out of curiosity:

            Why would you like to use the Intel compiler?
            Trying to get an Microsoft-free household?

            Kabe

            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 24/03/2010 at 01:04, xxxxxxxx wrote:

              Ok, I found the Intel vsprops and changed this accordingly in the project settings of my project and the api project. Then converted the projects inside to use the Intel compiler but I still get these warnings:

              NULL defined to 0 (type is integer not pointer)
              non-pointer conversion from "VLONG={__int64}" to "Bool={int}" may lose significant bits
              non-pointer conversion from "unsigned __int64" to "LONG={long}" may lose significant bits
              non-pointer conversion from "VLONG={__int64}" to "LONG={long}" may lose significant bits

              Com´on, there are intel specific vsprops coming with the api so there should be someone knowing how to set this up.

              Originally posted by xxxxxxxx

              Just out of curiosity:

              Why would you like to use the Intel compiler?
              Trying to get an Microsoft-free household?

              Kabe

              Optimized code.

              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 24/03/2010 at 01:41, xxxxxxxx wrote:

                Have you checked _types.h? Seems like the NULL definition in stdlib.h is pointing there. At least on the Mac side there are a number of compiler specific definitions.

                Hope it helps

                Kabe

                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/03/2010 at 10:10, xxxxxxxx wrote:

                  thanks Kabe but _types.h? There is no such file on windows. Also NULL is the preprocessor definition of the API. I think the support should be able to clear this up.

                  Does really noone from the support know how to compile the api with the intel compiler? I tried converting the default SDK and API in the demo and also there I get the according errors. Does this mean it´s not possible to successfully use the Intel Compiler with the c4d api?

                  The api calls some preprocessor specific pragmas when the _ICL definition is available (apparently this is a definition that should be there when using the Intel compiler according to the comments in the api) but it seems that although converted to using the intel compiler this definition is not available.

                  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 31/03/2010 at 03:05, xxxxxxxx wrote:

                    I asked the developers.

                    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 31/03/2010 at 09:49, xxxxxxxx wrote:

                      Great and 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 19/04/2010 at 02:44, xxxxxxxx wrote:

                        Any news on this from the devs?

                        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 19/04/2010 at 03:16, xxxxxxxx wrote:

                          Basically you just have to redirect to the Intel project property sheets.

                          Giving support for the Intel  compiler (or any other third party compiler) is unfortunatly beyond the scope of the MAXON SDK support.

                          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 19/04/2010 at 03:34, xxxxxxxx wrote:

                            yeah, as I stated I already did that but that doesn´t get rid of the compiler errors. But ok, no support for making this work. At least I know now.

                            thank you

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