Forum
    • Categories
    • Register
    • Login

    Bizarre project compilation issue

    Scheduled Pinned Locked Moved General Questions
    6 Posts 2 Posters 35 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.
    • L
      Lurch
      last edited by

      Hey all - seeing really weird behavior trying to compile a plugin
      On the latest git (last night) but saw this issue on previous builds too. I go Export>Compile project and run the exporter, get this far:

      > Perform sanity checks
      > Create C++ autogenerated files
      > Create binary data files
      > Exporting the pooled resources
      Export audio files
      Writing {PROJECT_FOLDER}DAY.wav ... 0 kB
      Writing {PROJECT_FOLDER}Hall.wav ... 7185 kB
      Writing {PROJECT_FOLDER}MediumPlate.wav ... 7570 kB
      Writing {PROJECT_FOLDER}Sword Jogger Verb.wav ... 8732 kB
      Export image files
      Writing {PROJECT_FOLDER}BG.png ... 0 kB
      Writing /Users/lozpetts/Downloads/Slider test 1.png ... 595 kB
      Writing {PROJECT_FOLDER}FGTransFeathers.png ... 610 kB
      Writing {PROJECT_FOLDER}KNOBDEAD.png ... 1422 kB
      Writing {PROJECT_FOLDER}VOLUMESPENCILKNOBV1.png ... 1436 kB
      Writing {PROJECT_FOLDER}knob sprite.png ... 5086 kB
      Writing {PROJECT_FOLDER}VolumesBGPlain.png ... 5177 kB
      Writing {PROJECT_FOLDER}NVMR Small.png ... 5832 kB
      Writing {PROJECT_FOLDER}Nevermore Book Spine.png ... 5896 kB
      Writing {PROJECT_FOLDER}AboutButtonTransStrip.png ... 6103 kB
      Export samplemap files
      Export MIDI files
      DONE
      > Create embedded data files
      > Launch system compiler...
      Re-saving file: /Volumes/NVMR Dev/Projects/VOLUMES/Binaries/AutogeneratedProject.jucer
      Finished saving: Visual Studio 2022
      Finished saving: Xcode (macOS)
      Finished saving: macOS Makefile
      Finished saving: Xcode (iOS)
      Finished saving: Linux Makefile
      Compiling Instrument plugin Volumes Beta ...
      
      

      And then it hangs forever, regardless of AU, VST etc being selected, regardless of project. Obviously that doesn't tell me much so I opened the Xcode project and compiled it there, it compiled straight away no issues - except the exported file is 32bit? Despite being on Apple Silicon and the flags all saying ARM64e, Support 32bit macOS flag in HISE is unticked. This means I can't test it, which obviously makes the whole thing a bit pointless.
      This has happened on multiple builds of HISE, multiple commits, all my projects -

      HISE 4.9.0 80bc4934
      JUCE v6.1.3 (because JUCE 8 is currently not building in HISE)
      Xcode Version 26.5 (17F42)
      Apple clang version 21.0.0 (clang-2100.1.1.101)
      Target: arm64-apple-darwin25.2.0
      Thread model: posix
      InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

      Is there a way of getting verbose logs out of the HISE exporter so I can see or at least post what's happening?

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Lurch
        last edited by

        @Lurch What happens if you use one of the export options instead of compile project?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        L 1 Reply Last reply Reply Quote 0
        • L
          Lurch @David Healey
          last edited by

          @David-Healey Should have included this, sorry - hangs forever here:

          Last login: Fri May 15 12:34:08 on ttys000
          /Volumes/NVMR\ Dev/Projects/VOLUMES/Binaries/batchCompileOSX ; exit;
          (base) lozpetts@192 ~ % /Volumes/NVMR\ Dev/Projects/VOLUMES/Binaries/batchCompileOSX ; exit;
          Re-saving file: /Volumes/NVMR Dev/Projects/VOLUMES/Binaries/AutogeneratedProject.jucer
          Finished saving: Visual Studio 2022
          Finished saving: Xcode (macOS)
          Finished saving: macOS Makefile
          Finished saving: Xcode (iOS)
          Finished saving: Linux Makefile
          Compiling Instrument plugin Volumes Beta ...
          
          ----- xcbeautify -----
          Version: 2.28.0
          ----------------------
          
          ⚠️ Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
          note: Target dependency graph (3 targets)
          
          
          L 1 Reply Last reply Reply Quote 0
          • L
            Lurch @Lurch
            last edited by

            @Lurch Have now cleared the Xcode project, opened projucer and set the target arch to ARM64/ARM64e - export is still 32bit according to cubase?

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @Lurch
              last edited by

              @Lurch said in Bizarre project compilation issue:

              opened projucer and set the target arch to ARM64/ARM64e

              What does it show in xcode

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              L 1 Reply Last reply Reply Quote 0
              • L
                Lurch @David Healey
                last edited by

                @David-Healey I've fixed it - just incase anyone ever sees similar weirdness in future -

                Open Terminal and:

                xcode-select -p
                

                That should return similar to:

                /Applications/Xcode.app/Contents/Developer
                

                If not, sort it with this:

                sudo xcode-select --switch /Applications/Xcode.app
                sudo xcodebuild -runFirstLaunch
                

                Then reset dev tools:

                sudo xcode-select --reset
                sudo xcodebuild -license accept
                

                Delete derived data and module cache:

                rm -rf ~/Library/Developer/Xcode/DerivedData
                rm -rf ~/Library/Developer/Xcode/ModuleCache.noindex
                

                Double check clang if you've got clang errors:

                clang --version
                xcrun clang --version
                

                If either of those hang, reinstall clang.

                Reinstall commandlinetools:

                sudo rm -rf /Library/Developer/CommandLineTools
                xcode-select --install
                

                Delete Xcode caches (bit severe but I think this is what sorted mine out):

                rm -rf ~/Library/Caches/com.apple.dt.Xcode
                rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
                

                Then reboot, open HISE and try your compile again - mine went straight through, no errors!

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

                11

                Online

                2.3k

                Users

                13.7k

                Topics

                119.0k

                Posts