Compiling problem

Armin amoradi at fedoraproject.org
Thu Apr 9 01:48:23 UTC 2009


On Thursday 09 April 2009 22:03:53 Jim wrote:
> FC 8
> Trying to compile a app. called inq and I keep getting this error
> message, what does it want ?
>
> # make
> /usr/bin/qmake-qt4 -unix -o MyMakefile inq.pro
> g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
> -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore
> -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork
> -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -I. -o
> devicedialog.o devicedialog.cpp
> In file included from devicedialog.cpp:4:
> helpbrowser.h:5:29: error: boost/utility.hpp: No such file or directory
> helpbrowser.h:9: error: ‘boost’ has not been declared
> helpbrowser.h:9: error: expected `{' before ‘noncopyable’
> helpbrowser.h:9: error: invalid function declaration
> devicedialog.cpp: In member function ‘void
> DeviceDialog::on_helpButton_clicked()’:
> devicedialog.cpp:29: error: incomplete type ‘HelpBrowser’ used in nested
> name specifier
> make: *** [devicedialog.o] Error 1

If you look at the error message in make, it usually gives you enough clue as 
to what you are missing.  In this case, 

> In file included from devicedialog.cpp:4:
> helpbrowser.h:5:29: error: boost/utility.hpp: No such file or directory
> helpbrowser.h:9: error: ‘boost’ has not been declared

indicates that the file 'helpbrowser.h' needs some file that is missing.  
Mostly, these missing cases are the cause of not having appropriate -devel 
packages.  Now again in this case it mentions 'boost/utility.hpp' and that 
'boost' has not been declared.  This means you don't have 'boost' package or 
more precisely, the 'boost-devel' package.  Installing it would fix this 
problem.

-- 
Armin Moradi




More information about the users mailing list