[Clam-devel] Problem compiling the network editor

Pau Arumí parumi at iua.upf.edu
Mon Apr 7 13:46:29 PDT 2008


On dl, 2008-04-07 at 22:37 +0200, Greg Kellum wrote:
> Hi all,
> 
> I was trying to build and install the NetworkEditor from scratch
> tonight, and I had a problem compiling it.  It complained that it
> couldn't find certain Qt header files even though it included the
> correct paths to the Qt directories in its compile statement.  I'm
> sure I've done something stupid here, but I'm not sure what...  Does
> this error look familiar to anyone?
> 
> Best,
> Greg
> 
> 
> mare:NetworkEditor greg$ scons prefix=/usr/local/
> clam_prefix=/usr/local/ verbose=true
> scons: Reading SConscript files ...
> Loading nsis tool...
> Loading Bundle tool
> Lodading dmg tool...
> Version:  1.2.1
> Package version:  1.2.1~svn11289
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o src/main.o -c -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_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/usr/local/include -I/opt/local/include
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtCore
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtGui
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtOpenGL
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtXml
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtSvg
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtUiTools
> -I/usr/local/Trolltech/Qt-4.2.2/include/qt4/QtDesigner -Isrc
> -Isrc/generated -Isrc/processing -Isrc/processing/SampleBySample
> -Isrc/prototyper -Isrc/monitors -Isrc/monitors/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
> ... and so on...


Yes, it seems absolutely strange. 
I'd try to compile a minimal cxx that includes QApplication.

(In my Mac i use ports qt4 which installs in /opt but this doesn't seem
relevant because you includes looks good)

Pau








More information about the clam-devel mailing list