[CLAM] NetworkEditor svn: Undefined interface

Dominique Michel dominique.michel at citycable.ch
Mon Mar 12 07:16:28 PDT 2007


Le Mon, 12 Mar 2007 14:56:30 +0100,
David García Garzón <dgarcia at iua.upf.edu> a écrit :

> This error is because you have QTDIR wrongly defined. Double check your QTDIR 
> contains 'include/Qt/' and 'bin' folders.
> 
I am on gentoo and qt4 is installed with /usr as prefix. The include are
in /usr/include/qt4 and it is some files in /usr/share/qt4 as examples,
mkspecs, translations and phrasebooks. The bin are in /usr/bin, the lib
in /usr/lib/qt4. I can send a list of files, but it is huge...

I try to compile qith QTDIR=/usr/share/qt4 as the 0.4.3 is compiling fine with
both QTDIR, but get the same error and almost the same -I/dir:

g++ -DCLAM_FLOAT -DUSE_PTHREADS=1 -DUSE_XERCES_TRUE -DCLAM_USE_XML
-DUSE_LADSPA=1 -DUSE_OSCPACK=1 -DUSE_FFTW=1 -DUSE_SNDFILE=1 -DUSE_MAD=1
-DUSE_ID3=1 -DUSE_ALSA=1 -DUSE_JACK=1 -DUSE_PORTAUDIO=1 -DWITH_MAD=1
-DQT_SHARED -g -O3 -Wall -fPIC -DQT_GUI_LIB
-DDATA_EXAMPLES_PATH="\"/usr/share/networkeditor/example-data\"" -DQT_PLUGIN
-DQT_NO_DEBUG -DQT_CORE_LIB -DQT_OPENGL_LIB -DQT_XML_LIB
-DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -I/usr/share/qt4/include
-I//usr/include -I/usr/share/qt4/include -I/usr/local/include
-I/usr/share/qt4/include/qt4 -I/usr/share/qt4/include/qt4/QtUiTools
-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -Isrc -Isrc/generated
-Isrc/processing -Isrc/prototyper -Isrc/chordWidgets
-Isrc/chordWidgets/generated -Isrc/clamWidgetsPlugins
-Isrc/clamWidgetsPlugins/generated -I/usr/include -I/usr/include/CLAM
-Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated -c -o
src/generated/qrc_images.os src/generated/qrc_images.cxx moc
-I/usr/share/qt4/include -o
src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx
src/clamWidgetsPlugin/KeySpacePlugin.hxx
src/clamWidgetsPlugin/KeySpacePlugin.hxx:33: Error: Undefined interface scons:
*** [src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx] Error 1 scons:
building terminated because of errors.

I write down with QTDIR=/usr what I found on my system for the includes and moc:

> On Monday 12 March 2007 12:03:31 Dominique Michel wrote:
> > I get the following error when compiling NetworkEditor from the svn
> > repository:
> >
> > g++ -DCLAM_FLOAT -DUSE_PTHREADS=1 -DUSE_XERCES_TRUE -DCLAM_USE_XML
> > -DUSE_LADSPA=1 -DUSE_OSCPACK=1 -DUSE_FFTW=1 -DUSE_SNDFILE=1 -DUSE_MAD=1
> > -DUSE_ID3=1 -DUSE_ALSA=1 -DUSE_JACK=1 -DUSE_PORTAUDIO=1 -DWITH_MAD=1
> > -DQT_SHARED -g -O3 -Wall -fPIC -DQT_GUI_LIB
> > -DDATA_EXAMPLES_PATH="\"/usr/share/networkeditor/example-data\""
> > -DQT_PLUGIN -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_OPENGL_LIB -DQT_XML_LIB
> > -DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -I/usr/include -I//usr/include
> > -I/usr/include -I/usr/local/include -I/usr/include/qt4
-I/usr/include/qt4 is correct

> > -I/usr/include/qt4/QtUiTools
is correct

> -I/usr/include/qt4
correct again

> -I/usr/include/qt4/QtCore
correct

> > -I/usr/include/qt4/QtGui
correct

> -I/usr/include/qt4/QtOpenGL
correct

> -I/usr/include/qt4/QtXml
correct

> -Isrc -Isrc/generated -Isrc/processing
> > -Isrc/prototyper -Isrc/chordWidgets -Isrc/chordWidgets/generated
> > -Isrc/clamWidgetsPlugins
> > -Isrc/clamWidgetsPlugins/generated -I/usr/include -I/usr/include/CLAM
> > -Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated -c -o
> > src/generated/qrc_images.os src/generated/qrc_images.cxx /usr/bin/moc
$ /usr/bin/moc -v
Qt Meta Object Compiler version 59 (Qt 4.2.2)

> > -I/usr/include -o src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx
> > src/clamWidgetsPlugin/KeySpacePlugin.hxx
> > src/clamWidgetsPlugin/KeySpacePlugin.hxx:33: Error: Undefined interface
> > scons: *** [src/clamWidgetsPlugin/generated/moc_KeySpacePlugin.cxx] Error 1
> > scons: building terminated because of errors.
> >
> > All the other clam packages was compiling fine from the svn.
> >
> > Ciao,
> > Dominique
> >
> > _______________________________________________
> > CLAM mailing list
> > CLAM at iua.upf.es
> > http://www.iua.upf.es/mtg/clam
> 
> 


-- 
Dominique Michel

--
N.B.: Tous les emails que je reçois sont filtrés par spamassassin avant de me
parvenir.




More information about the clam-users mailing list