Josh Lawrence wrote:
On 5/18/07, Robin Gareus <robin(a)gareus.org>
wrote:
% cd .../rtmix-source/
% patch -p1 < /tmp/rtmix-0.75rg.diff
#robin
robin,
thank you very much! a seperate compile error has shown up. any
ideas on this one?
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include
-DQT_THREA
D_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c main.cpp
/usr/bin/moc consolewindow.h -o consolewindow.moc
rm -f consolewindow.cpp
/usr/bin/uic -nounload -i consolewindow.h ./consolewindow.ui >
consolewindow.cpp
|| rm -f consolewindow.cpp
echo '#include "consolewindow.moc"' >> consolewindow.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include
-DQT_THREA
D_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c
consolewindow.cp
p
consolewindow.cpp: In constructor
`ConsoleWindow::ConsoleWindow(QWidget*, const
char*, uint)':
consolewindow.cpp:108: error: `spacer1' undeclared (first use this
function)
consolewindow.cpp:108: error: (Each undeclared identifier is reported
only once
for each function it appears in.)
consolewindow.cpp:540: error: `spacer2' undeclared (first use this
function)
make[3]: *** [consolewindow.o] Error 1
make[3]: Leaving directory `/mnt/hd2/1/compile/rtmix-0.75/rtmix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/hd2/1/compile/rtmix-0.75/rtmix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hd2/1/compile/rtmix-0.75'
make: *** [all-recursive-am] Error 2
zsh: exit 2 make
Seems like you're using qt4.X.X - instead of qt3.
On a debian base distro: /usr/bin/uic , /usr/bin/moc, ..
are all symbolic links to /etc/alternatives/ - see `man 8
update-alternatives`.
you can try to configure rtmix with `QT_DIR=/usr/share/qt3 ./configure`
- depending on your autoconf/automake-version this might override the
paths to the qt-tools ;)
HTH,
robin