HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust acting up on Windows

    Scheduled Pinned Locked Moved Bug Reports
    35 Posts 5 Posters 1.6k 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.
    • A
      aaronventure
      last edited by

      I have Faust 2.72 on Win 11. The code works when I put it into the Faust node, all works as intended.

      I have a network called FaustNodes which I use to, you guessed it, compile Faust Nodes (because after compiling, they come out as hardcoded nodes along with the hardcoded network, so in ScriptNode I just load the hardcoded Faust file instead of loading a network.

      But on Windows, I cannot compile the FaustNodes network. No matter how many files I put in there, the error thrown during the compilation step always only mentions the last one.

      F:\HISE\Projects\Test\DspNetworks\ThirdParty\Filter.h(15,10): error C1083: Cannot open include file: 'src/Filter.cpp': No such file or directory [F:\HISE\Projects\Test\DspNetworks\Binaries\Builds\VisualStudio2022\Test_DynamicLibrary.vcxproj]

      ThirdParty/src/ definitely contains Filter.cpp.

      It is not code related. If you create an empty faust file and try to compile it, it will throw the same error.

      The whole thing goes fine on macOS.

      I even tried setting Faust Path in settings to C:\Program Files\Faust, no budge. Really weird, because Faust seems to work as the code and the library are present and behave as expected.

      Anyone else experienced this?

      I'm on yesterday's commit, 088cbe1 - - fixed HISE module UIs not retaining some values.

      J 1 Reply Last reply Reply Quote 0
      • J
        jeffd @aaronventure
        last edited by

        @aaronventure
        Im still kinda a noob with this stuff. But i had a similar problem on windows,

        I reverted back to this version of faust:
        https://github.com/grame-cncm/faust/releases/tag/2.60.3
        and that worked when compiling.

        A 2 Replies Last reply Reply Quote 1
        • A
          aaronventure @jeffd
          last edited by

          @jeffd alright that worked, so definitely the newer versions that don't play well with HISE on Windows

          1 Reply Last reply Reply Quote 0
          • A
            aaronventure @jeffd
            last edited by

            @jeffd this is the last version that works, 2.68 is acting up as well.

            J 1 Reply Last reply Reply Quote 0
            • J
              jeffd @aaronventure
              last edited by

              @aaronventure

              Good to know. Thanks

              J 1 Reply Last reply Reply Quote 0
              • J
                jeffd @jeffd
                last edited by

                @jeffd

                well, now i cant get my plugin to export on mac with faust, even though the dsp network works as a hardcoded effect in the standalone.

                it says the dspnetwork is not compiled when i try to export the plugin, yet im using the compiled dll in the hardcodedmaster fx module.

                I must be misunderstanding what a dsp network is
                no idea

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

                  Interesting, I can reproduce this with the latest Faust 2.7.4.

                  What's weird is that if I close HISE and click on the batchCompile.bat file in the DspNetworks/Binaries folder to manually launch the compile script in a separate cmd window, the compilation goes through fine (also when compiling it through VS2022). If I do the same thing while HISE is still open (after the export process) it also fails. Can you reproduce this?

                  It looks like the Faust compiler is holding some kind of file lock that prevents the read access (I'm writing the faust files just short before the compilation).

                  BTW, do you guys have like, sound in Faust 2.74? It completely stopped working here and I'm not sure if I messed up the install or if there is something seriously wrong. The faust compilation goes through and I can step through the debugger so I know it calls into the Faust library, but there's no processing going on at all.

                  A J 2 Replies Last reply Reply Quote 0
                  • A
                    aaronventure @Christoph Hart
                    last edited by

                    @Christoph-Hart I pulled the latest commit, still failing compiling networks on 2.74.

                    Also no output on 2.74 on Windows. But code output on 2.72 works fine.

                    2.72 fails to compile the network as well.

                    70c65925-dc38-416b-a552-e7af6bed454f-image.png

                    1 Reply Last reply Reply Quote 0
                    • J
                      jeffd @Christoph Hart
                      last edited by

                      @Christoph-Hart
                      i also had no sound in 2.74,
                      but at the time i thought it was user error

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

                        So 2.7.2 still produces output, but 2.7.4 doesn't?

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          aaronventure @Christoph Hart
                          last edited by

                          @Christoph-Hart yes

                          but compilation fails from 2.68 onward

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

                            @aaronventure does it work if you close HISE, then double click on the batchCompile.bat file in DspNetworks/Binaries?

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              aaronventure @Christoph Hart
                              last edited by

                              @Christoph-Hart 2.68 fails with the exact same error when launching the BatchCompile.bat

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

                                @aaronventure also when HISE is closed?

                                A 2 Replies Last reply Reply Quote 0
                                • A
                                  aaronventure @Christoph Hart
                                  last edited by

                                  @Christoph-Hart yes, open or closed,fails.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    aaronventure @Christoph Hart
                                    last edited by aaronventure

                                    @Christoph-Hart here's more fun for you: the latest commit

                                    0b2885d - - fix faust code export with Faust versions > 2.6.0
                                    

                                    fails to compile the network even with 2.60

                                    reverting down to yesterday's

                                    bb1a664 - - added setFFTSize() to timestretch API - removed dependencies from hi_streaming
                                    

                                    works fine.

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      aaronventure @aaronventure
                                      last edited by aaronventure

                                      @aaronventure Another kicker.

                                      On this commit

                                      bb1a664 - - added setFFTSize() to timestretch API - removed dependencies from hi_streaming
                                      
                                      

                                      compiling a network from HISE fails, but if I close HISE and launch the bat, it goes through and the compiled Faust file is visible as a node in the projects category.

                                      ef384831-15fe-4cb5-b517-a17390431eb4-image.png

                                      So:

                                      • your latest commit messes things up and even 2.60 doesn't work
                                      • troubles started with 2.68.
                                      • 2.74 breaks the Faust output entirely on Windows.
                                      Christoph HartC J 2 Replies Last reply Reply Quote 0
                                      • Christoph HartC
                                        Christoph Hart @aaronventure
                                        last edited by

                                        @aaronventure Ok I think just messed up epically with the last commit, I‘ll check when I get back.

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

                                          ae4c69cd-dea2-47e9-9ed9-b152605e4c39-image.png

                                          That's a new low even for me.

                                          J A 3 Replies Last reply Reply Quote 1
                                          • J
                                            jeffd @Christoph Hart
                                            last edited by

                                            @Christoph-Hart

                                            Should wait and try to export my plugin after an update before I try to delete all these dsp networks and start over?

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

                                            43

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.3k

                                            Posts