discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Compiling GNU Radio - Debian unstable


From: Guillaume Leclanche
Subject: [Discuss-gnuradio] Compiling GNU Radio - Debian unstable
Date: Thu, 10 Apr 2003 22:25:04 +0200
User-agent: KMail/1.5.1

I encountered many issues, and I've reached a threshold, I now have only a 
pure compilation issue ;-) It's like an assault course.

Here is my experience:

At first I downloaded the CVS, from which i didn't manage to extract a clean 
configure script, therefore I gave up and downloaded 0.7.

My first trial was to find the right versiion of Qt for the configure test. 
I tested many, and many combination of dirs, and in the end, it became 
obvious that QT3 was necessary, because the moc refuses to compile the 
software if you use QT2 libs.

I had also an error that held me some days wondering what I could do, until 
I understood that the includes in some GNU Radio Qt files were very old 
files (Qt1 headers ?). I downloaded the source package of libqt2-dev, and i 
found inside it a dir names "compat", which was containing every missing 
file I needed. I copied them inside my /usr/include/qt3, and there I went 
further :-)

Now, I have an error generated by the moc, that is:

c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -DUSE_LIBGXX_INLINES -D_REENTRANT 
-DPARANOID=1 -DCACHESIZE=262144 -I../../../../src/gnu/lib/gr 
-I../../../../src/gnu/lib/grio -I../../../../src/gnu/lib/grgui 
-I../../../../src/gnu/lib/dtv -I../../../../src/pspectra/lib/vr 
-I../../../../src/pspectra/lib/vrp -I../../../../src/pspectra/lib/vrio 
-I../../../../src/pspectra/lib/vrgui -I/usr/include/qt3 -g -O2 -Wall 
-Woverloaded-virtual -c moc_VrGUI_int.cc -o moc_VrGUI_int.o
moc_VrGUI_int.cc: In static member function `static QString
   VrGUICallback::tr(const char*, const char*)':
moc_VrGUI_int.cc:33: `qApp' undeclared (first use this function)
moc_VrGUI_int.cc:33: (Each undeclared identifier is reported only once for 
each
   function it appears in.)
moc_VrGUI_int.cc:34: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrGUICallback::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:42: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
moc_VrGUI_int.cc: In static member function `static QString
   VrLogoFrame::tr(const char*, const char*)':
moc_VrGUI_int.cc:122: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrLogoFrame::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:130: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
moc_VrGUI_int.cc: In static member function `static QString
   VrPlotPixFrame::tr(const char*, const char*)':
moc_VrGUI_int.cc:270: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrPlotPixFrame::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:278: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
moc_VrGUI_int.cc: In static member function `static QString VrPlot::tr(const
   char*, const char*)':
moc_VrGUI_int.cc:415: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrPlot::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:423: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
moc_VrGUI_int.cc: In static member function `static QString
   VrArrowButton::tr(const char*, const char*)':
moc_VrGUI_int.cc:488: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrArrowButton::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:496: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
moc_VrGUI_int.cc: In static member function `static QString 
VrCounter::tr(const
   char*, const char*)':
moc_VrGUI_int.cc:573: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrCounter::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:581: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
moc_VrGUI_int.cc: In static member function `static QString 
VrSlider::tr(const
   char*, const char*)':
moc_VrGUI_int.cc:676: incomplete type `QApplication' does not have member `
   DefaultCodec'
moc_VrGUI_int.cc: In static member function `static QString
   VrSlider::trUtf8(const char*, const char*)':
moc_VrGUI_int.cc:684: incomplete type `QApplication' does not have member `
   UnicodeUTF8'
make[5]: *** [moc_VrGUI_int.lo] Erreur 1
make[5]: Leaving directory `/root/gnuradio-0.7/src/pspectra/lib/vrgui'
make[4]: *** [all-recursive] Erreur 1
make[4]: Leaving directory `/root/gnuradio-0.7/src/pspectra/lib'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/root/gnuradio-0.7/src/pspectra'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/root/gnuradio-0.7/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/root/gnuradio-0.7'
make: *** [all-recursive-am] Erreur 2




I have joined to the mail my config.cache file, if you need any other data, 
ask :)

Guillaume.

Attachment: config.cache
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]