I'm trying to follow in the foot steps of Steve Poskitt and use Faust and
Guitarix together to model tube Guitar amp circuits. I'm following along with
Steve's blog here http://steveposkitt.co.uk/index.php/audio-dsp-blog .
I'm doing this on AV Linux 6.0.1 with Guitarix 28.2 and Faust 0.9.58. I've
copied all the Faust Makefiles into the directory where I'm creating my DSP
code. I'm using "make jackqt" to compile the code, and have updated the
Makefile.qtcompile with an include statement for the appropriate Guitarix
files.
I'm getting an error I don't understand when it gets to compiling the C++.
Here's my DSP code:
import("guitarix.lib");
gain =
vslider("Gain[alias][style:knob]",0,-20,20,0.1):db2linear:smoothi(0.999);
stage2 =
tubestage(TB_12AX7_250k,10.0,1500.0,1.204285):highpass(2,40):lowpass(2,18000);
stage1 = tubestage(TB_12AX7_68k,10.0,1500.0,1.204541);
process = stage1:*(gain):stage2;
And here's where the error occurs when running "make jackqt":
g++ -c -Wfatal-errors -O3 -mfpmath=sse -msse -msse2 -msse3 -ffast-math
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/local/include/faust
-I/usr/local/include/faust/osclib
-I/home/jherold/Downloads/guitarix-0.28.2/src/gx_head/engine
-I/home/jherold/Downloads/guitarix-0.28.2/src/faust -I. -I. -o test.dsp.o
test.dsp.cpp
In file included from
/home/jherold/Downloads/guitarix-0.28.2/src/gx_head/engine/valve.h:62:0,
from test.dsp.cpp:6:
/home/jherold/Downloads/guitarix-0.28.2/src/gx_head/engine/12ax7.cc:10:38:
error: expected initializer before ‘__rt_data’
compilation terminated due to -Wfatal-errors.
Can anyone point me in a direction? I can copy the relevant pieces of Guitarix
code if necessary, but it is the latest unmodified 28.2 Guitarix code.
Thanks for any help you can provide!
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users