Trying to build the Faust-related libraries needed for FaustLive from the
current Faust2 git sources on Arch, I'm getting a few compile errors in the
faustremote stuff, mostly due to missing -I's and -L's, and a missing
#include in one spot. Suggested patch is attached. (I'm ready to commit
this myself, if there aren't any objections. Just let me know.)

Further notes:

- `make httpd` requires the xxd program. That's easy enough to install
(Arch users can find it in the AUR), but it might be good to mention this
in the Faust README file.

- Make sure that you have the latest Jack2 from git installed (1.9.9.5
doesn't do), otherwise `make remote` will give you a bunch of jack-related
compile errors. I think that the FaustLive README even mentions that
somewhere, but maybe the Faust README should be updated with some notes on
faustremote as well.

Albert

-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  aggr...@gmail.com
WWW:    https://plus.google.com/+AlbertGraef
diff --git a/architecture/faust/gui/PathUI.h b/architecture/faust/gui/PathUI.h
index 4993ac2..4c0c065 100644
--- a/architecture/faust/gui/PathUI.h
+++ b/architecture/faust/gui/PathUI.h
@@ -4,6 +4,7 @@
 #include "faust/gui/UI.h"
 #include <vector>
 #include <string>
+#include <algorithm>
 
 
/*******************************************************************************
  * PathUI : Faust User Interface
diff --git a/embedded/faustremote/RemoteClient/Makefile 
b/embedded/faustremote/RemoteClient/Makefile
index 864dd21..201df36 100644
--- a/embedded/faustremote/RemoteClient/Makefile
+++ b/embedded/faustremote/RemoteClient/Makefile
@@ -8,7 +8,7 @@ os      := $(shell uname)
 system ?= $(shell uname -s)
 
 PREFIX ?= /usr/local
-INCPATH = -I. -I../ -I/usr/include -I/opt/local/include -F/Library/
+INCPATH = -I. -I../ -I../../../architecture -I/usr/include 
-I/opt/local/include -F/Library/
 
 ifeq ($(system), Darwin)
        CXX             = g++
@@ -28,7 +28,7 @@ all: $(objects) libfaustremote.a
 
 
 libfaustremote.a : $(objects)
-       libtool -static $(LIBFLAGS) $(objects) -o libfaustremote.a 
+       libtool $(LIBFLAGS) $(objects) -o libfaustremote.a 
 
 install:
        install libfaustremote.a  /usr/local/lib/faust/ 
diff --git a/embedded/faustremote/RemoteClient/Sources/remote_dsp_aux.cpp 
b/embedded/faustremote/RemoteClient/Sources/remote_dsp_aux.cpp
index 0cb87f3..060f9ce 100644
--- a/embedded/faustremote/RemoteClient/Sources/remote_dsp_aux.cpp
+++ b/embedded/faustremote/RemoteClient/Sources/remote_dsp_aux.cpp
@@ -22,7 +22,7 @@
 #include <sstream>
 #include "remote_dsp_aux.h"
 #include "faust/gui/ControlUI.h"
-#include "faust/llvm-c-dsp.h"
+#include "../../../../compiler/generator/llvm-c-dsp.h"
 #include "../../../../compiler/libfaust.h"
 
 #include "../../utilities.h"
diff --git a/embedded/faustremote/RemoteServer/Makefile 
b/embedded/faustremote/RemoteServer/Makefile
index 826bf42..d4bc127 100644
--- a/embedded/faustremote/RemoteServer/Makefile
+++ b/embedded/faustremote/RemoteServer/Makefile
@@ -1,10 +1,10 @@
 CC            = gcc -O3
 CXX           = g++ -O3
 DEFINE       = D_REENTRANT      
-INCPATH       = -I. -I../ -I/usr/include -I/opt/local/include 
-F/Library/Frameworks
+INCPATH       = -I. -I../ -I../../../architecture -I/usr/include 
-I/opt/local/include -F/Library/Frameworks
 LINK          = g++
 LLVM_CONFIG   = llvm-config
-LIBS          = -L/usr/local/lib/faust -lfaust -ljacknet -ljack 
-L/opt/local/lib -lmicrohttpd -lpthread -lcrypto `$(LLVM_CONFIG) --ldflags` 
`$(LLVM_CONFIG) --libs` -ldl -llo
+LIBS          = -L../../../compiler -L/usr/local/lib/faust -lfaust -ljacknet 
-ljack -L/opt/local/lib -lmicrohttpd -lpthread -lcrypto `$(LLVM_CONFIG) 
--ldflags` `$(LLVM_CONFIG) --libs` -ldl -llo
 
 sources =  $(wildcard *.cpp)
 objects = $(sources:.cpp=.o)
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to