HISE Logo Forum
    • Categories
    • Register
    • Login

    Strange problem with Hise and faust on linux

    Scheduled Pinned Locked Moved General Questions
    15 Posts 4 Posters 271 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.
    • ospfeigrpO
      ospfeigrp
      last edited by ospfeigrp

      Every time i compile it crashes or change file it crashes to desktop and when i run hise from terminal i get this as the last output:

      HISE Standalone: /usr/lib/llvm-13/include/llvm/IR/Instructions.h:959: static llvm::GetElementPtrInst* llvm::GetElementPtrInst::Create(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&, llvm::Instruction*): Assertion `PointeeType && "Must specify element type"' failed.
      Aborted
      
      

      any idea where I'm going wrong.

      Zorin os latest

      Instructions.h error part:

      public:
        static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
                                         ArrayRef<Value *> IdxList,
                                         const Twine &NameStr = "",
                                         Instruction *InsertBefore = nullptr) {
          unsigned Values = 1 + unsigned(IdxList.size());
          assert(PointeeType && "Must specify element type");
          assert(cast<PointerType>(Ptr->getType()->getScalarType())
                     ->isOpaqueOrPointeeTypeMatches(PointeeType));
          return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
                                                NameStr, InsertBefore);
        }
      
      

      i have also tried davids repo and it's the same problem cant even create a new file without crashing to desktop

      oskarshO 1 Reply Last reply Reply Quote 0
      • oskarshO
        oskarsh @ospfeigrp
        last edited by

        @ospfeigrp I believe you wanna use llvm 11 not 13

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

          I've never built with llvm on Linux, can you use gcc?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          ospfeigrpO 1 Reply Last reply Reply Quote 0
          • ospfeigrpO
            ospfeigrp @d.healey
            last edited by ospfeigrp

            @d-healey strange david it's your repo i am using and following your instructions you provide here: https://github.com/davidhealey/HISE/tree/development

            I cant for the life of me get this to work.
            process taken:

            1. download repo

            2. open in provided producer

            3. save

            4. navigate to makefile

            5. make -j40 CONFIG=Release

            6. it builds but immediately crashes when i change anything in the faust node

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

              @ospfeigrp Does it say Faust enabled on the ui?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              ospfeigrpO 1 Reply Last reply Reply Quote 0
              • ospfeigrpO
                ospfeigrp @d.healey
                last edited by

                @d-healey it does yes.

                Your browser does not support the audio element.

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

                  @ospfeigrp What version of faust do you have installed?

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  ospfeigrpO 1 Reply Last reply Reply Quote 0
                  • ospfeigrpO
                    ospfeigrp @d.healey
                    last edited by

                    @d-healey FAUST Version 2.75.7

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

                      @ospfeigrp Well that's the same version I have here so not sure what the issue could be.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      ospfeigrpO 1 Reply Last reply Reply Quote 0
                      • ospfeigrpO
                        ospfeigrp @d.healey
                        last edited by

                        @d-healey David what distro are you using? so i cant try on that

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

                          @ospfeigrp Debian Testing

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

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

                            Seems like an LLVM version issue. Start at least with LLVM 15 or later.

                            ospfeigrpO 1 Reply Last reply Reply Quote 0
                            • ospfeigrpO
                              ospfeigrp @sletz
                              last edited by

                              @sletz just downloaded and installed llvm-15 but it still wants to uses llvm-13 how can i get it to use llvm-15 thanks.

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

                                @ospfeigrp Update alternatives https://stackoverflow.com/questions/71213753/switch-to-llvm-13-as-default-instead-of-llvm-10-in-ubuntu-20-04-how

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                ospfeigrpO 1 Reply Last reply Reply Quote 0
                                • ospfeigrpO
                                  ospfeigrp @d.healey
                                  last edited by

                                  @d-healey i have just selected llvm-15 but it still refers to llvm-13 and i actually removed it any way to override it to use llvm-15 using make

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

                                  14

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  103.0k

                                  Posts