[CLAM] NetworkEditor building problems
    David García Garzón 
    dgarcia at iua.upf.edu
       
    Sat Mar 10 12:55:45 PST 2007
    
    
  
On Dissabte 10 Març 2007, Tim Blechmann wrote:
> On Sat, 2007-03-10 at 16:20 +0100, Pau Arumi wrote:
> > En/na Tim Blechmann ha escrit:
> > > ah, thanks (maybe it's possible to add a brief hint into the INSTALL
> > > file?)
> >
> > actually the hint is there (NetworkEditor/INSTALL) from last
> > week:
> > "
> >       $ scons install install_prefix=/usr/local
> > clam_prefix=/usr/local
> >
> >   if you are not using Linux/Debian (or Ubuntu) you'll need to
> > define QTDIR
> >   hint: in Fedora Core 6 use QTDIR=/usr
> > "
>
> oops ... seems that i need new glasses ...
>
> > > now a bit further:
> > > src/prototyper/PrototypeLoader.cxx: In function ‘CLAM::NetworkPlayer*
> > > CLAM::tryNetworkPlayer(const std::string&, const std::string&)’:
> > > src/prototyper/PrototypeLoader.cxx:102: error: ‘class
> > > CLAM::JACKNetworkPlayer’ has no member named ‘IsWorking’
> >
> > it seems likely that you're compiling against a not-updated clam
> > version because svn version of JACKNetworkPlayer do have a member
> > IsWorking.
> >
> > try re-installing clam. and make sure that clam_prefix used to
> > compile NetworkEditor points to the good installation path.
>
> ah, i had to rerun scons configure in CLAM/scons/libs ...
>
> i recompiled CLAM, now i'm again stuck at the NetworkEditor ...
> somewhere else, though:
>
> g++ -o src/generated/qrc_images.os -c -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 -DCLAM_FLOAT -DUSE_PTHREADS=1
> -DUSE_XERCES_TRUE -DCLAM_USE_XML -DUSE_LADSPA=1 -DUSE_FFTW=1
> -DUSE_SNDFILE=1 -DUSE_OGGVORBIS=1 -DUSE_MAD=1 -DUSE_ID3=1 -DUSE_ALSA=1
> -DUSE_JACK=1 -DUSE_PORTAUDIO=1 -DWITH_MAD=1 -DWITH_VORBIS=1 -DQT_SHARED
> -I/usr/lib/qt4/include -I//usr/local/include -I. -I/usr/local/include
> -I/usr/lib/qt4/include/qt4 -I/usr/lib/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/local/include
> -I/usr/local/include/CLAM -Isrc/clamWidgetsPlugin
> -Isrc/clamWidgetsPlugin/generated src/generated/qrc_images.cxx moc
> -I/usr/lib/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
>
> cheers ... tim
That's seems like QTDIR is not the proper one. Which linux flavor are your 
running? That folder should contain 'lib', 'bin' and 'include' folders, with 
qt4 related libraries, headers (inside folders Qt/QtCore/QtGui/...) and 
binaries. QTDIR for some platforms are:
- FC6: /usr
- Debian/Ubuntu: /usr/share/qt4 (although it should work with QTDIR undefined)
- SuSe: /usr/lib/qt4 (not completely sure of that one)
The former error (uic version) is about not finding the $QTDIR/bin dir. The 
current error is about 'moc' not finding $QTDIR/include/Qt*.
-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20070310/e8794929/attachment-0002.pgp>
    
    
More information about the clam-users
mailing list