HISE Logo Forum
    • Categories
    • Register
    • Login

    ERROR: Cycle inside a single target

    Scheduled Pinned Locked Moved General Questions
    57 Posts 6 Posters 2.8k 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.
    • MorphoiceM
      Morphoice @Christoph Hart
      last edited by

      @Christoph-Hart I can't see that message anywhere, but I'm on Sequoia. Pretty sure I downloaded the develop branch and compiled HISE from it, it even says develop branch in xcode

      Screenshot 2024-10-19 at 21.42.39.png

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

        @Morphoice To be sure, in HISE, go to Help >> About HISE and let us know which commit it says you're using

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

        MorphoiceM 1 Reply Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @d.healey
          last edited by

          @d-healey Screenshot 2024-10-19 at 21.46.38.png

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

          d.healeyD Christoph HartC 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @Morphoice
            last edited by

            @Morphoice Looks good.

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

            MorphoiceM 1 Reply Last reply Reply Quote 0
            • MorphoiceM
              Morphoice @d.healey
              last edited by

              @d-healey damn that would have been an easy fix lol

              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @Morphoice
                last edited by

                Hmm, maybe it fails because of this:

                if(macOSVersion == SystemStats::MacOS_14)
                {
                        PresetHandler::showMessageWindow("Copystep diabled", "macOS Sonoma will cause a compile error if the copy step is enabled, so you have to copy the plugin files into the plugin folders manually after compilation");
                        copyPlugin = false;
                }
                

                So Sequoia is macOS 15, and it appears that I've written the most future proof lines of code of the entire HISE codebase here...

                I've committed a fix that will hold until macOS 20 (remindme in 10 years...), but I don't have Sequoia on my system so you need to check if that actually helped. It should now print a warning message with this content:

                macOS Sonoma (or later) will cause a compile error if the copy step is enabled, so you have to copy the plugin files into the plugin folders manually after compilation

                but then the compilation should go through.

                MorphoiceM 2 Replies Last reply Reply Quote 0
                • MorphoiceM
                  Morphoice @Christoph Hart
                  last edited by

                  @Christoph-Hart LOL :) I'll check it out and get back to you in a bit

                  https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                  MorphoiceM 1 Reply Last reply Reply Quote 0
                  • MorphoiceM
                    Morphoice @Morphoice
                    last edited by

                    @Morphoice Screenshot 2024-10-19 at 22.35.10.jpg got the warning now, the cycle error is gone now and it does indeed compile, however fails a few minutes later

                    ...
                    ▸ Compiling include_hi_dsp_library_01.cpp
                    ▸ Compiling include_hi_core_05.cpp
                    ▸ Compiling include_hi_core_04.cpp
                    ▸ Compiling include_hi_core_03.cpp
                    ▸ Compiling include_hi_core_02.cpp
                    ▸ Compiling include_hi_core.cpp
                    ▸ Compiling factory.cpp
                    ▸ Compiling RNBO.cpp
                    ▸ Compiling PresetData.cpp
                    ▸ Compiling Plugin.cpp
                    ▸ Compiling CopyProtection.cpp
                    ▸ Compiling BinaryData.cpp
                    ▸ Building library libUNSTABLE.a
                    ▸ Compiling include_juce_audio_plugin_client_VST2.cpp
                    ▸ Compiling include_juce_audio_plugin_client_VST2.cpp
                    ▸ Processing Info-VST.plist
                    ** BUILD FAILED **

                    https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                      @Morphoice Use VST3, not VST2 - enable the checkbox in project preferences.

                      @Christoph-Hart is it not enabled by default?

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

                      d.healeyD MorphoiceM 2 Replies Last reply Reply Quote 0
                      • MorphoiceM
                        Morphoice @Christoph Hart
                        last edited by

                        @Christoph-Hart if I compile the project with Xcode this is the details I get

                        Screenshot 2024-10-19 at 22.43.27.jpg

                        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                          @d-healey said in ERROR: Cycle inside a single target:

                          @Morphoice Use VST3, not VST2 - enable the checkbox in project preferences.

                          And if you already have that checkbox enabled, have you extracted the SDK folders?

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

                          MorphoiceM 2 Replies Last reply Reply Quote 0
                          • MorphoiceM
                            Morphoice @d.healey
                            last edited by

                            @d-healey what even is VST2 ?? ,))) let me check how to disable it

                            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                            1 Reply Last reply Reply Quote 0
                            • MorphoiceM
                              Morphoice @d.healey
                              last edited by

                              @d-healey or enable VST3, that is. I thought it was on by default too, never bothered to check

                              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                              1 Reply Last reply Reply Quote 0
                              • MorphoiceM
                                Morphoice @d.healey
                                last edited by

                                @d-healey yeah well, now it fails on another message

                                ▸ Compiling include_hi_dsp_library_02.cpp
                                ▸ Compiling PresetData.cpp
                                ▸ Compiling Plugin.cpp
                                ▸ Building library libUNSTABLE.a
                                ▸ Compiling include_juce_audio_plugin_client_VST3.cpp
                                ▸ Compiling include_juce_audio_plugin_client_VST3.cpp
                                ▸ Processing Info-VST3.plist
                                ** BUILD FAILED **

                                damn. I wanted to be out for a beer an hour ago LOL

                                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                                  @Morphoice did you extract the SDK in the tools folder?

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

                                  MorphoiceM 1 Reply Last reply Reply Quote 0
                                  • MorphoiceM
                                    Morphoice @d.healey
                                    last edited by

                                    @d-healey aye it's all there

                                    https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                                      @Morphoice you 100% definitely got the right folder structure?

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

                                      MorphoiceM 1 Reply Last reply Reply Quote 0
                                      • MorphoiceM
                                        Morphoice @d.healey
                                        last edited by

                                        @d-healey got all green ticks on the setup export wizard

                                        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                                          @Morphoice did you clean the build folder after enabling vst3?

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

                                          MorphoiceM 2 Replies Last reply Reply Quote 0
                                          • MorphoiceM
                                            Morphoice @d.healey
                                            last edited by Morphoice

                                            @d-healey yes that too... it seems to be a problem with the SDK, i might have vst3 sdk stuff I downloaded from steinberg still in there... deleted everything and extracted the zip file in the tools folder again now it goes to the linking phase... taking a long time but I reckon it will work this time.

                                            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                            d.healeyD MorphoiceM 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            20

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            103.9k

                                            Posts