[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freecycle-users] Re: compile fails due missing include files with freec
From: |
Frieder Bürzele |
Subject: |
[Freecycle-users] Re: compile fails due missing include files with freecycle-cvs- from 2006-28-01 |
Date: |
Wed, 01 Feb 2006 00:13:42 +0100 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
thx for your reply,
so indeed i uic quits with Unrecognized options due to problem determine
the right qt version.
I have installed qt-4 parallel with qt-3.
So first I tried to call the qt3 qmake with:
/usr/qt/3/bin/qmake freecycle.pro -spec /usr/qt/3/mkspecs/linux-g++/
-cache /usr/qt/3/.qmake.cache
but it fails after execution make with above mentioned uic "Unrecognized
options" error
----------error-message-----------
cd src && qmake src.pro -spec /usr/qt/3/mkspecs/linux-g++/ -o Makefile
Qt user interface compiler.
uic: Unrecognized option
Usage: /usr/qt/3/bin/uic [options] [mode] <uifile>
Generate declaration:
/usr/qt/3/bin/uic [options] <uifile>
Generate implementation:
/usr/qt/3/bin/uic [options] -impl <headerfile> <uifile>
<headerfile> name of the declaration file
Generate image collection:
/usr/qt/3/bin/uic [options] -embed <project> <image1> <image2>
<image3> ...
or
/usr/qt/3/bin/uic [options] -embed <project> -f <temporary file
containing image names>
<project> project name
<image[1-N]> image files
[...]
after greping through the sourcecode I saw that freecycle/src/Makefile
included some files from the qt-4 installation and that it was generated
with "qmake (2.00a) (Qt 4.1.0)".
freecycle/Makefile instead was generated with the right qmake (1.07a)
(Qt 3.3.4).
So is there a way to tell qmake which version of qt it should take? Are
there some environment-variables?
Finally after removing qt-4 it compiles fine. But with enabled
soundtouch in src/conf.pri it fails again, so which version of
soundtouch is needed?
with version 1.3.0 I got:
/usr/qt/3/bin/uic FFTDialogBase.ui -o FFTDialogBase.h
/usr/qt/3/bin/uic AmpDomainDialogBase.ui -o AmpDomainDialogBase.h
/usr/qt/3/bin/uic ladspadialogbase.ui -o ladspadialogbase.h
/usr/qt/3/bin/uic MidiConfigDialogBase.ui -o MidiConfigDialogBase.h
g++ -c -pipe -w -march=athlon-xp -mtune=athlon-xp -pipe -O2
-D_REENTRANT -DHAS_JACK -DHAS_AUBIO -DHAS_SOUNDTOUCH -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/qt/3/mkspecs/linux-g++ -I. -I../src -I/usr/qt/3/include -o
freecycle.o freecycle.cpp
/usr/include/soundtouch/SoundTouch.h:162: error: extra qualification
»soundtouch::SoundTouch::« on member »getVersionId«
make[1]: *** [freecycle.o] error 1
make[1]: Leaving directory
`/var/tmp/portage/freecycle-0.51a/work/freecycle/src'make: *** [sub-src]
error 2
thx in advance
Frieder
Viceic Predrag wrote:
Hi Frieder,
It seems that the uic doesn't get executed on your system. When you launch
qmake it invokes, among other things, the uic preprocessor which parses the
gui xml files and generates the c++ code.
Please check that you have uic binary installed on your system and symlink it
to where qmake expects to find it (check the output messages)
(/usr/lib/qt3/bin/uic on SuSE)
Don't hesitate to comme back if something goes wrong :)
Cheers,
Predrag
Le Mardi 31 Janvier 2006 14:12, vous avez écrit :
Hi,
I have problems to compile freecycle-0.51a and also freecycle-cvs
checkout from 2006-28-01. All the time I missing some include files.
A quick search with google gives nothing.
so where can I get files like:
- ladspadialogbase.h
- FFTDialogBase.h
- AmpDomainDialogBase.h
- AlsaConfigDialogBase.h
... and more
so where could I get those files?
thx
Frieder
PS please CC me