HISE Logo Forum
    • Categories
    • Register
    • Login

    Now This: ❌ fatal error: sorry, this include generates a translation unit too large for Clang to process.

    Scheduled Pinned Locked Moved Solved General Questions
    13 Posts 3 Posters 638 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.
    • CyberGenC
      CyberGen @Lindon
      last edited by CyberGen

      @d-healey @Lindon Mac. I'm using the developer branch. Compiling directly out of HISE. But with Xcode (14.2) I get the same error.

      1 Reply Last reply Reply Quote 0
      • CyberGenC
        CyberGen @Lindon
        last edited by

        @Lindon @d-healey Sorry posted this on the wrong thread a moment ago.

        This is the screenshot of the terminal when it fails.

        Any guesses as to what could be hapening?

        Screenshot 2024-02-16 at 1.10.57 PM.png

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          Are you exporting a plugin or standalone? Have you tried cleaning the build folder? Are you able to build HISE?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          CyberGenC 2 Replies Last reply Reply Quote 0
          • CyberGenC
            CyberGen @d.healey
            last edited by CyberGen

            @d-healey I'm trying for a standalone first but I have tried plugin just to see if it works. same result. Yes I've cleaned the build directory and yes I can build HISE just fine. Built HISE as recently as yesterday.

            What is it referring to with "translation unit"?

            last part looks like this:
            Screenshot 2024-02-16 at 1.38.07 PM.png

            1 Reply Last reply Reply Quote 0
            • CyberGenC
              CyberGen @d.healey
              last edited by

              @d-healey also, I just exported one of my older projects without issue, to make sure is related to this particular project.

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                @CyberGen said in Now This: ❌ fatal error: sorry, this include generates a translation unit too large for Clang to process.:

                What is it referring to with "translation unit"?

                No idea but usually when something is too large it means you've ran out of RAM. Does this project contain a lot of embedded images or audio files (not samples)?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                CyberGenC 1 Reply Last reply Reply Quote 0
                • CyberGenC
                  CyberGen @d.healey
                  last edited by

                  @d-healey so no, the project is wavetable based and it's performing at basically 0% RAM and under 10%CPU. All knobs and graphics are created with vector graphics and shaders with the exception of one background image, which is large but nothing to cry about, I don't think. 21MB

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @CyberGen
                    last edited by

                    @CyberGen said in Now This: ❌ fatal error: sorry, this include generates a translation unit too large for Clang to process.:

                    21MB

                    Is that the raw bitmap size?
                    How big are the wavetables? Are they embedded?

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    CyberGenC 1 Reply Last reply Reply Quote 0
                    • CyberGenC
                      CyberGen @d.healey
                      last edited by

                      @d-healey so, I deleted a bunch of old unused files that were still in the audio files project. This made the build succeed!... the only problem is the that the app does not run. But hey, one fight at a time. Thank you for helping me troubleshoot this.

                      It does bring up one question. Is there a size limit to audio files? or the size of the audio file folder?

                      thanks again.

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @CyberGen
                        last edited by

                        @CyberGen
                        https://docs.hise.audio/working-with-hise/project-management/projects-folders/audio-files.html
                        https://docs.hise.audio/working-with-hise/settings/project.html#embed-audio-files

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 1
                        • CyberGenC CyberGen marked this topic as a question on
                        • CyberGenC CyberGen has marked this topic as solved on
                        • First post
                          Last post

                        50

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.2k

                        Posts