HISE Logo Forum
    • Categories
    • Register
    • Login

    New to Linux - Compiling in Linux

    Scheduled Pinned Locked Moved General Questions
    20 Posts 4 Posters 1.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.
    • S
      Soundavid
      last edited by

      Hi, im a linux newbie and im trying to compile HISE without Faust on Linux MINT Last version, im getting a lot of linking errors, ive already installed the Dependencies and fixed the ipp linking errors, what im missing?

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

        @Soundavid More details needed. What are the errors? What linker are you using - mold, gold, ld?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        S 1 Reply Last reply Reply Quote 0
        • S
          Soundavid @d.healey
          last edited by

          @d-healey I didn´t know that i needed a linker, the errors start with some gtk and pango header files not finding, i have installed just the dependencies from the repository tutorial and gcc 11.

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

            @Soundavid said in New to Linux - Compiling in Linux:

            I didn´t know that i needed a linker,

            Can't link without a linker :) if you haven't installed one specifically then you're probably using LD (I think that's the default). Anyway install mold, it's much faster and then add this in your extra linker flags.

            -no-pie
            -flto=auto
            -fuse-ld=mold

            If you're using my fork of HISE then this will already be there but it will be gold instead of mold, because on older distros mold isn't available so I use gold and on newer systems I alias gold to mold - try saying that quickly 3 times!

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            S 1 Reply Last reply Reply Quote 0
            • S
              Soundavid @d.healey
              last edited by

              @d-healey Ok ive installed mold but the errors persists, this is what i get:

              Package webkit2gtk-4.0 was not found in the pkg-config search path.
              Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
              to the PKG_CONFIG_PATH environment variable
              Package 'webkit2gtk-4.0', required by 'virtual:world', not found
              Compiling include_juce_gui_extra.cpp
              In file included from ../../JuceLibraryCode/include_juce_gui_extra.cpp:9:
              ../../../../JUCE/modules/juce_gui_extra/juce_gui_extra.cpp:116:11: fatal error: gtk/gtk.h: No such file or directory
                116 |  #include <gtk/gtk.h>
                    |           ^~~~~~~~~~~
              compilation terminated.
              make: *** [Makefile:819: build/intermediate/Release/include_juce_gui_extra_6dee1c1a.o] Error 1
              
              
              S 1 Reply Last reply Reply Quote 0
              • S
                Soundavid @Soundavid
                last edited by

                Update: I managed to compile HISE! The problem was the webkit library, i've fixed the issue installing the library using this method: https://github.com/tauri-apps/tauri/issues/9662

                Now im going to compile using Faust!

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

                  @Soundavid Yeah I have an open PR for that - https://github.com/christophhart/HISE/pull/560

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Soundavid @d.healey
                    last edited by

                    @d-healey I managed to compile HISE but not success with Faust, did you have Faust on Linux?

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

                      @Soundavid yes, check out my fork of HISE it's all setup for Faust but you'll need to disable fftw3 and enable IPP.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      S 2 Replies Last reply Reply Quote 0
                      • Robert PuzaR
                        Robert Puza @Soundavid
                        last edited by Robert Puza

                        @Soundavid I solved it with installing an older version of Linux Mint. Victoria or Virginia

                        1 Reply Last reply Reply Quote 0
                        • S
                          Soundavid @d.healey
                          last edited by

                          @d-healey Which Branch i have to download? If i download the Master doesnt include the Faust libraries

                          LindonL d.healeyD 2 Replies Last reply Reply Quote 0
                          • LindonL
                            Lindon @Soundavid
                            last edited by

                            @Soundavid said in New to Linux - Compiling in Linux:

                            @d-healey Which Branch i have to download? If i download the Master doesnt include the Faust libraries

                            use develop - none of the branches include faust by default - you have to download and install this yourself.

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 0
                            • S
                              Soundavid @d.healey
                              last edited by

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

                                @Soundavid For my fork it's the development branch.

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Soundavid @d.healey
                                  last edited by

                                  @d-healey Ok ive tried your fork and using ipp instead of fftw3 but no luck with Faust, seems that is a problem with my Faust installation because isnt finding the library, how do you install Faust?

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

                                    @Soundavid Did you choose the correct build?

                                    e3642f91-ae84-4658-b190-c98c9f7c38cf-image.png

                                    I used sudo apt install faust

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    S 1 Reply Last reply Reply Quote 1
                                    • S
                                      Soundavid @d.healey
                                      last edited by

                                      @d-healey I finally compiled HISE and the DLL of my project but for some reason I’m gettin a lot of errors and when I comment them HISE is really slow, it tooks minutes to compile :( could it be my Mint version?

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

                                        @Soundavid Are you building from my fork, the Faust build?

                                        Free HISE Bootcamp Full Course for beginners.
                                        YouTube Channel - Public HISE tutorials
                                        My Patreon - HISE tutorials

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          Soundavid @d.healey
                                          last edited by

                                          @d-healey Ok I wasn’t selecting the correct JUCE paths and now HISE is working correctly, I managed to compile the DLL but have a lot of errors in my Controls script, the one that manages all the connections with the Modules and when I start to debug the problem HISE crashes :/

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

                                            @Soundavid Try and recreate the problem in a minimal test project.

                                            Free HISE Bootcamp Full Course for beginners.
                                            YouTube Channel - Public HISE tutorials
                                            My Patreon - HISE tutorials

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

                                            19

                                            Online

                                            2.0k

                                            Users

                                            12.7k

                                            Topics

                                            110.2k

                                            Posts