Patrick Drury | 8 Jul 2008 21:49
Picon
Favicon

STFT configuration

Hi,

I'm using CLAM to develop an automated music transcription system for my MSc project. I'm using the SpectralAnalysis and the SpectralPeakDetection classes to produce an array of frequency peaks and their relative strengths. At the moment the output of my system looks something like this for a 3000 sample chunk of piano at C5 (44100Hz Sample rate):

Number of peaks = 56
1.  Mag  = 1   Freq = 527.066   Note = C5
2.  Mag  = 0.433355   Freq = 1106.62   Note = C#6
3.  Mag  = 0.234237   Freq = 2495.64   Note = D#7
4.  Mag  = 0.0988229   Freq = 2956.98   Note = F#7
5.  Mag  = 0.127852   Freq = 3501.44   Note = A6
6.  Mag  = 0.121919   Freq = 3885.22   Note = B7
7.  Mag  = 0.149638   Freq = 4367.42   Note = C#8
8.  Mag  = 0.157781   Freq = 5109.65   Note = D#8
9.  Mag  = 0.0964647   Freq = 5422.36   Note = E8

This is almost correct, having checked it against spectra produced by various audio applications but I have only managed to acheive this after spending ages configuring the window size manually:

//STFT method, performs the STFT on a
//chunk of Audio and puts the data into a
//CLAM::Spectrum object
void AMTPeakDetect::STFT()
{
  SpectralAnalysisConfig config;
  cout << "Enter Size:";
  int size;
  cin >> size;
  audioData.SetSize(size);
  int windowSize = 679;
  int spectrumSize = 513;
  config.SetSamplingRate(audioData.GetSampleRate());
  config.SetWindowSize(windowSize);
  spectrum.SetSize(spectrumSize);
  spectrum.SetScale(EScale::eLog);
  SpectralAnalysis(sa);
  sa.Configure(config);
  sa.Start();
  sa.Do(audioData, spectrum);
  sa.Stop();
}


Is there a way of setting the window size automatically to a value which produces a correct result? If not how would one calculate the optimum window size to choose. I've also tried using various different window types. Any help on this matter will be greatly appreciated.

Thanks

Patrick

Get Messenger on your Mobile! Get it now!
_______________________________________________
CLAM mailing list
CLAM@...
http://clam.iua.upf.edu
Juan Vesa | 11 Jul 2008 09:55
Picon

cannot compitle networkeditor from source (svn) os x 10.4.11

Hello,
I'm trying to compile the various clam apps + source from an svn  
checkout for the fisrt time. i have managed to compile the smstools  
example with qt3, but i cannot get networkeditor to compile. i have  
qt-4.4.0 installed via source downloaded from their website, and have  
it installed and QTDIR set to:

juan-vesas-computer:~ plantiginate$ echo $QTDIR
/usr/local/Trolltech/Qt-4.4.0

and $CLAM_PATH set to /usr/local. also my evironment $PATH is set as  
thus:

/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/opt/ 
local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/ 
supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/ 
build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/ 
plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/ 
Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/bin:/ 
usr/X11R6/bin

however i get the following errors (actually a whole bunch of "file  
not found" errors associated with qt4). i remember once when i  
compiled the example i got an error saying i needded qt-4.3.8 but was  
unable to reproduce the error. can anyone please help me resolve this  
compilation issue?

regards,
juan.

juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate 
$ scons install clam+path=$CLAM_PATH
scons: Reading SConscript files ...
Loading nsis tool...
Loading Bundle tool
Lodading dmg tool...
Version:  1.2.1
Package version:  1.2.1~svn11552
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG - 
DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB - 
DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG - 
DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 - 
DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1  
-DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 - 
DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB - 
I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/ 
Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/ 
QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/local/ 
Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/ 
Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/ 
qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/ 
usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/jack - 
Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample -Isrc/ 
prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets - 
Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/ 
clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/ 
include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/ 
generated src/main.cxx
src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory
David García Garzón | 11 Jul 2008 12:17
X-Face
Favicon

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

Your are specifiying the wrong option:

$ scons install clam+path=$CLAM_PATH
should be:
$ scons install clam_path=$CLAM_PATH

It is weird that, with such an option badly set, scons doesn't complaint about 
not finding qt4.py tool.

If you get further problems, please specify your platform. It has been hard to 
figure out that you are on Mac. I think you have last stable version binaries 
available for your platform on the dowload section of the web. Have you tried 
them?

On Divendres 11 Juliol 2008, Juan Vesa wrote:
> Hello,
> I'm trying to compile the various clam apps + source from an svn
> checkout for the fisrt time. i have managed to compile the smstools
> example with qt3, but i cannot get networkeditor to compile. i have
> qt-4.4.0 installed via source downloaded from their website, and have
> it installed and QTDIR set to:
>
> juan-vesas-computer:~ plantiginate$ echo $QTDIR
> /usr/local/Trolltech/Qt-4.4.0
>
> and $CLAM_PATH set to /usr/local. also my evironment $PATH is set as
> thus:
>
> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/opt/
> local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
> supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
> build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/
> plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/
> Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/bin:/
> usr/X11R6/bin
>
> however i get the following errors (actually a whole bunch of "file
> not found" errors associated with qt4). i remember once when i
> compiled the example i got an error saying i needded qt-4.3.8 but was
> unable to reproduce the error. can anyone please help me resolve this
> compilation issue?
>
> regards,
> juan.
>
> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
> $ scons install clam+path=$CLAM_PATH
> scons: Reading SConscript files ...
> Loading nsis tool...
> Loading Bundle tool
> Lodading dmg tool...
> Version:  1.2.1
> Package version:  1.2.1~svn11552
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/local/
> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/jack -
> Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample -Isrc/
> prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets -
> Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
> clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
> include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
> generated src/main.cxx
> src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory
>
> _______________________________________________
> CLAM mailing list
> CLAM@...
> http://clam.iua.upf.edu

--

-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
_______________________________________________
CLAM mailing list
CLAM@...
http://clam.iua.upf.edu
Juan Vesa | 16 Jul 2008 11:06
Picon

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

hi david/clam list,

so, i'm trying to install this again, the binary downloads and opens  
ok. it seems the binary is ok although i haven't tried to do anything  
with it yet. but i still get the same errors when trying to compile  
the source. i downloaded and installed a fresh clam source which  
installed and compiled without error, but when i try and install the  
network editor from source i still get the same errors.

my platform is os x intel macbook pro tiger 10.4.11

on the scons install output it looks to include files in the $QTDIR/ 
include/qt4/.... directory, but there is no directory in $QTDIR/ 
include named qt4....

juan-vesas-computer:~ plantiginate$ ls $QTDIR/include
Qt              QtDBus          QtNetwork       QtSvg           QtXml
Qt3Support      QtDesigner      QtOpenGL        QtTest           
QtXmlPatterns
QtAssistant     QtGui           QtScript        QtUiTools       phonon
QtCore          QtHelp          QtSql           QtWebKit

so i guess the qt4 is not meant to be there but i'm quite clueless  
when it comes to scons and the sconstruct files, where does it  
specify where to look for includes? does this happen to other people  
or do i have an unusual setup?

thanks again and regards,

l
======================
output:
juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate 
$ scons install prefix=/usr/local clam_prefix=/usr/local
scons: Reading SConscript files ...
Loading nsis tool...
Loading Bundle tool
Lodading dmg tool...
Version:  1.2.1
Package version:  1.2.1~svn11608
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG - 
DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB - 
DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG - 
DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 - 
DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1  
-DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 - 
DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB - 
I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/ 
Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/ 
QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/local/ 
Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/ 
Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/ 
qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/ 
usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/jack - 
Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/monitors -Isrc/ 
monitors/generated -Isrc/widgets -Isrc/widgets/generated -Isrc/ 
clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -I/usr/local/ 
include -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/ 
clamWidgetsPlugin/generated src/main.cxx
src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory
src/main.cxx:23:30: error: QtCore/QTranslator: No such file or directory
src/main.cxx:24:26: error: QtCore/QLocale: No such file or directory
In file included from src/MainWindow.hxx:1,
                  from src/main.cxx:26:
src/generated/uic_MainWindow.hxx:13:27: error: QtCore/QVariant: No  
such file or directory
src/generated/uic_MainWindow.hxx:14:25: error: QtGui/QAction: No such  
file or directory
src/generated/uic_MainWindow.hxx:16:30: error: QtGui/QButtonGroup: No  
such file or directory
src/generated/uic_MainWindow.hxx:17:29: error: QtGui/QHBoxLayout: No  
such file or directory
src/generated/uic_MainWindow.hxx:18:29: error: QtGui/QMainWindow: No  
such file or directo

etc...etc.......

On 11/07/2008, at 8:17 PM, David García Garzón wrote:

> Your are specifiying the wrong option:
>
> $ scons install clam+path=$CLAM_PATH
> should be:
> $ scons install clam_path=$CLAM_PATH
>
> It is weird that, with such an option badly set, scons doesn't  
> complaint about
> not finding qt4.py tool.
>
> If you get further problems, please specify your platform. It has  
> been hard to
> figure out that you are on Mac. I think you have last stable  
> version binaries
> available for your platform on the dowload section of the web. Have  
> you tried
> them?
>
>
> On Divendres 11 Juliol 2008, Juan Vesa wrote:
>> Hello,
>> I'm trying to compile the various clam apps + source from an svn
>> checkout for the fisrt time. i have managed to compile the smstools
>> example with qt3, but i cannot get networkeditor to compile. i have
>> qt-4.4.0 installed via source downloaded from their website, and have
>> it installed and QTDIR set to:
>>
>> juan-vesas-computer:~ plantiginate$ echo $QTDIR
>> /usr/local/Trolltech/Qt-4.4.0
>>
>> and $CLAM_PATH set to /usr/local. also my evironment $PATH is set as
>> thus:
>>
>> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/opt/
>> local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
>> supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
>> build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/
>> plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/
>> Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/bin:/
>> usr/X11R6/bin
>>
>> however i get the following errors (actually a whole bunch of "file
>> not found" errors associated with qt4). i remember once when i
>> compiled the example i got an error saying i needded qt-4.3.8 but was
>> unable to reproduce the error. can anyone please help me resolve this
>> compilation issue?
>>
>> regards,
>> juan.
>>
>> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
>> $ scons install clam+path=$CLAM_PATH
>> scons: Reading SConscript files ...
>> Loading nsis tool...
>> Loading Bundle tool
>> Lodading dmg tool...
>> Version:  1.2.1
>> Package version:  1.2.1~svn11552
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
>> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
>> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
>> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
>> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
>> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
>> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
>> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/ 
>> local/
>> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
>> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
>> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
>> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/ 
>> jack -
>> Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample - 
>> Isrc/
>> prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets -
>> Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
>> clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
>> include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
>> generated src/main.cxx
>> src/main.cxx:22:30: error: QtGui/QApplication: No such file or  
>> directory
>>
>> _______________________________________________
>> CLAM mailing list
>> CLAM@...
>> http://clam.iua.upf.edu
>
>
>
> -- 
> David García Garzón
> (Work) dgarcia at iua dot upf anotherdot es
> http://www.iua.upf.edu/~dgarcia
David García Garzón | 16 Jul 2008 13:33
X-Face
Favicon

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

Um, this seems related to using macports or not, or installing native or X11 
version of Qt. But i am not the Mac specialist and for me it is not clear 
from the wiki which is the one to install: it talks about installing a binary 
dmg, then the source and the macports.

Maybe Pau knows.

It would be nice it it works out of the box but meanwhile here are two 
possible hacks:

* ln -s $QTDIR/include $QTDIR/include/qt4

* Uncomment lines 498 and 499 and comment out 501 and 502 of 
clam/CLAM/scons/sconstools/qt4.py and 'scons install' clam.

On Dimecres 16 Juliol 2008, Juan Vesa wrote:
> hi david/clam list,
>
> so, i'm trying to install this again, the binary downloads and opens
> ok. it seems the binary is ok although i haven't tried to do anything
> with it yet. but i still get the same errors when trying to compile
> the source. i downloaded and installed a fresh clam source which
> installed and compiled without error, but when i try and install the
> network editor from source i still get the same errors.
>
> my platform is os x intel macbook pro tiger 10.4.11
>
> on the scons install output it looks to include files in the $QTDIR/
> include/qt4/.... directory, but there is no directory in $QTDIR/
> include named qt4....
>
> juan-vesas-computer:~ plantiginate$ ls $QTDIR/include
> Qt              QtDBus          QtNetwork       QtSvg           QtXml
> Qt3Support      QtDesigner      QtOpenGL        QtTest
> QtXmlPatterns
> QtAssistant     QtGui           QtScript        QtUiTools       phonon
> QtCore          QtHelp          QtSql           QtWebKit
>
> so i guess the qt4 is not meant to be there but i'm quite clueless
> when it comes to scons and the sconstruct files, where does it
> specify where to look for includes? does this happen to other people
> or do i have an unusual setup?
>
> thanks again and regards,
>
> l
> ======================
> output:
> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
> $ scons install prefix=/usr/local clam_prefix=/usr/local
> scons: Reading SConscript files ...
> Loading nsis tool...
> Loading Bundle tool
> Lodading dmg tool...
> Version:  1.2.1
> Package version:  1.2.1~svn11608
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/local/
> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/jack -
> Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/monitors -Isrc/
> monitors/generated -Isrc/widgets -Isrc/widgets/generated -Isrc/
> clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -I/usr/local/
> include -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/
> clamWidgetsPlugin/generated src/main.cxx
> src/main.cxx:22:30: error: QtGui/QApplication: No such file or directory
> src/main.cxx:23:30: error: QtCore/QTranslator: No such file or directory
> src/main.cxx:24:26: error: QtCore/QLocale: No such file or directory
> In file included from src/MainWindow.hxx:1,
>                   from src/main.cxx:26:
> src/generated/uic_MainWindow.hxx:13:27: error: QtCore/QVariant: No
> such file or directory
> src/generated/uic_MainWindow.hxx:14:25: error: QtGui/QAction: No such
> file or directory
> src/generated/uic_MainWindow.hxx:16:30: error: QtGui/QButtonGroup: No
> such file or directory
> src/generated/uic_MainWindow.hxx:17:29: error: QtGui/QHBoxLayout: No
> such file or directory
> src/generated/uic_MainWindow.hxx:18:29: error: QtGui/QMainWindow: No
> such file or directo
>
> etc...etc.......
>
> On 11/07/2008, at 8:17 PM, David García Garzón wrote:
> > Your are specifiying the wrong option:
> >
> > $ scons install clam+path=$CLAM_PATH
> > should be:
> > $ scons install clam_path=$CLAM_PATH
> >
> > It is weird that, with such an option badly set, scons doesn't
> > complaint about
> > not finding qt4.py tool.
> >
> > If you get further problems, please specify your platform. It has
> > been hard to
> > figure out that you are on Mac. I think you have last stable
> > version binaries
> > available for your platform on the dowload section of the web. Have
> > you tried
> > them?
> >
> > On Divendres 11 Juliol 2008, Juan Vesa wrote:
> >> Hello,
> >> I'm trying to compile the various clam apps + source from an svn
> >> checkout for the fisrt time. i have managed to compile the smstools
> >> example with qt3, but i cannot get networkeditor to compile. i have
> >> qt-4.4.0 installed via source downloaded from their website, and have
> >> it installed and QTDIR set to:
> >>
> >> juan-vesas-computer:~ plantiginate$ echo $QTDIR
> >> /usr/local/Trolltech/Qt-4.4.0
> >>
> >> and $CLAM_PATH set to /usr/local. also my evironment $PATH is set as
> >> thus:
> >>
> >> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/opt/
> >> local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
> >> supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
> >> build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/
> >> plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/
> >> Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/bin:/
> >> usr/X11R6/bin
> >>
> >> however i get the following errors (actually a whole bunch of "file
> >> not found" errors associated with qt4). i remember once when i
> >> compiled the example i got an error saying i needded qt-4.3.8 but was
> >> unable to reproduce the error. can anyone please help me resolve this
> >> compilation issue?
> >>
> >> regards,
> >> juan.
> >>
> >> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
> >> $ scons install clam+path=$CLAM_PATH
> >> scons: Reading SConscript files ...
> >> Loading nsis tool...
> >> Loading Bundle tool
> >> Lodading dmg tool...
> >> Version:  1.2.1
> >> Package version:  1.2.1~svn11552
> >> scons: done reading SConscript files.
> >> scons: Building targets ...
> >> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
> >> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
> >> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
> >> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
> >> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
> >> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
> >> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
> >> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
> >> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
> >> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/
> >> local/
> >> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
> >> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
> >> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
> >> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/
> >> jack -
> >> Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample -
> >> Isrc/
> >> prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets -
> >> Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
> >> clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
> >> include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
> >> generated src/main.cxx
> >> src/main.cxx:22:30: error: QtGui/QApplication: No such file or
> >> directory
> >>
> >> _______________________________________________
> >> CLAM mailing list
> >> CLAM@...
> >> http://clam.iua.upf.edu
> >
> > --
> > David García Garzón
> > (Work) dgarcia at iua dot upf anotherdot es
> > http://www.iua.upf.edu/~dgarcia
>
> _______________________________________________
> CLAM mailing list
> CLAM@...
> http://clam.iua.upf.edu

--

-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
_______________________________________________
CLAM mailing list
CLAM@...
http://clam.iua.upf.edu
Juan Vesa | 17 Jul 2008 09:22
Picon

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

hi david/clam list,

the symbolic link works kind of but the compilation eventually stops  
at the errors below (scroll to bottom to see):
and when i change the lines in qt4.py which you said, and after  
recompiling clam, i get much the same error which ends thus:

src/generated/moc_ControlPrinterWidget.o -L/usr/local/Trolltech/ 
Qt-4.4.0/lib -L/usr/local/lib -L/usr/local/Trolltech/Qt-4.4.0/lib - 
lclam_core -lclam_audioio -lclam_processing -lQtCore -lQtGui - 
lQtOpenGL -lQtXml -lQtSvg -lQtUiTools -lQtDesigner
/usr/bin/ld: can't locate file for: -lQtCore
collect2: ld returned 1 exit status
scons: *** [NetworkEditor] Error 1
scons: building terminated because of errors.

error output from scons install with the symlink set (i.e. ln -s  
$QTDIR/include $QTDIR/include/qt4

  src/generated/moc_ControlPrinterWidget.o -L/usr/local/Trolltech/ 
Qt-4.4.0/lib -L/usr/local/lib -L/usr/local/Trolltech/Qt-4.4.0/lib - 
lclam_core -lclam_audioio -lclam_processing -lQtCore -lQtGui - 
lQtOpenGL -lQtXml -lQtSvg -lQtUiTools -lQtDesigner
/usr/bin/ld: can't locate file for: -lQtCore
collect2: ld returned 1 exit status
scons: *** [NetworkEditor] Error 1
scons: building terminated because of errors.

On 16/07/2008, at 9:33 PM, David García Garzón wrote:

> Um, this seems related to using macports or not, or installing  
> native or X11
> version of Qt. But i am not the Mac specialist and for me it is not  
> clear
> from the wiki which is the one to install: it talks about  
> installing a binary
> dmg, then the source and the macports.
>
> Maybe Pau knows.
>
> It would be nice it it works out of the box but meanwhile here are two
> possible hacks:
>
> * ln -s $QTDIR/include $QTDIR/include/qt4
>
> * Uncomment lines 498 and 499 and comment out 501 and 502 of
> clam/CLAM/scons/sconstools/qt4.py and 'scons install' clam.
>
>
> On Dimecres 16 Juliol 2008, Juan Vesa wrote:
>> hi david/clam list,
>>
>> so, i'm trying to install this again, the binary downloads and opens
>> ok. it seems the binary is ok although i haven't tried to do anything
>> with it yet. but i still get the same errors when trying to compile
>> the source. i downloaded and installed a fresh clam source which
>> installed and compiled without error, but when i try and install the
>> network editor from source i still get the same errors.
>>
>> my platform is os x intel macbook pro tiger 10.4.11
>>
>> on the scons install output it looks to include files in the $QTDIR/
>> include/qt4/.... directory, but there is no directory in $QTDIR/
>> include named qt4....
>>
>> juan-vesas-computer:~ plantiginate$ ls $QTDIR/include
>> Qt              QtDBus          QtNetwork       QtSvg           QtXml
>> Qt3Support      QtDesigner      QtOpenGL        QtTest
>> QtXmlPatterns
>> QtAssistant     QtGui           QtScript        QtUiTools        
>> phonon
>> QtCore          QtHelp          QtSql           QtWebKit
>>
>> so i guess the qt4 is not meant to be there but i'm quite clueless
>> when it comes to scons and the sconstruct files, where does it
>> specify where to look for includes? does this happen to other people
>> or do i have an unusual setup?
>>
>> thanks again and regards,
>>
>> l
>> ======================
>> output:
>> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
>> $ scons install prefix=/usr/local clam_prefix=/usr/local
>> scons: Reading SConscript files ...
>> Loading nsis tool...
>> Loading Bundle tool
>> Lodading dmg tool...
>> Version:  1.2.1
>> Package version:  1.2.1~svn11608
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
>> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
>> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
>> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
>> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
>> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
>> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
>> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/ 
>> local/
>> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
>> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
>> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
>> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/ 
>> jack -
>> Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/monitors - 
>> Isrc/
>> monitors/generated -Isrc/widgets -Isrc/widgets/generated -Isrc/
>> clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -I/usr/local/
>> include -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/
>> clamWidgetsPlugin/generated src/main.cxx
>> src/main.cxx:22:30: error: QtGui/QApplication: No such file or  
>> directory
>> src/main.cxx:23:30: error: QtCore/QTranslator: No such file or  
>> directory
>> src/main.cxx:24:26: error: QtCore/QLocale: No such file or directory
>> In file included from src/MainWindow.hxx:1,
>>                   from src/main.cxx:26:
>> src/generated/uic_MainWindow.hxx:13:27: error: QtCore/QVariant: No
>> such file or directory
>> src/generated/uic_MainWindow.hxx:14:25: error: QtGui/QAction: No such
>> file or directory
>> src/generated/uic_MainWindow.hxx:16:30: error: QtGui/QButtonGroup: No
>> such file or directory
>> src/generated/uic_MainWindow.hxx:17:29: error: QtGui/QHBoxLayout: No
>> such file or directory
>> src/generated/uic_MainWindow.hxx:18:29: error: QtGui/QMainWindow: No
>> such file or directo
>>
>> etc...etc.......
>>
>> On 11/07/2008, at 8:17 PM, David García Garzón wrote:
>>> Your are specifiying the wrong option:
>>>
>>> $ scons install clam+path=$CLAM_PATH
>>> should be:
>>> $ scons install clam_path=$CLAM_PATH
>>>
>>> It is weird that, with such an option badly set, scons doesn't
>>> complaint about
>>> not finding qt4.py tool.
>>>
>>> If you get further problems, please specify your platform. It has
>>> been hard to
>>> figure out that you are on Mac. I think you have last stable
>>> version binaries
>>> available for your platform on the dowload section of the web. Have
>>> you tried
>>> them?
>>>
>>> On Divendres 11 Juliol 2008, Juan Vesa wrote:
>>>> Hello,
>>>> I'm trying to compile the various clam apps + source from an svn
>>>> checkout for the fisrt time. i have managed to compile the smstools
>>>> example with qt3, but i cannot get networkeditor to compile. i have
>>>> qt-4.4.0 installed via source downloaded from their website, and  
>>>> have
>>>> it installed and QTDIR set to:
>>>>
>>>> juan-vesas-computer:~ plantiginate$ echo $QTDIR
>>>> /usr/local/Trolltech/Qt-4.4.0
>>>>
>>>> and $CLAM_PATH set to /usr/local. also my evironment $PATH is  
>>>> set as
>>>> thus:
>>>>
>>>> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/ 
>>>> opt/
>>>> local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
>>>> supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
>>>> build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/
>>>> plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/
>>>> Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/ 
>>>> bin:/
>>>> usr/X11R6/bin
>>>>
>>>> however i get the following errors (actually a whole bunch of "file
>>>> not found" errors associated with qt4). i remember once when i
>>>> compiled the example i got an error saying i needded qt-4.3.8  
>>>> but was
>>>> unable to reproduce the error. can anyone please help me resolve  
>>>> this
>>>> compilation issue?
>>>>
>>>> regards,
>>>> juan.
>>>>
>>>> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor  
>>>> plantiginate
>>>> $ scons install clam+path=$CLAM_PATH
>>>> scons: Reading SConscript files ...
>>>> Loading nsis tool...
>>>> Loading Bundle tool
>>>> Lodading dmg tool...
>>>> Version:  1.2.1
>>>> Package version:  1.2.1~svn11552
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
>>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
>>>> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
>>>> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
>>>> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 - 
>>>> DUSE_ID3=1
>>>> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
>>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB - 
>>>> DQT_SVG_LIB -
>>>> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
>>>> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
>>>> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/
>>>> local/
>>>> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
>>>> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
>>>> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
>>>> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/
>>>> jack -
>>>> Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample -
>>>> Isrc/
>>>> prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets -
>>>> Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
>>>> clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
>>>> include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
>>>> generated src/main.cxx
>>>> src/main.cxx:22:30: error: QtGui/QApplication: No such file or
>>>> directory
>>>>
>>>> _______________________________________________
>>>> CLAM mailing list
>>>> CLAM@...
>>>> http://clam.iua.upf.edu
>>>
>>> --
>>> David García Garzón
>>> (Work) dgarcia at iua dot upf anotherdot es
>>> http://www.iua.upf.edu/~dgarcia
>>
>> _______________________________________________
>> CLAM mailing list
>> CLAM@...
>> http://clam.iua.upf.edu
>
>
>
> -- 
> David García Garzón
> (Work) dgarcia at iua dot upf anotherdot es
> http://www.iua.upf.edu/~dgarcia
David García Garzón | 17 Jul 2008 13:25
X-Face
Favicon

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

That's a linker error so we got it further :-)

Just check the contents of /usr/local/Trolltech/Qt-4.4.0/lib so that it 
contains the requested library QtCore.

The error suggest me that the Qt binaries you are using might need compilation 
as 'frameworks' not as libs which was something we supported by the qt4.py 
tool but we might have removed support as we moved to qt4 macports or 
something similar. I dont really remember as i told you I am not the mac guy 
here. Pau or any other mac user over there should tell you. The wiki for me 
is not clear but i don't fully understand the terms in there.

On Dijous 17 Juliol 2008, Juan Vesa wrote:
> hi david/clam list,
>
> the symbolic link works kind of but the compilation eventually stops
> at the errors below (scroll to bottom to see):
> and when i change the lines in qt4.py which you said, and after
> recompiling clam, i get much the same error which ends thus:
>
> src/generated/moc_ControlPrinterWidget.o -L/usr/local/Trolltech/
> Qt-4.4.0/lib -L/usr/local/lib -L/usr/local/Trolltech/Qt-4.4.0/lib -
> lclam_core -lclam_audioio -lclam_processing -lQtCore -lQtGui -
> lQtOpenGL -lQtXml -lQtSvg -lQtUiTools -lQtDesigner
> /usr/bin/ld: can't locate file for: -lQtCore
> collect2: ld returned 1 exit status
> scons: *** [NetworkEditor] Error 1
> scons: building terminated because of errors.
>
> error output from scons install with the symlink set (i.e. ln -s
> $QTDIR/include $QTDIR/include/qt4
>
>   src/generated/moc_ControlPrinterWidget.o -L/usr/local/Trolltech/
> Qt-4.4.0/lib -L/usr/local/lib -L/usr/local/Trolltech/Qt-4.4.0/lib -
> lclam_core -lclam_audioio -lclam_processing -lQtCore -lQtGui -
> lQtOpenGL -lQtXml -lQtSvg -lQtUiTools -lQtDesigner
> /usr/bin/ld: can't locate file for: -lQtCore
> collect2: ld returned 1 exit status
> scons: *** [NetworkEditor] Error 1
> scons: building terminated because of errors.
>
> On 16/07/2008, at 9:33 PM, David García Garzón wrote:
> > Um, this seems related to using macports or not, or installing
> > native or X11
> > version of Qt. But i am not the Mac specialist and for me it is not
> > clear
> > from the wiki which is the one to install: it talks about
> > installing a binary
> > dmg, then the source and the macports.
> >
> > Maybe Pau knows.
> >
> > It would be nice it it works out of the box but meanwhile here are two
> > possible hacks:
> >
> > * ln -s $QTDIR/include $QTDIR/include/qt4
> >
> > * Uncomment lines 498 and 499 and comment out 501 and 502 of
> > clam/CLAM/scons/sconstools/qt4.py and 'scons install' clam.
> >
> > On Dimecres 16 Juliol 2008, Juan Vesa wrote:
> >> hi david/clam list,
> >>
> >> so, i'm trying to install this again, the binary downloads and opens
> >> ok. it seems the binary is ok although i haven't tried to do anything
> >> with it yet. but i still get the same errors when trying to compile
> >> the source. i downloaded and installed a fresh clam source which
> >> installed and compiled without error, but when i try and install the
> >> network editor from source i still get the same errors.
> >>
> >> my platform is os x intel macbook pro tiger 10.4.11
> >>
> >> on the scons install output it looks to include files in the $QTDIR/
> >> include/qt4/.... directory, but there is no directory in $QTDIR/
> >> include named qt4....
> >>
> >> juan-vesas-computer:~ plantiginate$ ls $QTDIR/include
> >> Qt              QtDBus          QtNetwork       QtSvg           QtXml
> >> Qt3Support      QtDesigner      QtOpenGL        QtTest
> >> QtXmlPatterns
> >> QtAssistant     QtGui           QtScript        QtUiTools
> >> phonon
> >> QtCore          QtHelp          QtSql           QtWebKit
> >>
> >> so i guess the qt4 is not meant to be there but i'm quite clueless
> >> when it comes to scons and the sconstruct files, where does it
> >> specify where to look for includes? does this happen to other people
> >> or do i have an unusual setup?
> >>
> >> thanks again and regards,
> >>
> >> l
> >> ======================
> >> output:
> >> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor plantiginate
> >> $ scons install prefix=/usr/local clam_prefix=/usr/local
> >> scons: Reading SConscript files ...
> >> Loading nsis tool...
> >> Loading Bundle tool
> >> Lodading dmg tool...
> >> Version:  1.2.1
> >> Package version:  1.2.1~svn11608
> >> scons: done reading SConscript files.
> >> scons: Building targets ...
> >> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
> >> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
> >> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
> >> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
> >> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
> >> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
> >> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -
> >> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
> >> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
> >> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/
> >> local/
> >> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
> >> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
> >> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
> >> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/
> >> jack -
> >> Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/monitors -
> >> Isrc/
> >> monitors/generated -Isrc/widgets -Isrc/widgets/generated -Isrc/
> >> clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -I/usr/local/
> >> include -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/
> >> clamWidgetsPlugin/generated src/main.cxx
> >> src/main.cxx:22:30: error: QtGui/QApplication: No such file or
> >> directory
> >> src/main.cxx:23:30: error: QtCore/QTranslator: No such file or
> >> directory
> >> src/main.cxx:24:26: error: QtCore/QLocale: No such file or directory
> >> In file included from src/MainWindow.hxx:1,
> >>                   from src/main.cxx:26:
> >> src/generated/uic_MainWindow.hxx:13:27: error: QtCore/QVariant: No
> >> such file or directory
> >> src/generated/uic_MainWindow.hxx:14:25: error: QtGui/QAction: No such
> >> file or directory
> >> src/generated/uic_MainWindow.hxx:16:30: error: QtGui/QButtonGroup: No
> >> such file or directory
> >> src/generated/uic_MainWindow.hxx:17:29: error: QtGui/QHBoxLayout: No
> >> such file or directory
> >> src/generated/uic_MainWindow.hxx:18:29: error: QtGui/QMainWindow: No
> >> such file or directo
> >>
> >> etc...etc.......
> >>
> >> On 11/07/2008, at 8:17 PM, David García Garzón wrote:
> >>> Your are specifiying the wrong option:
> >>>
> >>> $ scons install clam+path=$CLAM_PATH
> >>> should be:
> >>> $ scons install clam_path=$CLAM_PATH
> >>>
> >>> It is weird that, with such an option badly set, scons doesn't
> >>> complaint about
> >>> not finding qt4.py tool.
> >>>
> >>> If you get further problems, please specify your platform. It has
> >>> been hard to
> >>> figure out that you are on Mac. I think you have last stable
> >>> version binaries
> >>> available for your platform on the dowload section of the web. Have
> >>> you tried
> >>> them?
> >>>
> >>> On Divendres 11 Juliol 2008, Juan Vesa wrote:
> >>>> Hello,
> >>>> I'm trying to compile the various clam apps + source from an svn
> >>>> checkout for the fisrt time. i have managed to compile the smstools
> >>>> example with qt3, but i cannot get networkeditor to compile. i have
> >>>> qt-4.4.0 installed via source downloaded from their website, and
> >>>> have
> >>>> it installed and QTDIR set to:
> >>>>
> >>>> juan-vesas-computer:~ plantiginate$ echo $QTDIR
> >>>> /usr/local/Trolltech/Qt-4.4.0
> >>>>
> >>>> and $CLAM_PATH set to /usr/local. also my evironment $PATH is
> >>>> set as
> >>>> thus:
> >>>>
> >>>> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/
> >>>> opt/
> >>>> local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
> >>>> supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
> >>>> build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/users/
> >>>> plantiginate/apps/rar:/System/Library/Frameworks/Python.framework/
> >>>> Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/
> >>>> bin:/
> >>>> usr/X11R6/bin
> >>>>
> >>>> however i get the following errors (actually a whole bunch of "file
> >>>> not found" errors associated with qt4). i remember once when i
> >>>> compiled the example i got an error saying i needded qt-4.3.8
> >>>> but was
> >>>> unable to reproduce the error. can anyone please help me resolve
> >>>> this
> >>>> compilation issue?
> >>>>
> >>>> regards,
> >>>> juan.
> >>>>
> >>>> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor
> >>>> plantiginate
> >>>> $ scons install clam+path=$CLAM_PATH
> >>>> scons: Reading SConscript files ...
> >>>> Loading nsis tool...
> >>>> Loading Bundle tool
> >>>> Lodading dmg tool...
> >>>> Version:  1.2.1
> >>>> Package version:  1.2.1~svn11552
> >>>> scons: done reading SConscript files.
> >>>> scons: Building targets ...
> >>>> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
> >>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
> >>>> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
> >>>> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
> >>>> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -
> >>>> DUSE_ID3=1
> >>>> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
> >>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
> >>>> DQT_SVG_LIB -
> >>>> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
> >>>> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
> >>>> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/
> >>>> local/
> >>>> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
> >>>> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
> >>>> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
> >>>> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/
> >>>> jack -
> >>>> Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample -
> >>>> Isrc/
> >>>> prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/widgets -
> >>>> Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
> >>>> clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
> >>>> include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
> >>>> generated src/main.cxx
> >>>> src/main.cxx:22:30: error: QtGui/QApplication: No such file or
> >>>> directory
> >>>>
> >>>> _______________________________________________
> >>>> CLAM mailing list
> >>>> CLAM@...
> >>>> http://clam.iua.upf.edu
> >>>
> >>> --
> >>> David García Garzón
> >>> (Work) dgarcia at iua dot upf anotherdot es
> >>> http://www.iua.upf.edu/~dgarcia
> >>
> >> _______________________________________________
> >> CLAM mailing list
> >> CLAM@...
> >> http://clam.iua.upf.edu
> >
> > --
> > David García Garzón
> > (Work) dgarcia at iua dot upf anotherdot es
> > http://www.iua.upf.edu/~dgarcia
>
> _______________________________________________
> CLAM mailing list
> CLAM@...
> http://clam.iua.upf.edu

--

-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
_______________________________________________
CLAM mailing list
CLAM@...
http://clam.iua.upf.edu
Pau Arumí | 17 Jul 2008 18:41
Favicon
Gravatar

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

On dj, 2008-07-17 at 13:25 +0200, David García Garzón wrote:
> I dont really remember as i told you I am not the mac guy 
> here. Pau or any other mac user over there should tell you. The wiki for me 
> is not clear but i don't fully understand the terms in there.

I will clarify the wiki and send an update. But I'm afraid I don't have
the time nor the macbook available today.

P
Juan Vesa | 19 Jul 2008 01:23
Picon

Re: cannot compitle networkeditor from source (svn) os x 10.4.11

hi all,

the qt4 binary i downloaded from the website (trolltech.com) says it  
defaults to install it as a framework in /usr/local, as i can see it  
does. i just built it with the defaults it gave in the INSTALL file  
in the zip, which is to build as a framework in /usr/local. actually  
i get a similar error but with a different library when i try the  
sconstruct file from the wiki and building the simplenetwok example  
from the wiki i guess it is something from my system, but i can't  
think what (i'm not too experienced in these matters as you can  
tell). i have a QtCore.la and a QtGui.la in $QTDIR/lib. i didn't get  
qt4 from wget like the wiki said i just got it from the trolltech  
website, i guess it's something in the way i built and installed it.  
i'll try to get qt4 from macports next week when back at uni next  
week as my bandwidth at home is a little restricted.

thanks again for all your help.

On 17/07/2008, at 9:25 PM, David García Garzón wrote:

> That's a linker error so we got it further :-)
>
> Just check the contents of /usr/local/Trolltech/Qt-4.4.0/lib so  
> that it
> contains the requested library QtCore.
>
> The error suggest me that the Qt binaries you are using might need  
> compilation
> as 'frameworks' not as libs which was something we supported by the  
> qt4.py
> tool but we might have removed support as we moved to qt4 macports or
> something similar. I dont really remember as i told you I am not  
> the mac guy
> here. Pau or any other mac user over there should tell you. The  
> wiki for me
> is not clear but i don't fully understand the terms in there.
>
>
>
> On Dijous 17 Juliol 2008, Juan Vesa wrote:
>> hi david/clam list,
>>
>> the symbolic link works kind of but the compilation eventually stops
>> at the errors below (scroll to bottom to see):
>> and when i change the lines in qt4.py which you said, and after
>> recompiling clam, i get much the same error which ends thus:
>>
>> src/generated/moc_ControlPrinterWidget.o -L/usr/local/Trolltech/
>> Qt-4.4.0/lib -L/usr/local/lib -L/usr/local/Trolltech/Qt-4.4.0/lib -
>> lclam_core -lclam_audioio -lclam_processing -lQtCore -lQtGui -
>> lQtOpenGL -lQtXml -lQtSvg -lQtUiTools -lQtDesigner
>> /usr/bin/ld: can't locate file for: -lQtCore
>> collect2: ld returned 1 exit status
>> scons: *** [NetworkEditor] Error 1
>> scons: building terminated because of errors.
>>
>> error output from scons install with the symlink set (i.e. ln -s
>> $QTDIR/include $QTDIR/include/qt4
>>
>>   src/generated/moc_ControlPrinterWidget.o -L/usr/local/Trolltech/
>> Qt-4.4.0/lib -L/usr/local/lib -L/usr/local/Trolltech/Qt-4.4.0/lib -
>> lclam_core -lclam_audioio -lclam_processing -lQtCore -lQtGui -
>> lQtOpenGL -lQtXml -lQtSvg -lQtUiTools -lQtDesigner
>> /usr/bin/ld: can't locate file for: -lQtCore
>> collect2: ld returned 1 exit status
>> scons: *** [NetworkEditor] Error 1
>> scons: building terminated because of errors.
>>
>> On 16/07/2008, at 9:33 PM, David García Garzón wrote:
>>> Um, this seems related to using macports or not, or installing
>>> native or X11
>>> version of Qt. But i am not the Mac specialist and for me it is not
>>> clear
>>> from the wiki which is the one to install: it talks about
>>> installing a binary
>>> dmg, then the source and the macports.
>>>
>>> Maybe Pau knows.
>>>
>>> It would be nice it it works out of the box but meanwhile here  
>>> are two
>>> possible hacks:
>>>
>>> * ln -s $QTDIR/include $QTDIR/include/qt4
>>>
>>> * Uncomment lines 498 and 499 and comment out 501 and 502 of
>>> clam/CLAM/scons/sconstools/qt4.py and 'scons install' clam.
>>>
>>> On Dimecres 16 Juliol 2008, Juan Vesa wrote:
>>>> hi david/clam list,
>>>>
>>>> so, i'm trying to install this again, the binary downloads and  
>>>> opens
>>>> ok. it seems the binary is ok although i haven't tried to do  
>>>> anything
>>>> with it yet. but i still get the same errors when trying to compile
>>>> the source. i downloaded and installed a fresh clam source which
>>>> installed and compiled without error, but when i try and install  
>>>> the
>>>> network editor from source i still get the same errors.
>>>>
>>>> my platform is os x intel macbook pro tiger 10.4.11
>>>>
>>>> on the scons install output it looks to include files in the  
>>>> $QTDIR/
>>>> include/qt4/.... directory, but there is no directory in $QTDIR/
>>>> include named qt4....
>>>>
>>>> juan-vesas-computer:~ plantiginate$ ls $QTDIR/include
>>>> Qt              QtDBus          QtNetwork       QtSvg            
>>>> QtXml
>>>> Qt3Support      QtDesigner      QtOpenGL        QtTest
>>>> QtXmlPatterns
>>>> QtAssistant     QtGui           QtScript        QtUiTools
>>>> phonon
>>>> QtCore          QtHelp          QtSql           QtWebKit
>>>>
>>>> so i guess the qt4 is not meant to be there but i'm quite clueless
>>>> when it comes to scons and the sconstruct files, where does it
>>>> specify where to look for includes? does this happen to other  
>>>> people
>>>> or do i have an unusual setup?
>>>>
>>>> thanks again and regards,
>>>>
>>>> l
>>>> ======================
>>>> output:
>>>> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor  
>>>> plantiginate
>>>> $ scons install prefix=/usr/local clam_prefix=/usr/local
>>>> scons: Reading SConscript files ...
>>>> Loading nsis tool...
>>>> Loading Bundle tool
>>>> Lodading dmg tool...
>>>> Version:  1.2.1
>>>> Package version:  1.2.1~svn11608
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
>>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
>>>> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
>>>> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
>>>> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 - 
>>>> DUSE_ID3=1
>>>> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 -DUSE_FFTW3=1 -
>>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB - 
>>>> DQT_SVG_LIB -
>>>> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
>>>> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
>>>> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/
>>>> local/
>>>> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
>>>> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/
>>>> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtUiTools -I/
>>>> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/
>>>> jack -
>>>> Isrc/generated -Isrc/processing -Isrc/prototyper -Isrc/monitors -
>>>> Isrc/
>>>> monitors/generated -Isrc/widgets -Isrc/widgets/generated -Isrc/
>>>> clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated -I/usr/local/
>>>> include -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin -Isrc/
>>>> clamWidgetsPlugin/generated src/main.cxx
>>>> src/main.cxx:22:30: error: QtGui/QApplication: No such file or
>>>> directory
>>>> src/main.cxx:23:30: error: QtCore/QTranslator: No such file or
>>>> directory
>>>> src/main.cxx:24:26: error: QtCore/QLocale: No such file or  
>>>> directory
>>>> In file included from src/MainWindow.hxx:1,
>>>>                   from src/main.cxx:26:
>>>> src/generated/uic_MainWindow.hxx:13:27: error: QtCore/QVariant: No
>>>> such file or directory
>>>> src/generated/uic_MainWindow.hxx:14:25: error: QtGui/QAction: No  
>>>> such
>>>> file or directory
>>>> src/generated/uic_MainWindow.hxx:16:30: error: QtGui/ 
>>>> QButtonGroup: No
>>>> such file or directory
>>>> src/generated/uic_MainWindow.hxx:17:29: error: QtGui/ 
>>>> QHBoxLayout: No
>>>> such file or directory
>>>> src/generated/uic_MainWindow.hxx:18:29: error: QtGui/ 
>>>> QMainWindow: No
>>>> such file or directo
>>>>
>>>> etc...etc.......
>>>>
>>>> On 11/07/2008, at 8:17 PM, David García Garzón wrote:
>>>>> Your are specifiying the wrong option:
>>>>>
>>>>> $ scons install clam+path=$CLAM_PATH
>>>>> should be:
>>>>> $ scons install clam_path=$CLAM_PATH
>>>>>
>>>>> It is weird that, with such an option badly set, scons doesn't
>>>>> complaint about
>>>>> not finding qt4.py tool.
>>>>>
>>>>> If you get further problems, please specify your platform. It has
>>>>> been hard to
>>>>> figure out that you are on Mac. I think you have last stable
>>>>> version binaries
>>>>> available for your platform on the dowload section of the web.  
>>>>> Have
>>>>> you tried
>>>>> them?
>>>>>
>>>>> On Divendres 11 Juliol 2008, Juan Vesa wrote:
>>>>>> Hello,
>>>>>> I'm trying to compile the various clam apps + source from an svn
>>>>>> checkout for the fisrt time. i have managed to compile the  
>>>>>> smstools
>>>>>> example with qt3, but i cannot get networkeditor to compile. i  
>>>>>> have
>>>>>> qt-4.4.0 installed via source downloaded from their website, and
>>>>>> have
>>>>>> it installed and QTDIR set to:
>>>>>>
>>>>>> juan-vesas-computer:~ plantiginate$ echo $QTDIR
>>>>>> /usr/local/Trolltech/Qt-4.4.0
>>>>>>
>>>>>> and $CLAM_PATH set to /usr/local. also my evironment $PATH is
>>>>>> set as
>>>>>> thus:
>>>>>>
>>>>>> /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/
>>>>>> opt/
>>>>>> local/bin:/usr/local/bin:/Users/plantaginate/musicapps/sc3/
>>>>>> supercollider3:/Users/plantaginate/musicapps/sc3/supercollider3/
>>>>>> build:/volumes/macinstosh\ hd/sw/bin:/volumes/macintosh\ hd/ 
>>>>>> users/
>>>>>> plantiginate/apps/rar:/System/Library/Frameworks/ 
>>>>>> Python.framework/
>>>>>> Versions/2.3/bin/:~/apps/fslogger:/usr/local/Trolltech/Qt-4.4.0/
>>>>>> bin:/
>>>>>> usr/X11R6/bin
>>>>>>
>>>>>> however i get the following errors (actually a whole bunch of  
>>>>>> "file
>>>>>> not found" errors associated with qt4). i remember once when i
>>>>>> compiled the example i got an error saying i needded qt-4.3.8
>>>>>> but was
>>>>>> unable to reproduce the error. can anyone please help me resolve
>>>>>> this
>>>>>> compilation issue?
>>>>>>
>>>>>> regards,
>>>>>> juan.
>>>>>>
>>>>>> juan-vesas-computer:~/musicapps/clam/trunk/networkeditor
>>>>>> plantiginate
>>>>>> $ scons install clam+path=$CLAM_PATH
>>>>>> scons: Reading SConscript files ...
>>>>>> Loading nsis tool...
>>>>>> Loading Bundle tool
>>>>>> Lodading dmg tool...
>>>>>> Version:  1.2.1
>>>>>> Package version:  1.2.1~svn11552
>>>>>> scons: done reading SConscript files.
>>>>>> scons: Building targets ...
>>>>>> g++ -o src/main.o -c -g -O3 -Wall -DQT_PLUGIN -DQT_NO_DEBUG -
>>>>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
>>>>>> DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT -D_DEBUG -
>>>>>> DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_SNDFILE=1 -
>>>>>> DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -
>>>>>> DUSE_ID3=1
>>>>>> -DUSE_PORTAUDIO=1 -D__MACOSX_CORE__ -DUSE_RTAUDIO=1 - 
>>>>>> DUSE_FFTW3=1 -
>>>>>> DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -
>>>>>> DQT_SVG_LIB -
>>>>>> I/usr/local/include -I/opt/local/include -I/usr/local/Trolltech/
>>>>>> Qt-4.4.0/include/qt4 -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/
>>>>>> QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/QtGui -I/usr/
>>>>>> local/
>>>>>> Trolltech/Qt-4.4.0/include/qt4/QtOpenGL -I/usr/local/Trolltech/
>>>>>> Qt-4.4.0/include/qt4/QtXml -I/usr/local/Trolltech/Qt-4.4.0/ 
>>>>>> include/
>>>>>> qt4/QtSvg -I/usr/local/Trolltech/Qt-4.4.0/include/qt4/ 
>>>>>> QtUiTools -I/
>>>>>> usr/local/Trolltech/Qt-4.4.0/include/qt4/QtDesigner -Isrc -Isrc/
>>>>>> jack -
>>>>>> Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample -
>>>>>> Isrc/
>>>>>> prototyper -Isrc/monitors -Isrc/monitors/generated -Isrc/ 
>>>>>> widgets -
>>>>>> Isrc/widgets/generated -Isrc/clamWidgetsPlugins -Isrc/
>>>>>> clamWidgetsPlugins/generated -I/usr/local/include -I/usr/local/
>>>>>> include/CLAM -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/
>>>>>> generated src/main.cxx
>>>>>> src/main.cxx:22:30: error: QtGui/QApplication: No such file or
>>>>>> directory
>>>>>>
>>>>>> _______________________________________________
>>>>>> CLAM mailing list
>>>>>> CLAM@...
>>>>>> http://clam.iua.upf.edu
>>>>>
>>>>> --
>>>>> David García Garzón
>>>>> (Work) dgarcia at iua dot upf anotherdot es
>>>>> http://www.iua.upf.edu/~dgarcia
>>>>
>>>> _______________________________________________
>>>> CLAM mailing list
>>>> CLAM@...
>>>> http://clam.iua.upf.edu
>>>
>>> --
>>> David García Garzón
>>> (Work) dgarcia at iua dot upf anotherdot es
>>> http://www.iua.upf.edu/~dgarcia
>>
>> _______________________________________________
>> CLAM mailing list
>> CLAM@...
>> http://clam.iua.upf.edu
>
>
>
> -- 
> David García Garzón
> (Work) dgarcia at iua dot upf anotherdot es
> http://www.iua.upf.edu/~dgarcia
Carlos Pita | 20 Jul 2008 01:01
Picon
Gravatar

Multiple jack clients

Hi,

I'm using clam for the first time. My platform is gnu linux with jack.
Each time I press play/stop in the network editor a new jack client is
created, while the old one is kept. The new client isn't automatically
reconnected. So at the end my qjackctl connections graph is cluttered
with a lot of clam dead clients and I'm forced to reconnect the new
one each time. Is this intentional? Can I avoid that? Maybe I
shouldn't play/stop the editor.

Best regards
-Carlos

Gmane