neilcosgrove / LNX_Studio

96 stars 19 forks source link

error at launch on linux #29

Open Derexas opened 6 years ago

Derexas commented 6 years ago

Greetings.

black  ~/Software/LNX_Studio   xplat  ./LNX_Studio                    
compiling class library...
    Found 715 primitives.
    Compiling directory '/usr/share/SuperCollider/SCClassLibrary/'
    Compiling directory '/usr/share/SuperCollider/Extensions/SC3plugins/'
    excluding file: '/usr/share/SuperCollider/Extensions/SC3plugins/SkUGens/FM7.sc'
    Compiling directory '/home/black/Software/LNX_Studio/SCClassLibrary/'
ERROR: Class extension for nonexistent class 'FM7'
     In file:'../../../../home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/10. by others/UGenCategories.sc'
ERROR: Class extension for nonexistent class 'MainMenu'
     In file:'../../../../home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/9. Start Up/SystemOverwrites/Menu.sc'
ERROR: Variable 'recHeaderFormat' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 206 char 97:

                ++ (Date.getDate.format("%Y-%d-%e %R:%S").replace(":",".").drop(2)) ++ "." ++ recHeaderFormat;

            };
-----------------------------------
ERROR: Variable 'recHeaderFormat' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 200 char 114:

                path = thisProcess.platform.recordingsDir +/+ "LNX_" ++ Main.elapsedTime.round(0.01) ++ "." ++ recHeaderFormat;

-----------------------------------
ERROR: Variable 'recChannels' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 209 char 51:

        recordBuf = Buffer.alloc(this, 65536, recChannels,

            {arg buf; buf.writeMsg(path, recHeaderFormat, recSampleFormat, 0, 0, true);},
-----------------------------------
ERROR: Variable 'recHeaderFormat' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 210 char 47:

            {arg buf; buf.writeMsg(path, recHeaderFormat, recSampleFormat, 0, 0, true);},

            this.options.numBuffers + 1); // prevent buffer conflicts by using reserved bufnum
-----------------------------------
ERROR: Variable 'recSampleFormat' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 210 char 64:

            {arg buf; buf.writeMsg(path, recHeaderFormat, recSampleFormat, 0, 0, true);},

            this.options.numBuffers + 1); // prevent buffer conflicts by using reserved bufnum
-----------------------------------
ERROR: Variable 'recordBuf' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 211 char 32:

            this.options.numBuffers + 1); // prevent buffer conflicts by using reserved bufnum

        SynthDef("server-record", { arg bufnum;
-----------------------------------
ERROR: Variable 'recChannels' not defined.
  in file '/home/black/Software/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 213 char 42:

            DiskOut.ar(bufnum, In.ar(0, recChannels))

        }).send(this);
-----------------------------------

If it matters, I am running the Arch Linux with the 4.16.13-2-ARCH kernel, with sclang 3.9.3, sc3-plugins 3.9.1.1.

Here is the content of the root LNX_Studio folder :

black  ~/Software/LNX_Studio   xplat  ls -l
total 564
drwxr-xr-x 13 black black   4096 Jul 29 17:43 'default library'
-rw-r--r--  1 black black 245433 Jul 29 17:43 'demo song'
drwxr-xr-x  2 black black   4096 Jul 29 18:30  fontImages
drwxr-xr-x  2 black black   4096 Jul 29 18:30  linux
-rw-r--r--  1 black black 121778 Jul 29 18:30  lnx.png
-rwxr-xr-x  1 black black     89 Jul 29 18:53  LNX_Studio
-rw-r--r--  1 black black   2086 Jul 29 18:30  README_linux.md
-rw-r--r--  1 black black    821 Jul 29 17:43  README.md
drwxr-xr-x  3 black black   4096 Jul 29 17:43  SCClassLibrary
-rw-r--r--  1 black black    434 Jul 29 21:06  sclang_conf_lnx.yaml
-rw-r--r--  1 black black 169156 Jul 29 18:30 'screen shot 1.3.png'
drwxr-xr-x  3 black black   4096 Jul 29 17:43  sounds

Since FM7 is apparently not found, I tried removing the exclusion in sclang_conf_lnx.yaml, but it only makes the first error disappear. What might be causing it ?

davephillips commented 5 years ago

@Derexas and @neilcosgrove : I have the same errors here. I've temporarily fixed the rec* problems by replacing those variables with hard-coded values but I'm stuck at fixing the recordBuf error. Btw, I'm using SuperCollider 3.9.3 which may be causing the problems. Any suggestions towards a better repair job would be vastly appreciated. :)

tank-trax commented 5 years ago

similar error here using SC 3.9.1 on Debian Stretch 9.8

./LNX_Studio 
compiling class library...
        Found 715 primitives.
        Compiling directory '/usr/local/share/SuperCollider/SCClassLibrary/'
        Compiling directory '/usr/local/share/SuperCollider/Extensions/SC3plugins/'
        excluding file: '/usr/local/share/SuperCollider/Extensions/SC3plugins/SkUGens/FM7.sc'
        Compiling directory '/home/studio/src/LNX_Studio/SCClassLibrary/'
ERROR: Class extension for nonexistent class 'FM7'
     In file:'../../../../../home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/10. by others/UGenCategories.sc'
ERROR: Variable 'recHeaderFormat' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 206 char 97:

                                ++ (Date.getDate.format("%Y-%d-%e %R:%S").replace(":",".").drop(2)) ++ "." ++ recHeaderFormat;

                        };
-----------------------------------
ERROR: Variable 'recHeaderFormat' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 200 char 114:

                                path = thisProcess.platform.recordingsDir +/+ "LNX_" ++ Main.elapsedTime.round(0.01) ++ "." ++ recHeaderFormat;

-----------------------------------
ERROR: Variable 'recChannels' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 209 char 51:

                recordBuf = Buffer.alloc(this, 65536, recChannels,

                        {arg buf; buf.writeMsg(path, recHeaderFormat, recSampleFormat, 0, 0, true);},
-----------------------------------
ERROR: Variable 'recHeaderFormat' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 210 char 47:

                        {arg buf; buf.writeMsg(path, recHeaderFormat, recSampleFormat, 0, 0, true);},

                        this.options.numBuffers + 1); // prevent buffer conflicts by using reserved bufnum
-----------------------------------
ERROR: Variable 'recSampleFormat' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 210 char 64:

                        {arg buf; buf.writeMsg(path, recHeaderFormat, recSampleFormat, 0, 0, true);},

                        this.options.numBuffers + 1); // prevent buffer conflicts by using reserved bufnum
-----------------------------------
ERROR: Variable 'recordBuf' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 211 char 32:

                        this.options.numBuffers + 1); // prevent buffer conflicts by using reserved bufnum

                SynthDef("server-record", { arg bufnum;
-----------------------------------
ERROR: Variable 'recChannels' not defined.
  in file '/home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/1. LNX_Studio/SystemOverwrites/my additions.sc'
  line 213 char 42:

                        DiskOut.ar(bufnum, In.ar(0, recChannels))

                }).send(this);
-----------------------------------
ERROR: Class extension for nonexistent class 'MainMenu'
     In file:'../../../../../home/studio/src/LNX_Studio/SCClassLibrary/LNX_Studio Library/9. Start Up/SystemOverwrites/Menu.sc'
muziker commented 2 years ago

Does this mean this cannot run on linux?