HISE Logo Forum
    • Categories
    • Register
    • Login

    scriptnode code fail to build

    Scheduled Pinned Locked Moved Bug Reports
    20 Posts 4 Posters 961 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.
    • ulrikU
      ulrik
      last edited by ulrik

      on macOS

      Apple Mach-O Linker (ld) Error Group
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      duplicate symbol __ZN4hise16HiseColourScheme28createAlertWindowLookAndFeelEPv in:
          /Users/ulrikboden/Library/Developer/Xcode/DerivedData/HISE_Standalone-hhqorfltikaidzcoobewkrhykknj/Build/Intermediates.noindex/HISE Standalone.build/Release/HISE Standalone - App.build/Objects-normal/x86_64/include_hi_scripting_01.o
          /Users/ulrikboden/Library/Developer/Xcode/DerivedData/HISE_Standalone-hhqorfltikaidzcoobewkrhykknj/Build/Intermediates.noindex/HISE Standalone.build/Release/HISE Standalone - App.build/Objects-normal/x86_64/include_hi_tools.o
      ld: 1 duplicate symbol for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      Showing Recent Issues
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      
      
      

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

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

        Ahhh, my human Travis CI strikes again ;)

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @Christoph Hart
          last edited by

          @Christoph-Hart I saw you just made a commit for script node, did you fix the build failure on macOS?

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik
            last edited by

            Still no luck, even more errors, mostly semantic ones
            Skärmavbild 2019-10-15 kl. 10.22.22.png
            Skärmavbild 2019-10-15 kl. 10.22.37.png
            Skärmavbild 2019-10-15 kl. 10.23.06.png

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            V 1 Reply Last reply Reply Quote 0
            • V
              VHO @ulrik
              last edited by VHO

              @ulrik
              Just tried to build the newest ScriptNode as HISE Stand Alone and it did manage to build ok. Just the usual warnings, but no errors. (I'm running on Mojave and Xcode 11.1). Unless I'm accidantely cashing some older Script Node (I don't think that I'm) it should work fine on the newest commit as far as I can see. Are you changing in Projucer to 64 bit? Building the 32/64 bit version will result in errors (at least on Mojave and Xcode 10+) You might need to check that setting in your Xcode Scheme as well (I had this issue on High Sierra before)

              PS I'm just talking about the standard Projucer Release Preset. Not without any Preprocessor definitions, Plist definitions or Xcode Flags

              Why so many samples.... ok ... I still need more :D

              ulrikU 2 Replies Last reply Reply Quote 0
              • ulrikU
                ulrik @VHO
                last edited by

                @VHO ok, I'm running on Mojave too but I have Xcode 10.1, maybe that's the problem?
                Last time I updated Xcode nothing worked so I am a little nervous to update it...🤔

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik @VHO
                  last edited by

                  @VHO oh, and yes I'm changing the setting in Projucer to 64bit, and I have ipp enabled

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

                  1 Reply Last reply Reply Quote 0
                  • V
                    VHO
                    last edited by

                    I actually had few issues on Xcode 10 while on Mojave 10.14.6 and I found the Xcode 11.1 pretty stable ( but keep in mind I use it only for HISE and HISE related projects, so I can not speak for other projects you might be developing )

                    Why so many samples.... ok ... I still need more :D

                    ulrikU 2 Replies Last reply Reply Quote 1
                    • ulrikU
                      ulrik @VHO
                      last edited by

                      @VHO Ok, good to know. I will try with Xcode 11, thank you!

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @VHO
                        last edited by

                        @VHO I tried using Xcode 11.1 but it fails anyway, this

                        Apple Mach-O Linker (ld) Error Group
                        : "_ippiFilterGaussianGetBufferSize", referenced from:
                        : "_ippiFilterGaussianInit", referenced from:
                        : "_ippiFilterGaussianBorder_8u_C3R", referenced from:
                        : Linker command failed with exit code 1 (use -v to see invocation)
                        

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          VHO @ulrik
                          last edited by VHO

                          Not really sure. Are you sure that you are compiling the newest script node? not caching older version?

                          Unless it is what I'm doing and hence my compile works. Sorry that I can't be more help :/

                          Why so many samples.... ok ... I still need more :D

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

                            I'm getting the same error on Linux Mint. I'm going to build without IPP for now (I think that will get rid of the error).

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

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

                              Nope, didn't fix it. I'll keep looking for a solution

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

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

                                I found a solution. Build an earlier commit :)

                                This one works - https://github.com/christophhart/HISE/commit/7ea39635d1fe87bb17e91aedbb0ae17a58f8dc93

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

                                1 Reply Last reply Reply Quote 0
                                • ulrikU
                                  ulrik @VHO
                                  last edited by

                                  @VHO yes I'm sure I'm using the latest code

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

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

                                    Hmm, the IPP function for the gaussian blur is somehow not included in the macOS libraries. I've deactivated it for now for macOS until I get an idea why this happens.

                                    ulrikU 2 Replies Last reply Reply Quote 1
                                    • ulrikU
                                      ulrik @Christoph Hart
                                      last edited by

                                      @Christoph-Hart ok, I will try it tomorrow 👍 , thank you!

                                      Hise Develop branch
                                      MacOs 15.3.1, Xcode 16.2
                                      http://musikboden.se

                                      1 Reply Last reply Reply Quote 0
                                      • ulrikU
                                        ulrik @Christoph Hart
                                        last edited by

                                        @Christoph-Hart yes that was it, now it builds fine, thank you!

                                        Hise Develop branch
                                        MacOs 15.3.1, Xcode 16.2
                                        http://musikboden.se

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          VHO @ulrik
                                          last edited by VHO

                                          @ulrik said in scriptnode code fail to build:

                                          @VHO yes I'm sure I'm using the latest code

                                          Sorry it was me who was accidentally using old cached build hence it was building for me earlier. I'm still getting used to Xcode (used be on Visual before on PC) and the way Xcode caches projects is still annoyingly confusing to me. Getting the handle on it slowly. Sorry to take up your time with false info

                                          Why so many samples.... ok ... I still need more :D

                                          ulrikU 1 Reply Last reply Reply Quote 0
                                          • ulrikU
                                            ulrik @VHO
                                            last edited by

                                            @VHO No problems 👍

                                            Hise Develop branch
                                            MacOs 15.3.1, Xcode 16.2
                                            http://musikboden.se

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

                                            19

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts