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

    [Melange] Link issue on Mac OSX 10.7.5

    SDK Help
    0
    4
    403
    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 20/12/2013 at 09:10, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R15 
      Platform:      Mac OSX  ; 
      Language(s) :

      ---------
      Melange version : V6_86243

      Hi again,

      When trying to link Melange (_melange/lib/OSX/_melange_lib_release.a) against my own code on Mac OSX 10.7.5 I get link errors because two symbols are undefined on architecture x86_64 :
      _AudioGetHostClockFrequency referenced from _melange_::GeGetTimer()
      _AudioGetCurrentHostTime referenced from _melange_::GeGetTimer()

      It seems that Melange is calling system functions that are indeed in HostTime.

      However I cannot figure out which system library I should link against
      (I acknowledge I am no MacOS expert...)

      Did anyone have this problem before? how could you fix it?
      Thanks!

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

        On 20/12/2013 at 09:45, xxxxxxxx wrote:

        Hi beneon,

        unfortunately I can't reproduce your problem (building the commandline Example using XCode that is
        included with the Melange SDK). Does that one build fine for you?

        Best,
        -Niklas

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

          On 20/12/2013 at 10:05, xxxxxxxx wrote:

          Hi Niklas,
          Thanks for the answer. I was able to build commandline on my platform.
          When I remove the Core.Audio framework from the list, I get analog link errors as I had before.
          I must therefore find a way to add this framework to my solution.

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

            On 20/12/2013 at 10:26, xxxxxxxx wrote:

            Problem is solved, thanks Niklas for your help.

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