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

    Linker Error: LIMIT<Int32>::MAX undefined

    Cinema 4D SDK
    r20 c++
    2
    3
    446
    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.
    • fwilleke80F
      fwilleke80
      last edited by

      Hallo,

      I'm writing on behalf of a collegue. He is using the macro NOTINDEX from lib_modeling. That macro is defined as LIMIT<Int32>::MAX. However, when building the project, he gets a linker error, saying that LIMIT<Int32>::MAX was undefined.
      I tried it in a small test project, and of course it actually works fine. So there has to be some problem with the rest of his project.

      Long story short, here is his question: What could be the reason for LIMIT<Int32> to become undefined for the linker?

      Thanks in advance,
      Frank

      www.frankwilleke.de
      Only asking personal code questions here.

      1 Reply Last reply Reply Quote 0
      • S
        s_bach
        last edited by

        Hello,

        any chance you could provide some example code to reproduce the issue? Without that, one can only guess what is wrong.

        best wishes,
        Sebastian

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • fwilleke80F
          fwilleke80
          last edited by fwilleke80

          Hi Sebastian!

          Thanks for you quick reply. He will try and reduce the code as much as possible (as it is a commercial project of your company). When he's done, I'll send it over.

          I am aware that you can't do much without example code. We were hoping there were some common stumble stones you might have come across.

          Another thing worth mentioning might be that the linker only fails when building on macOS. Windows is doing fine...

          Cheers,
          Frank

          www.frankwilleke.de
          Only asking personal code questions here.

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