You're awesome, i jumped straight to the shell !

after updating the svn repos (libgig-svn just in case and linuxsampler-svn), it 
fails compiling on lscp.y
any idea ? strangely i found the very same function in lscpparser.cpp

make[3]: Entering directory 
'/home/seijitsu/build/linuxsampler-svn/src/linuxsampler-svn/src/network'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../..     -D_FORTIFY_SOURCE=2 -Wreturn-type -ffast-math  -march=x86-64 
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -pthread 
-MT lscpparser.lo -MD -MP -MF .deps/lscpparser.Tpo -c -o lscpparser.lo 
lscpparser.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 
-Wreturn-type -ffast-math -march=x86-64 -mtune=generic -O2 -pipe 
-fstack-protector --param=ssp-buffer-size=4 -pthread -MT lscpparser.lo -MD -MP 
-MF .deps/lscpparser.Tpo -c lscpparser.cpp  -fPIC -DPIC -o .libs/lscpparser.o
lscp.y: In function 'bool _isRuleTerminalSymbol(int)':
lscp.y:1319:18: error: 'yyprhs' was not declared in this scope
     for (int i = yyprhs[rule]; yyrhs[i] != -1; ++i)
                  ^
lscp.y:1319:32: error: 'yyrhs' was not declared in this scope
     for (int i = yyprhs[rule]; yyrhs[i] != -1; ++i)
                                ^
Makefile:427: recipe for target 'lscpparser.lo' failed
make[3]: *** [lscpparser.lo] Error 1

Raphaël

Le 6 févr. 2014 à 21:41, Christian Schoenebeck a écrit :

> Ok, I just committed an initial version of the LSCP shell to SVN. The 
> application is just called "lscp". There is also a man page.
> 
> I decided to go the thin-client route, that is LSCP aware stuff being handled 
> on sampler side, and the shell application is more or less just forwarding 
> individual key strokes to the sampler and handling output format (color & 
> printing) of the returned informations on the command line terminal. That 
> should make the shell be versatile for being used successfully against 
> various 
> LinuxSampler versions, no matter what the exact LSCP version is, and keeps 
> development/maintenance effort low.
> 
> Current shell features:
> 
>       - Colored highlighting while typing (i.e. good portions bold white, 
>         syntactical bad portions red, if the command is complete and ready to 
>         be fired: green, ...).
> 
>       - Auto completion by tab key. The shell will also show a possible 
>         completion in real-time while typing. So that one does not need to 
>         guess when it is possible to tab-complete the command. You see it 
>         immediately.
> 
>       - Auto correction of trivial mistakes: for now this just covers auto 
>         converting i.e. lower case characters to upper case (if necessary, 
>         according to current LSCP grammar position), space characters to 
>         underscore characters and vice versa (also according to grammar 
>         position).
>         In future: orthographically similar mistyped keywords might be auto 
>         corrected as well. Not a hard task.
> 
> I actually also planned to integrate the LSCP reference into the shell. That 
> is, if a certain LSCP command is identified, the shell would automatically 
> show the relevant LSCP reference document section below the current command 
> line (and paging the shown LSCP reference with PGUP, PGDOWN keys).
> 
> However ... I have now to work on completely other stuff for a while, so this 
> spare time fun is postponed for now.
> 
> The Windows version of LinuxSampler is currently broken, because I used the 
> POSIX termios API to get the required control over the command line terminal. 
> That API does not exist on Windows. If anybody is interested in trying to fix 
> this on Windows, it would be very much appreciated!
> 
> That's it for now.
> 
> CU
> Christian
> 
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Linuxsampler-devel mailing list
> Linuxsampler-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to