HISE Logo Forum
    • Categories
    • Register
    • Login

    Linux VST build deletes all files in ~/.vst

    Scheduled Pinned Locked Moved Bug Reports
    12 Posts 3 Posters 1.1k 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.
    • d.healeyD
      d.healey
      last edited by

      Yeah I noticed this a while ago, I think I reported it... it doesn't happen 100% of the time if I remember correctly

      You can't get them back :( But perhaps you have a backup?

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

      1 Reply Last reply Reply Quote 0
      • O
        oddyotrax
        last edited by

        I don't have a back up of the folder but I can rebuild it. Most of it hopefully. This is a mess because it is going to take me a long time to rebuild.

        why does the standalone get built in -> projects/standalone/Builds/LinuxMakefile/build/
        and the VST gets placed in ~./vst?
        thankfully it wasn't a make sudo install going to /usr/lib/vst
        this is bad. very bad.

        the VST plugin build has to go in... projects/plugin/Builds/LinuxMakefile/build/

        seriously. please correct this. depositing it in ~./vst without consent is already a bad idea
        that it deletes the folder is unacceptable

        1 Reply Last reply Reply Quote 0
        • O
          oddyotrax
          last edited by oddyotrax

          it's not that complicated

          I will do it manually but I would recommend to change line 32 in

          projects/plugin/Builds/LinuxMakefile/Makefile
          

          from

          JUCE_OUTDIR := ~/.vst
          

          to

          JUCE_OUTDIR := build
          
          1 Reply Last reply Reply Quote 0
          • O
            oddyotrax
            last edited by

            I suspect what deleted the files was not the build but the

            make clean
            
            d.healeyD 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by

              Ah sorry about that. I assumed that the build script from the Projucer just copies the final binary as post build step - this is what it does on Windows and macOS - that it uses it as actual build folder and subsequently deletes everything in there on a clean is indeed nasty and a little bit intrusive too

              O 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @oddyotrax
                last edited by

                @oddyotrax What distro do you use?

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

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

                  @Christoph-Hart

                  I don't think it was when I rebuilt the VST

                  before I did the rebuild, I did a make clean and I suspect that is what wiped the folder of its contents

                  1 Reply Last reply Reply Quote 0
                  • O
                    oddyotrax @d.healey
                    last edited by

                    d-healey Debian Stretch

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

                      @oddyotrax I'm using Linux Mint and I use timeshift to backup my home directory, I think it's probably available for Debian too.

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

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

                        Alright, I've updated the Projucer files so that it will not use the VST folder as build folder anymore.

                        Please try if it works now (best backup your VST folder again :) Be aware that you have to resave the Projucer file so that it updates your local makefile.

                        1 Reply Last reply Reply Quote 2
                        • O
                          oddyotrax @d.healey
                          last edited by

                          @d-healey Thanks for the suggestion. Debian has back in time... I just made zip files of the most important folders. It's all good I had copies of everything and restored everything back to working order. My apologies for freaking out.

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

                          54

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.8k

                          Posts