HISE Logo Forum
    • Categories
    • Register
    • Login

    Errors trying to compile standalone app on MacOS- XCode 14.1

    Scheduled Pinned Locked Moved Bug Reports
    22 Posts 3 Posters 1.1k 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.
    • gorangroovesG
      gorangrooves
      last edited by

      @Christoph-Hart
      I compiled HISE standalone with no problems on MacOS, Ventura, using the latest XCode 14.1. I used HISE develop branch downloaded about an hour or so ago.

      However, compiling my standalone app fails with the following errors.

      /Binaries/Source/Plugin.cpp:6:57 Use of undeclared identifier 'PresetData'
      
      

      The relevant code:

      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::MidiFiles, PresetData::midiFiles, PresetData::midiFilesSize);
      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::SampleMaps, PresetData::samplemaps, PresetData::samplemapsSize);
      DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Scripts, PresetData::externalFiles, PresetData::externalFilesSize);
      

      Preset data errors:

      /Binaries/Source/PresetData.cpp:29:1 Expected unqualified-id
      
      

      Code on line 29:

      5,27,89,175,
      

      Preset data error 2:

      /Binaries/Source/PresetData.cpp:4631:141 Extraneous closing brace ('}')
      
      

      Code on line 4631:

      114,107,100,111,119,110,68,111,99,115,78,101,116,119,111,114,107,115,0,0,0,5,240,3,130,154,104,26,3,156,183,218,121,88,133,233,93,17,2,0,0};
      

      And lucky last:

      /Binaries/Source/PresetData.cpp:4632:55 Use of undeclared identifier 'temp1'
      
      

      Code on line 4632:

      const char* PresetData::externalFiles = (const char*) temp1;
      

      I am off to try to compile a plugin and see if that works ok.

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

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

        @gorangrooves Try cleaning the build folder, it looks like some intermediate autogenerated files cause some glitching.

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @Christoph Hart
          last edited by

          @Christoph-Hart Ok. I'll give that a shot. I got the same errors for the plugins.

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

          gorangroovesG 1 Reply Last reply Reply Quote 0
          • gorangroovesG
            gorangrooves @gorangrooves
            last edited by gorangrooves

            @gorangrooves So, when trying to export from HISE, I noticed that the export failed and I get this line in the terminal.

            /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
            

            I checked that directory and I have Ruby version 2.6.

            When trying to compile the plugins from the autogenerated project using XCode, I still get the same Preset data errors. Maybe this is all related?

            Should I be hunting for Ruby 2.3 or change something to require Ruby 2.6?

            Goran Rista
            https://gorangrooves.com

            Handy Drums and Handy Grooves
            https://library.gorangrooves.com

            gorangroovesG 1 Reply Last reply Reply Quote 0
            • gorangroovesG
              gorangrooves @gorangrooves
              last edited by

              Not having success installing Ruby v 2.3, so if possible, changing the required version to 2.6 would probably do the trick. Where would I do that?

              Goran Rista
              https://gorangrooves.com

              Handy Drums and Handy Grooves
              https://library.gorangrooves.com

              gorangroovesG 1 Reply Last reply Reply Quote 0
              • gorangroovesG
                gorangrooves @gorangrooves
                last edited by

                @Christoph-Hart Apparently even the Ruby 2.6 version is no longer maintained, as the latest is 3.12. It would make sense to move over to it if practical.

                Goran Rista
                https://gorangrooves.com

                Handy Drums and Handy Grooves
                https://library.gorangrooves.com

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

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey
                    last edited by

                    Can you install the older version via homebrew?

                    gorangroovesG 2 Replies Last reply Reply Quote 0
                    • gorangroovesG
                      gorangrooves @d.healey
                      last edited by

                      @d-healey I got as far as installing the version 2.3 using Homebrew, but it is not happening. It seems that it may no longer be avaliable on the Ruby server.

                      Goran Rista
                      https://gorangrooves.com

                      Handy Drums and Handy Grooves
                      https://library.gorangrooves.com

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

                        @d-healey Would you please be able to tell me what version of Ruby you have on your system here:

                        /System/Library/Frameworks/Ruby.framework/Versions/
                        

                        I wonder if I duplicate the "2.6" folder and rename it to "2.3", it will fix the problem 🙄

                        Goran Rista
                        https://gorangrooves.com

                        Handy Drums and Handy Grooves
                        https://library.gorangrooves.com

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

                          @gorangrooves I'm using Monterey and Xcode 13.1 so my Ruby version is probably not relevant.

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

                            @d-healey I think it is relevant. If your version is 2.3, then something needs to be changed with HISE to work with 2.6 or other versions.
                            If your version is other than 2.3 and still working, then the problem could be more my system-specific.

                            Goran Rista
                            https://gorangrooves.com

                            Handy Drums and Handy Grooves
                            https://library.gorangrooves.com

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

                              @gorangrooves Ok, I'll check later this evening and let you know.

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

                                @gorangrooves I have version 2.6

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

                                  @d-healey Thank you. That is good to know. So, you have the same as me. I am now unable to export projects on Win either with the latest HISE build, so let us see if this issue gets somewhat resolved after Christoph does some tinkering.

                                  Goran Rista
                                  https://gorangrooves.com

                                  Handy Drums and Handy Grooves
                                  https://library.gorangrooves.com

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

                                    I'm having no issues compiling here

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

                                      Not having success with Mac builds. I copied the project to an SSD attached to my Mac to rule out that problem and cleaned up the build folder. I am targeting both Apple silicon and Intel. These are the errors I am getting for all formats I am trying to compile (VST, VST3, AU, AUv3, AAX).

                                      Showing Recent Errors Only
                                      Undefined symbol: _ippFree
                                      
                                      Undefined symbol: _ippsAdd_32f
                                      
                                      Undefined symbol: _ippsCplxToReal_32fc
                                      
                                      Undefined symbol: _ippsFFTFwd_RToPerm_32f
                                      
                                      Undefined symbol: _ippsFFTGetSize_C_32fc
                                      
                                      Undefined symbol: _ippsFFTGetSize_C_64fc
                                      
                                      Undefined symbol: _ippsFFTGetSize_R_32f
                                      
                                      Undefined symbol: _ippsFFTGetSize_R_64f
                                      
                                      Undefined symbol: _ippsFFTInit_C_32fc
                                      
                                      Undefined symbol: _ippsFFTInit_C_64fc
                                      
                                      Undefined symbol: _ippsFFTInit_R_32f
                                      
                                      Undefined symbol: _ippsFFTInit_R_64f
                                      
                                      Undefined symbol: _ippsFFTInv_PermToR_32f
                                      
                                      Undefined symbol: _ippsFree
                                      
                                      Undefined symbol: _ippsMalloc_32fc
                                      
                                      Undefined symbol: _ippsMalloc_8u
                                      
                                      Undefined symbol: _ippsRealToCplx_32f
                                      
                                      Undefined symbol: _ippsSum_32f
                                      
                                      Undefined symbol: _ippsThreshold_32f_I
                                      
                                      

                                      Perhaps some setting somewhere will magically blow these errors away?

                                      Goran Rista
                                      https://gorangrooves.com

                                      Handy Drums and Handy Grooves
                                      https://library.gorangrooves.com

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

                                        Don't use IPP on Mac

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

                                          @d-healey Not trying to. How not to?

                                          Goran Rista
                                          https://gorangrooves.com

                                          Handy Drums and Handy Grooves
                                          https://library.gorangrooves.com

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

                                            @gorangrooves Uncheck it in your project preferences

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

                                            31

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.7k

                                            Posts