Hi,
thank you for your help.
Unfortiunately it did not work.
I have the following libs installed:
libmicrohttpd10
libmicrohttpd-dev
I tried the following compilations from inside the faust root:
faust2jackconsole -httpd examples/filtering/HPF.dsp
faust2jackconsole -httpd examples/filtering/LPF.dsp
BR,
Ck
Output:
==================HPF.dsp======================================================
examples/filtering/HPF.dsp.cpp:4937:1: error: expected class-name before
‘{’ token
{
^
examples/filtering/HPF.dsp.cpp: In constructor ‘httpdUI::httpdUI(const
char*, int, int, int, char**, bool)’:
examples/filtering/HPF.dsp.cpp:4945:17: error: ‘fUI’ was not declared in
this scope
fUI = new httpdClientUI(lopts(argv, "-server",
"http://localhost:5510"));
^~~
examples/filtering/HPF.dsp.cpp:4945:17: note: suggested alternative: ‘GUI’
fUI = new httpdClientUI(lopts(argv, "-server",
"http://localhost:5510"));
^~~
GUI
examples/filtering/HPF.dsp.cpp:4948:17: error: ‘fUI’ was not declared in
this scope
fUI = new httpdServerUI(applicationname, inputs,
outputs, argc, argv, init);
^~~
examples/filtering/HPF.dsp.cpp:4948:17: note: suggested alternative: ‘GUI’
fUI = new httpdServerUI(applicationname, inputs,
outputs, argc, argv, init);
^~~
GUI
examples/filtering/HPF.dsp.cpp: In member function ‘bool httpdUI::run()’:
examples/filtering/HPF.dsp.cpp:4952:55: error: ‘fUI’ was not declared in
this scope
bool run() { return dynamic_cast<httpdUIAux*>(fUI)->run(); }
^~~
examples/filtering/HPF.dsp.cpp:4952:55: note: suggested alternative: ‘GUI’
bool run() { return dynamic_cast<httpdUIAux*>(fUI)->run(); }
^~~
GUI
examples/filtering/HPF.dsp.cpp: In member function ‘void httpdUI::stop()’:
examples/filtering/HPF.dsp.cpp:4953:49: error: ‘fUI’ was not declared in
this scope
void stop() { dynamic_cast<httpdUIAux*>(fUI)->stop(); }
^~~
examples/filtering/HPF.dsp.cpp:4953:49: note: suggested alternative: ‘GUI’
void stop() { dynamic_cast<httpdUIAux*>(fUI)->stop(); }
^~~
GUI
examples/filtering/HPF.dsp.cpp: In member function ‘int
httpdUI::getTCPPort()’:
examples/filtering/HPF.dsp.cpp:4954:61: error: ‘fUI’ was not declared in
this scope
int getTCPPort() { return
dynamic_cast<httpdUIAux*>(fUI)->getTCPPort(); }
^~~
examples/filtering/HPF.dsp.cpp:4954:61: note: suggested alternative: ‘GUI’
int getTCPPort() { return
dynamic_cast<httpdUIAux*>(fUI)->getTCPPort(); }
^~~
GUI
examples/filtering/HPF.dsp.cpp: In member function ‘std::__cxx11::string
httpdUI::getJSON()’:
examples/filtering/HPF.dsp.cpp:4956:66: error: ‘fUI’ was not declared in
this scope
std::string getJSON() { return
dynamic_cast<httpdUIAux*>(fUI)->getJSON(); }
^~~
examples/filtering/HPF.dsp.cpp:4956:66: note: suggested alternative: ‘GUI’
std::string getJSON() { return
dynamic_cast<httpdUIAux*>(fUI)->getJSON(); }
^~~
GUI
examples/filtering/HPF.dsp.cpp: In function ‘int main(int, char**)’:
examples/filtering/HPF.dsp.cpp:5168:43: error: no matching function for
call to ‘mydsp::buildUserInterface(httpdUI*)’
DSP.buildUserInterface(&httpdinterface);
^
examples/filtering/HPF.dsp.cpp:5098:15: note: candidate: virtual void
mydsp::buildUserInterface(UI*)
virtual void buildUserInterface(UI* ui_interface) {
^~~~~~~~~~~~~~~~~~
examples/filtering/HPF.dsp.cpp:5098:15: note: no known conversion for
argument 1 from ‘httpdUI*’ to ‘UI*’
==================LPF.dsp======================================================
examples/filtering/LPF.dsp.cpp:4937:1: error: expected class-name before
‘{’ token
{
^
examples/filtering/LPF.dsp.cpp: In constructor ‘httpdUI::httpdUI(const
char*, int, int, int, char**, bool)’:
examples/filtering/LPF.dsp.cpp:4945:17: error: ‘fUI’ was not declared in
this scope
fUI = new httpdClientUI(lopts(argv, "-server",
"http://localhost:5510"));
^~~
examples/filtering/LPF.dsp.cpp:4945:17: note: suggested alternative: ‘GUI’
fUI = new httpdClientUI(lopts(argv, "-server",
"http://localhost:5510"));
^~~
GUI
examples/filtering/LPF.dsp.cpp:4948:17: error: ‘fUI’ was not declared in
this scope
fUI = new httpdServerUI(applicationname, inputs,
outputs, argc, argv, init);
^~~
examples/filtering/LPF.dsp.cpp:4948:17: note: suggested alternative: ‘GUI’
fUI = new httpdServerUI(applicationname, inputs,
outputs, argc, argv, init);
^~~
GUI
examples/filtering/LPF.dsp.cpp: In member function ‘bool httpdUI::run()’:
examples/filtering/LPF.dsp.cpp:4952:55: error: ‘fUI’ was not declared in
this scope
bool run() { return dynamic_cast<httpdUIAux*>(fUI)->run(); }
^~~
examples/filtering/LPF.dsp.cpp:4952:55: note: suggested alternative: ‘GUI’
bool run() { return dynamic_cast<httpdUIAux*>(fUI)->run(); }
^~~
GUI
examples/filtering/LPF.dsp.cpp: In member function ‘void httpdUI::stop()’:
examples/filtering/LPF.dsp.cpp:4953:49: error: ‘fUI’ was not declared in
this scope
void stop() { dynamic_cast<httpdUIAux*>(fUI)->stop(); }
^~~
examples/filtering/LPF.dsp.cpp:4953:49: note: suggested alternative: ‘GUI’
void stop() { dynamic_cast<httpdUIAux*>(fUI)->stop(); }
^~~
GUI
examples/filtering/LPF.dsp.cpp: In member function ‘int
httpdUI::getTCPPort()’:
examples/filtering/LPF.dsp.cpp:4954:61: error: ‘fUI’ was not declared in
this scope
int getTCPPort() { return
dynamic_cast<httpdUIAux*>(fUI)->getTCPPort(); }
^~~
examples/filtering/LPF.dsp.cpp:4954:61: note: suggested alternative: ‘GUI’
int getTCPPort() { return
dynamic_cast<httpdUIAux*>(fUI)->getTCPPort(); }
^~~
GUI
examples/filtering/LPF.dsp.cpp: In member function ‘std::__cxx11::string
httpdUI::getJSON()’:
examples/filtering/LPF.dsp.cpp:4956:66: error: ‘fUI’ was not declared in
this scope
std::string getJSON() { return
dynamic_cast<httpdUIAux*>(fUI)->getJSON(); }
^~~
examples/filtering/LPF.dsp.cpp:4956:66: note: suggested alternative: ‘GUI’
std::string getJSON() { return
dynamic_cast<httpdUIAux*>(fUI)->getJSON(); }
^~~
GUI
examples/filtering/LPF.dsp.cpp: In function ‘int main(int, char**)’:
examples/filtering/LPF.dsp.cpp:5168:43: error: no matching function for
call to ‘mydsp::buildUserInterface(httpdUI*)’
DSP.buildUserInterface(&httpdinterface);
^
examples/filtering/LPF.dsp.cpp:5098:15: note: candidate: virtual void
mydsp::buildUserInterface(UI*)
virtual void buildUserInterface(UI* ui_interface) {
^~~~~~~~~~~~~~~~~~
examples/filtering/LPF.dsp.cpp:5098:15: note: no known conversion for
argument 1 from ‘httpdUI*’ to ‘UI*’
On 03/16/2018 05:15 PM, Stéphane Letz wrote:
HTTP frontend is separated from QT. A lot of faust2xx scripts have an -httpd
parameter which actually adds an HTTP control interface (implemented with
libmicrohttpd). As soon as the executable is launched, you can open your
browser and use the http://127.0.0.1:5510 to access the control page delivered
by the application embedded HTTP server
Stéphane
Le 16 mars 2018 à 16:24, Christoph Kuhr <[email protected]> a écrit :
Ok, that did it. Thanks!
How can I provide a custom Qt Path?
It does not find it in /opt/Qt5.9.1
Do I need Qt to build a HTTP frontend?
BR,
Ck
Am 16. März 2018 16:14:36 MEZ schrieb Dominique Fober <[email protected]>:
Well... I found the problem (related to cmake config, the runtime was not at
the correct location).
Update your repository and try again (it should work now)
—
Dom
Le 16 mars 2018 à 15:25, Christoph Kuhr <[email protected]> a écrit :
the PATH variable contains all relevant paths.
there is no faust executable in /usr/local/bin
/usr/local/bin $ ls -lash | grep faust
4.0K -rwxr-xr-x 1 root root 3.7K Mar 16 08:36 faust2alqt
4.0K -rwxr-xr-x 1 root root 2.8K Mar 16 08:36 faust2alsa
4.0K -rwxr-xr-x 1 root root 3.0K Mar 16 08:36 faust2alsaconsole
8.0K -rwxr-xr-x 1 root root 5.5K Mar 16 08:36 faust2android
4.0K -rwxr-xr-x 1 root root 3.7K Mar 16 08:36 faust2androidunity
16K -rwxr-xr-x 1 root root 13K Mar 16 08:36 faust2api
8.0K -rwxr-xr-x 1 root root 5.9K Mar 16 08:36 faust2asmjs
8.0K -rwxr-xr-x 1 root root 5.2K Mar 16 08:36 faust2atomsnippets
12K -rwxr-xr-x 1 root root 9.2K Mar 16 08:36 faust2au
4.0K -rwxr-xr-x 1 root root 1.2K Mar 16 08:36 faust2bela
8.0K -rwxr-xr-x 1 root root 7.2K Mar 16 08:36 faust2caqt
8.0K -rwxr-xr-x 1 root root 5.0K Mar 16 08:36 faust2caqtios
4.0K -rwxr-xr-x 1 root root 2.2K Mar 16 08:36 faust2csound
4.0K -rwxr-xr-x 1 root root 2.3K Mar 16 08:36 faust2dssi
4.0K -rwxr-xr-x 1 root root 2.5K Mar 16 08:36 faust2dummy
4.0K -rwxr-xr-x 1 root root 2.5K Mar 16 08:36 faust2dummymem
4.0K -rwxr-xr-x 1 root root 185 Mar 16 08:36 faust2eps
12K -rwxr-xr-x 1 root root 10K Mar 16 08:36 faust2faustvst
4.0K -rwxr-xr-x 1 root root 228 Mar 16 08:36 faust2firefox
4.0K -rwxr-xr-x 1 root root 2.4K Mar 16 08:36 faust2gen
4.0K -rwxr-xr-x 1 root root 461 Mar 16 08:36 faust2graph
4.0K -rwxr-xr-x 1 root root 744 Mar 16 08:36 faust2graphviewer
8.0K -rwxr-xr-x 1 root root 7.2K Mar 16 08:36 faust2ios
4.0K -rwxr-xr-x 1 root root 3.7K Mar 16 08:36 faust2jack
4.0K -rwxr-xr-x 1 root root 2.6K Mar 16 08:36 faust2jackconsole
4.0K -rwxr-xr-x 1 root root 616 Mar 16 08:36 faust2jackinternal
4.0K -rwxr-xr-x 1 root root 1.9K Mar 16 08:36 faust2jackrust
4.0K -rwxr-xr-x 1 root root 3.2K Mar 16 08:36 faust2jackserver
8.0K -rwxr-xr-x 1 root root 6.0K Mar 16 08:36 faust2jaqt
8.0K -rwxr-xr-x 1 root root 5.8K Mar 16 08:36 faust2juce
4.0K -rwxr-xr-x 1 root root 2.4K Mar 16 08:36 faust2ladspa
4.0K -rwxr-xr-x 1 root root 3.4K Mar 16 08:36 faust2linuxunity
16K -rwxr-xr-x 1 root root 14K Mar 16 08:36 faust2lv2
4.0K -rwxr-xr-x 1 root root 3.4K Mar 16 08:36 faust2mathdoc
4.0K -rwxr-xr-x 1 root root 2.2K Mar 16 08:36 faust2mathviewer
8.0K -rwxr-xr-x 1 root root 7.7K Mar 16 08:36 faust2max6
8.0K -rwxr-xr-x 1 root root 5.6K Mar 16 08:36 faust2md
8.0K -rwxr-xr-x 1 root root 6.7K Mar 16 08:36 faust2msp
4.0K -rwxr-xr-x 1 root root 1.4K Mar 16 08:36 faust2netjackconsole
4.0K -rwxr-xr-x 1 root root 3.4K Mar 16 08:36 faust2netjackqt
8.0K -rwxr-xr-x 1 root root 5.8K Mar 16 08:36 faust2nodejs
4.0K -rwxr-xr-x 1 root root 1.9K Mar 16 08:36 faust2octave
8.0K -rwxr-xr-x 1 root root 6.3K Mar 16 08:36 faust2osxiosunity
4.0K -rwxr-xr-x 1 root root 1.1K Mar 16 08:36 faust2owl
4.0K -rwxr-xr-x 1 root root 3.9K Mar 16 08:36 faust2paqt
4.0K -rwxr-xr-x 1 root root 222 Mar 16 08:36 faust2pdf
4.0K -rwxr-xr-x 1 root root 2.0K Mar 16 08:36 faust2plot
4.0K -rwxr-xr-x 1 root root 171 Mar 16 08:36 faust2png
4.0K -rwxr-xr-x 1 root root 3.4K Mar 16 08:36 faust2pure
4.0K -rwxr-xr-x 1 root root 4.0K Mar 16 08:36 faust2puredata
8.0K -rwxr-xr-x 1 root root 4.3K Mar 16 08:36 faust2raqt
8.0K -rwxr-xr-x 1 root root 7.1K Mar 16 08:36 faust2ros
8.0K -rwxr-xr-x 1 root root 7.3K Mar 16 08:36 faust2rosgtk
4.0K -rwxr-xr-x 1 root root 2.8K Mar 16 08:36 faust2rpialsaconsole
4.0K -rwxr-xr-x 1 root root 2.6K Mar 16 08:36 faust2rpinetjackconsole
20K -rwxr-xr-x 1 root root 18K Mar 16 08:36 faust2sc
4.0K -rwxr-xr-x 1 root root 454 Mar 16 08:36 faust2sig
4.0K -rwxr-xr-x 1 root root 738 Mar 16 08:36 faust2sigviewer
12K -rwxr-xr-x 1 root root 8.4K Mar 16 08:36 faust2smartkeyb
4.0K -rwxr-xr-x 1 root root 1.7K Mar 16 08:36 faust2sndfile
8.0K -rwxr-xr-x 1 root root 6.4K Mar 16 08:36 faust2supercollider
4.0K -rwxr-xr-x 1 root root 50 Mar 16 08:36 faust2svg
8.0K -rwxr-xr-x 1 root root 6.7K Mar 16 08:36 faust2unity
8.0K -rwxr-xr-x 1 root root 4.1K Mar 16 08:36 faust2unitywin
8.0K -rwxr-xr-x 1 root root 4.4K Mar 16 08:36 faust2vst
8.0K -rwxr-xr-x 1 root root 4.4K Mar 16 08:36 faust2vsti
4.0K -rwxr-xr-x 1 root root 3.7K Mar 16 08:36 faust2w32max6
4.0K -rwxr-xr-x 1 root root 3.7K Mar 16 08:36 faust2w32msp
4.0K -rwxr-xr-x 1 root root 3.2K Mar 16 08:36 faust2w32puredata
4.0K -rwxr-xr-x 1 root root 3.6K Mar 16 08:36 faust2w32vst
4.0K -rwxr-xr-x 1 root root 3.8K Mar 16 08:36 faust2w64max6
12K -rwxr-xr-x 1 root root 9.9K Mar 16 08:36 faust2wasm
4.0K -rwxr-xr-x 1 root root 1.2K Mar 16 08:36 faust2webaudio
8.0K -rwxr-xr-x 1 root root 6.0K Mar 16 08:36 faust2webaudioasm
12K -rwxr-xr-x 1 root root 9.7K Mar 16 08:36 faust2webaudiowasm
12K -rwxr-xr-x 1 root root 8.5K Mar 16 08:36 faust2webaudiowast
8.0K -rwxr-xr-x 1 root root 7.1K Mar 16 08:36 faustbench
4.0K -rwxr-xr-x 1 root root 1.3K Mar 16 08:36 faustoptflags
4.0K -rwxr-xr-x 1 root root 1.5K Mar 16 08:36 faustpath
BR,
Ck
On 03/16/2018 10:17 AM, Dominique Fober wrote:
you should check that faust is correctly installed in /usr/local/bin
(and that /usr/local/bin is part of your PATH)
—
Dom
Le 16 mars 2018 à 09:25, Christoph Kuhr <[email protected]> a écrit :
Hi *,
I am new to faust.
I tried to build it from the github sources.
Everything qorks fine, until I want to compile an example.
It fails with the following message:
~/source_code/faust.git $ faust2jaqt examples/filtering/HPF.dsp
/usr/local/bin/faust2jaqt: line 152: faust: command not found
Steps as documented on the github page:
git clone https://github.com/grame-cncm/faust.git
cd faust
git submodule update --init
make httpd
make
sudo make install
sudo ldconfig
the PATH variable contains all relevant paths.
Any ideas?
BR,
Ck
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users