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
    • Register
    • Login

    The trouble with libz.dylib and SDK (?)

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 255 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 18/02/2006 at 21:48, xxxxxxxx wrote:

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

      ---------
      I've been trying to port interPoser Ltd to UB for the past several days. I have full PPC/i386 compiles and links now (since I need CoreServices framework for Mac Resource Forks), but any calls to libz.dylib (zlib dynamic library to replace the old CFM zlib.a) do not work. I've scoured the internet and Apple developer resources and mailing lists. I'm using -lz and including the required headers, zconf.h and zlib.h. But it appears that libz.dylib is not getting bound to my plugin dylib at runtime. Without any information (anywhere) on how to port zlib from CFM to XCode .a and Apple's stupidity for not including a zlib.a (or libz.a), it is not worth the effort to attempt to do it myself. I might not have a choice, but it will take a week? two? to get it to that point.

      Since this seems to be an issue of using a dylib with a dylib that is a plugin, I could use some help from someone who understands it from this end (as compared to all of the others doing apps).

      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 21/02/2006 at 11:29, xxxxxxxx wrote:

        After some more work, still not certain, but this appears to be related to files more than anything. All of my difficulties seem to be in accessing the filesystem. Zlib compression works in memory for morphs, but not in opening compressed files. Guessing, this could either be endian or BSD-MacOSX contention.

        Migration will have to wait...

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