HISE Logo Forum
    • Categories
    • Register
    • Login

    Unable to find libncurses.6.dylib when launching Hise + Faust

    Scheduled Pinned Locked Moved General Questions
    23 Posts 6 Posters 1.4k 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 @ulrik
      last edited by

      @ulrik never heard of that library and I didn‘t need to install it for Faust. What OS version and Faust version are you using?

      Maybe @sletz can jump in now that he has new free time because all his students are using ChatGPT anyway :)

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

        @Christoph-Hart I'm using MacOS Ventura 13.0.1 (22A400)
        and Faust-2.54.9-x64

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

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

          @ulrik I'm following the helpful video by Tania here:
          https://forum.hise.audio/topic/7021/faust-hise-video-tutorials-hny-2023

          and I get an error when Hise try to find the "stdfaust.lib"

          Skärmavbild 2023-01-02 kl. 11.16.07.png

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

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

            @ulrik you need to set the FaustPath in the macOS settings. Also check the sticky post with the build instructions.

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

              @Christoph-Hart Ok, I'll take a look, thanks!

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

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

                @Christoph-Hart Ok, I've set the Faust path but now Hise crash every time I create a new dsp file and load it
                This is my journey:

                • No problems building Hise with Faust enabled
                • Launching Hise after successful build result ina message saying "libfaust.2.........dylib can not be opened because its identity is not confirmed"

                Skärmavbild 2023-01-02 kl. 12.15.21.png

                So I use the terminal to make it trustworthy

                xattr -cr /Users/ulrikboden/Music/Hise/HISE-develop/tools/faust/lib/libfaust.2.54.9.dylib
                

                This will make Hise open, I set the path to Faust in the settings

                Skärmavbild 2023-01-02 kl. 12.36.25.png

                and start exploring this exciting new world of Faust :)

                I create the dsp Network file and load the "core.faust"

                however it ends abruptly when I create a "New File" in core.faust, Hise crashing.

                So I open the project again, (the "New file" I created in core.faust is there, I just need to load it, but as soon as I try Hise crash again.

                If I open the created .dsp file in an external editor it says:

                // Faust Source File: CompressorST
                // Created with HISE on 2023-01-02
                import("stdfaust.lib");
                process = _, _;
                

                and that looks good, right?

                and this is my network file

                <?xml version="1.0" encoding="UTF-8"?>
                
                <Network ID="STCompressor" Version="0.0.0">
                  <Node FactoryPath="container.chain" ID="STCompressor" Bypassed="0">
                    <Nodes>
                      <Node ID="faust" FactoryPath="core.faust" Bypassed="0">
                        <Properties>
                          <Property ID="ClassId" Value=""/>
                          <Property ID="NumParameters" Value="0"/>
                        </Properties>
                        <Parameters/>
                        <SwitchTargets/>
                      </Node>
                    </Nodes>
                    <Parameters/>
                  </Node>
                </Network>
                

                What am I doing wrong?

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

                1 Reply Last reply Reply Quote 0
                • S
                  sletz
                  last edited by

                  /opt/local/lib/libncurses.6.dylib : yes I recently realized that our recent Faust binary packages have several /opt/local/lib/xxx dependancies (because we build them using a MacPorts installed LLVM version), which is bad :anguished_face: . But embedding LLVM without any dependancies is not so easy. Still fighting to find a proper solution.

                  FortuneF ulrikU 2 Replies Last reply Reply Quote 0
                  • S
                    sletz
                    last edited by sletz

                    @Christoph-Hart Here is Chat GPT answer 😧 !

                    How to build LLVM on macOS without any dependancies ?

                    To build LLVM on macOS without any dependencies, you will need to build the LLVM source code from scratch. This process involves downloading the LLVM source code, configuring the build environment, and compiling the source code using a suitable compiler.

                    Here are the general steps you will need to follow to build LLVM on macOS without any dependencies:

                    Download the LLVM source code. You can obtain the latest stable release of LLVM from the LLVM website (https://llvm.org/releases/), or you can check out the latest development version of LLVM from the LLVM Git repository (https://github.com/llvm/llvm-project).
                    Configure the build environment. LLVM uses the CMake build system, which requires you to specify a number of build options and configuration variables. You will need to create a build directory and run CMake to generate the build files for LLVM.
                    Compile the source code. Once the build files have been generated, you can use a suitable compiler (such as Clang or GCC) to compile the LLVM source code. You can use the make command to build LLVM, or you can use a build tool such as Ninja to build LLVM more quickly.
                    Install LLVM. Once the LLVM source code has been compiled, you will need to install it on your system. You can do this by running the make install command from the build directory.

                    Note that building LLVM from scratch can be a complex process, and it may require a significant amount of time and resources. If you are not familiar with building software from source code, you may want to consider using a pre-built version of LLVM instead. This will allow you to use LLVM without the need to build it yourself.

                    1 Reply Last reply Reply Quote 0
                    • FortuneF
                      Fortune @sletz
                      last edited by

                      @sletz Screen Shot 2023-01-02 at 20.55.18.png

                      Same issue here. Monterey - M1 - Xcode 13.1

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

                        @sletz Is it possible to get hands on an older Faust binary package?
                        It was...

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

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

                          @ulrik Ok, I installed older Faust binaries "Faust-2.50.6-x64" and I have no more crashes :)

                          I still have to use the "xattr -cr /path to the libfaust.dylib, but that's a Mac thing....

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

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • S
                            sletz
                            last edited by

                            What was the crash? Any crash log?

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

                              @sletz sorry for late answer, no crash logs I'm afraid 😔

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

                              1 Reply Last reply Reply Quote 0
                              • DabDabD
                                DabDab @ulrik
                                last edited by

                                @ulrik Please can you tell me How can I install libncurses.6.daylib to get rid of HISE Can not be opened error !!
                                Screenshot 2023-01-11 at 11.18.35 AM.png

                                At first I was having libfaust.daylib not verified error. I have managed it by bypassing Gatekeeper. But still no luck. HISE is not being opened and keep crashing.

                                Please tell me the required steps : I have a very poor knowledge on MAC OS.

                                Bollywood Music Producer and Trance Producer.

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

                                  @ulrik said in Unable to find libncurses.6.dylib when launching Hise + Faust:

                                  @ulrik Ok, I installed older Faust binaries "Faust-2.50.6-x64" and I have no more crashes :)

                                  I still have to use the "xattr -cr /path to the libfaust.dylib, but that's a Mac thing....

                                  @DabDab As I wrote up here, I installed an older version of Faust, try to use Faust-2.50-x64 instead

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

                                  DabDabD 1 Reply Last reply Reply Quote 1
                                  • DabDabD
                                    DabDab @ulrik
                                    last edited by

                                    @ulrik OK>.. Great.. Thank you (y)

                                    Bollywood Music Producer and Trance Producer.

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

                                    19

                                    Online

                                    1.7k

                                    Users

                                    11.8k

                                    Topics

                                    102.3k

                                    Posts