HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust linking Mac

    Scheduled Pinned Locked Moved Faust Development
    34 Posts 4 Posters 2.9k 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.
    • Christoph HartC
      Christoph Hart @hisefilo
      last edited by

      @hisefilo 5892b959-6e18-49a6-b54c-c1195ea803d9-image.png

      hisefiloH 2 Replies Last reply Reply Quote 0
      • hisefiloH
        hisefilo @Christoph Hart
        last edited by hisefilo

        @Christoph-Hart Exactly what I did before. But get a nasty error from Xcode

        Screen Shot 2022-10-28 at 4.02.37 PM.png Screen Shot 2022-10-28 at 4.03.09 PM.png

        1 Reply Last reply Reply Quote 0
        • hisefiloH
          hisefilo @Christoph Hart
          last edited by

          @Christoph-Hart OMG I'm that stupid! I got it.

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

            Yes, the good ol' space in the path...

            hisefiloH 1 Reply Last reply Reply Quote 0
            • hisefiloH
              hisefilo @Christoph Hart
              last edited by

              @Christoph-Hart Next stop!

              I'm on Intel Mac.
              Any clue??

              Screen Shot 2022-10-29 at 9.21.56 AM.png

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

                Seems like the linker is missing the functions from the faust library. Have you added the library to the External Libraries to Link field?

                Also make sure you've installed the correct version of Faust, there are ARM and Intel versions.

                hisefiloH 2 Replies Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @Christoph Hart
                  last edited by hisefilo

                  @Christoph-Hart I guess so
                  Screen Shot 2022-10-29 at 9.50.51 AM.png


                  Screen Shot 2022-10-29 at 10.06.12 AM.png


                  Screen Shot 2022-10-29 at 10.06.04 AM.png

                  1 Reply Last reply Reply Quote 0
                  • hisefiloH
                    hisefilo @Christoph Hart
                    last edited by

                    @Christoph-Hart External Libraries to Link filled gives me this

                    Screen Shot 2022-10-29 at 10.11.59 AM.png

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

                      What have you put in there? I think you only need to add faust there, it will add the other decorators and paths to find the library itself.

                      hisefiloH 1 Reply Last reply Reply Quote 0
                      • hisefiloH
                        hisefilo @Christoph Hart
                        last edited by

                        @Christoph-Hart LOL the full path /Users/filo/Filo/VST-Project/HISE-Setup-Installers-Software/Faust-2.50.6/lib

                        just 'faust' worked

                        but now our friend jassert

                        Screen Shot 2022-10-29 at 10.24.53 AM.png

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

                          @hisefilo yeah don't bother, that's just debug stuff.

                          hisefiloH 1 Reply Last reply Reply Quote 0
                          • hisefiloH
                            hisefilo @Christoph Hart
                            last edited by hisefilo

                            @Christoph-Hart awesome!! commented that jassert and I'm in!!!

                            Thanks for being there man! I really really appreciate that. Let's see what I can create with this awesome new HISE superpowers

                            Side-note: I was trying to manually integrate Faust to Hise source time ago, just replacing the processBlock with faust processBlock LOL. Made a sound at least!

                            Screen Shot 2022-10-29 at 10.27.33 AM.png

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

                              @hisefilo yes, the integration should be way better now :)

                              Have you installed HISE on a new system? This dialog only shows if you haven't loaded a project yet in HISE.

                              Also you might want to disable Faust External Editor and add a Faust Editor Floating tile in the code editor tab, then you'll get the same UX as editing HiseScript with Faust including autocomplete and error highlighting...

                              hisefiloH 1 Reply Last reply Reply Quote 0
                              • hisefiloH
                                hisefilo @Christoph Hart
                                last edited by

                                @Christoph-Hart Nope, the same system

                                I commented this assert also in order to make it run

                                Screen Shot 2022-10-29 at 10.40.51 AM.png

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

                                  @hisefilo oh you don't need to comment out these jasserts, just click the continue button on Xcode (in the debug panel).

                                  Also you know that you're running the Debug build, right? It's much slower than the release version.

                                  hisefiloH 2 Replies Last reply Reply Quote 0
                                  • hisefiloH
                                    hisefilo @Christoph Hart
                                    last edited by

                                    @Christoph-Hart Yes, I know! I just built a release version. Still getting this every time it opens

                                    Screen Shot 2022-10-29 at 11.16.05 AM.png

                                    hisefiloH 1 Reply Last reply Reply Quote 0
                                    • hisefiloH
                                      hisefilo @Christoph Hart
                                      last edited by

                                      @Christoph-Hart also many unexpected quits. let me know if I can help in any way

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

                                        @hisefilo yeah don‘t click on that icon - it generates a svg preview but that might explode with bigger patches :)

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

                                          But if you send me the faust file I‘ll try to debug the crash.

                                          hisefiloH 1 Reply Last reply Reply Quote 0
                                          • hisefiloH
                                            hisefilo @Christoph Hart
                                            last edited by

                                            @Christoph-Hart Diagram is not needed. I can see it in Faust, but. I cannot make it make a sound, nor edit the code :downcast_face_with_sweat:

                                            Faust Code

                                            import("music.lib");
                                            import("filter.lib");
                                            
                                            myString(freq,feedback) = +~(fdelay4(1024,delLength) <: (_+_')/2 : *(feedback))
                                            with{
                                            	delLength = SR/freq - 1;
                                            };
                                            
                                            frequency = hslider("freq",440,51,2000,0.01);
                                            feedback = hslider("feedback",0.99,0.95,1,0.01);
                                            gate = button("gate");
                                            
                                            impulse = gate <: _,_' : - : >(0);
                                            
                                            process = impulse : myString(frequency,feedback)<:_,_;
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            32

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            104.0k

                                            Posts