[LAD] jcgui-0.4 initial release

hermann brummer- at web.de
Wed Dec 23 16:50:50 UTC 2009


Am Mittwoch, den 23.12.2009, 17:33 +0100 schrieb Ralf Mardorf:
> Hi Hermann :)
> 
> GTK isn't my friend today. Building the GUI failed :(. Any hints?
> I like Fons' jconv a lot, but because of the missing GUI I prefer to use 
> linuxDSP SR-2A. When I saw the screenshots of the GUI you made I was 
> happy, but now ...
> 
> spinymouse-sudo at 64studio:/usr/src/jcgui-0.4$ ./waf configure
> Checking for program g++ : ok /usr/bin/g++
> Checking for compiler version : ok 4.2.4
> Checking for program cpp : ok /usr/bin/cpp
> Checking for program ar : ok /usr/bin/ar
> Checking for program ranlib : ok /usr/bin/ranlib
> Checking for g++ : ok
> Checking for jack >= 0.109.1 : ok
> Checking for sndfile >= 1.0.17 : ok
> Checking for gtk+-2.0 >= 2.12.0 : ok
> 
> ==================
> Jc_Gui 0.4
> 
> C++ flags : -O3 -march=native -Wall
> Install prefix : /usr/local
> Install binary : /usr/local/bin
> Jc_Gui share directory : /usr/local/share/Jc_Gui
> Jc_Gui pixmaps directory : /usr/local/share/pixmaps
> 
> Configuration finished successfully (00:00:00); project is now ready to 
> build.
> spinymouse-sudo at 64studio:/usr/src/jcgui-0.4$ ./waf build
> [ 1/16] cxx: src/gx_globals.cpp -> build/default/src/gx_globals_1.o
> [ 2/16] cxx: src/gx_child_process.cpp -> 
> build/default/src/gx_child_process_1.o
> [ 3/16] cxx: src/gx_engine.cpp -> build/default/src/gx_engine_1.o
> [ 4/16] cxx: src/gx_main_interface.cpp -> 
> build/default/src/gx_main_interface_1.o
> [ 5/16] cxx: src/gx_gui_helpers.cpp -> build/default/src/gx_gui_helpers_1.o
> [ 6/16] cxx: src/gx_jack.cpp -> build/default/src/gx_jack_1.o
> [ 7/16] cxx: src/gx_jconv_settings.cpp -> 
> build/default/src/gx_jconv_settings_1.o
> [ 8/16] cxx: src/gx_preset.cpp -> build/default/src/gx_preset_1.o
> [ 9/16] cxx: src/gx_sndfile.cpp -> build/default/src/gx_sndfile_1.o
> [10/16] cxx: src/gx_system.cpp -> build/default/src/gx_system_1.o
> [11/16] cxx: src/gx_ui.cpp -> build/default/src/gx_ui_1.o
> [12/16] cxx: src/GtkFastMeter.cpp -> build/default/src/GtkFastMeter_1.o
> [13/16] cxx: src/GtkRegler.cpp -> build/default/src/GtkRegler_1.o
> ../src/GtkFastMeter.cpp: In function ‘gboolean 
> vertical_expose(GtkFastMeter*, GdkEventExpose*)’:
> ../src/GtkFastMeter.cpp:468: error: ‘gtk_widget_get_window’ was not 
> declared in this scope

Oh, shi* that's a funktion comes with Gtk+2.14, I have replace
(all :"-)) of them with, I have belive, . .  . .


You can replace line 468 in /src/GtkFastMeter.cpp 

GdkWindow*   window = gtk_widget_get_window(GTK_WIDGET(fm));

with

GdkWindow*   window = GTK_WIDGET(fm)->window;

that will do it for Gtk+2.12

please let me know when you run in more issues,

regards   hermann 

> Build failed
> -> task failed (err #1):
> {task: cxx GtkFastMeter.cpp -> GtkFastMeter_1.o}
> 
> OT:
> 
> A note to the coders. We users most times prefer dummy proved 
> configurations. It's not always so easy to solve an issue like it was in 
> this case.
> http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
> 
> $ make
> g++ [snip] -march=i686 -c -o zita-convolver.o zita-convolver.cc
> zita-convolver.cc:1: error: CPU you selected does not support x86-64 
> instruction set
> make: *** [zita-convolver.o] Error 1
> $ hwinfo --cpu
> [snip]
> Arch: X86-64
> Vendor: "AuthenticAMD"
> Model: 15.107.2 "AMD Athlon(tm) X2 Dual Core Processor BE-2350"
> Features: 
> fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ht,syscall,nx,mmxext,fxsr_opt,rdtscp,lm,3dnowext,3dnow,rep_good,extd_apicid,pni,cx16,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,3dnowprefetch
> [snip]
> $ gedit Makefile
> $ make
> g++ [snip] -march=athlon64 -c -o zita-convolver.o zita-convolver.cc
> g++ -shared -Wl,-soname,libzita-convolver.so.2 -o 
> libzita-convolver.so.2.0.0 zita-convolver.o -lfftw3f -lpthread
> $ sudo checkinstall
> $ sudo make clean
> 
> For zita-resampler libs configuration is fine by default, but for the 
> app I got
> 
> $ make
> g++ -O3 -Wall -MMD -MP -DVERSION=\"0.2.0\" -c -o resample.o resample.cc
> g++ -L/usr/local/lib64 -o resample resample.o -lzita-resampler -lsndfile 
> -lpthread -lrt
> /usr/bin/ld: cannot find -lzita-resampler
> collect2: ld returned 1 exit status
> make: *** [resample] Error 1
> 
> Dunno what to do, but I guess this is not needed for jconv ;).
> 
> Jconv's make configuration is fine :).
> 
> Cheers,
> Ralf
> 
> alex stone wrote:
> > Hermann, nice work, and thanks. Runs fine here on Gentoo 64bit.
> >
> > Alex.
> >
> > On Wed, Dec 23, 2009 at 3:01 PM, hermann <brummer- at web.de> wrote:
> >   
> >> Hi all
> >>
> >> I would announce the release of Jc_Gui.
> >> It's a little host wrapped around the fantastic convolution engine from
> >> Fons Adriaensen called jconvolver (zita-convolver)
> >>
> >> What is it for ?
> >>
> >> It's designed to search/load and run IR-*.wav files on a local machine
> >> with jconvolver. It include a settings widget, were gain, delay, min/max
> >> mem and mode can set and the used wave file and a part of it
> >> (offset/length) could choosed.
> >> As default, the min mem is set to your jack frame rate, the max mem is
> >> set to the file length.
> >> Those settings will saved in a config file, and used to start
> >> jconvolver. Jc_Gui itself provide a Stereo Host, with master gain, tone
> >> (bass,middle,high)controllers, balance slider, and for the output to
> >> jconvolver per channel delay and gain controllers, and a wet/dry slider
> >> to mix the output from jconvolver with the original source.
> >>
> >> So, you need only to connect Jc_Gui with your in/out put ports, (Jc_Gui
> >> provide a port map there for), and can then load your IR files and start
> >> stop jconvolver easy over the Gui.
> >> The configurations can saved in presets, to reload them easy.
> >>
> >> What isn't it for ?
> >>
> >> It's a 2 Channel thing only, you can't make multi channel settings with
> >> this jcgui.
> >>
> >> project page :  http://jcgui.sourceforge.net/
> >> download     :  https://sourceforge.net/projects/jcgui/
> >>
> >> enjoy   hermann
> 




More information about the Linux-audio-dev mailing list