Tim, Serghei,
I ran into another constructor error on kpowersave in countdown_Dialog.cpp. This one isn't quite the same as the normal class::class problem (the error looks the same, but the code doesn't)
Here is the error:
[ 14%] Building CXX object src/CMakeFiles/kdeinit_kpowersave-shared.dir/countdown_Dialog.cpp.o cd /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src && /usr/bin/c++ -Dkdeinit_kpowersave_shared_EXPORTS -DHAVE_CONFIG_H -DUSE_QT3 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -fPIC -I/home/david/tblds/trinity-app-kpowersave/src/kpowersave/src -I/home/david/tblds/trinity-app-kpowersave/src/kpowersave -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -o CMakeFiles/kdeinit_kpowersave-shared.dir/countdown_Dialog.cpp.o -c /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp: In constructor ‘countdown_Dialog::countdown_Dialog(QWidget*, const char*, bool, Qt::WFlags)’: /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:170:54: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:171:16: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:171:115: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:172:16: error: invalid use of incomplete type ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialog.cpp:174:73: error: no matching function for call to ‘QGridLayout::addMultiCellWidget(KProgress*&, int, int, int, int)’ /opt/qt/include/qlayout.h:332:10: note: candidate is: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int) make[2]: *** [src/CMakeFiles/kdeinit_kpowersave-shared.dir/countdown_Dialog.cpp.o] Error 1 make[2]: Leaving directory `/home/david/tblds/trinity-app-kpowersave/src/kpowersave' make[1]: *** [src/CMakeFiles/kdeinit_kpowersave-shared.dir/all] Error 2 make[1]: Leaving directory `/home/david/tblds/trinity-app-kpowersave/src/kpowersave' make: *** [all] Error 2 Aborting...
Dunno what changed, it was building fine a day or two ago :)
On Wednesday 16 March 2011 18:37:58 David C. Rankin wrote:
Tim, Serghei,
I ran into another constructor error on kpowersave in countdown_Dialog.cpp. This one isn't quite the same as the normal class::class problem (the error looks the same, but the code doesn't)
Here is the error:
[...]
/home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialo g.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialo g.cpp:174:73: error: no matching function for call to ‘QGridLayout::addMultiCellWidget(KProgress*&, int, int, int, int)’ /opt/qt/include/qlayout.h:332:10: note: candidate is: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int) make[2]: ***
[...]
Attach here "countdown_Dialog.cpp" and "countdown_Dialog.h"
On 03/16/2011 12:01 PM, Serghei Amelian wrote:
On Wednesday 16 March 2011 18:37:58 David C. Rankin wrote:
Tim, Serghei,
I ran into another constructor error on kpowersave in
countdown_Dialog.cpp. This one isn't quite the same as the normal class::class problem (the error looks the same, but the code doesn't)
Here is the error:
[...]
/home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialo g.h:23:7: error: forward declaration of ‘struct KProgress’ /home/david/tblds/trinity-app-kpowersave/src/kpowersave/src/countdown_Dialo g.cpp:174:73: error: no matching function for call to ‘QGridLayout::addMultiCellWidget(KProgress*&, int, int, int, int)’ /opt/qt/include/qlayout.h:332:10: note: candidate is: void QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int) make[2]: ***
[...]
Attach here "countdown_Dialog.cpp" and "countdown_Dialog.h"
Thanks Serghei,
It must just be on this one box. I'll try deleting the files and having them pulled back in on svn up. I just tried it on another box and everything worked fine, so I suspect this is just something strange with my copy of kpowersave. I'll report back. (box is at home and I'm at the office right now :)
On Wednesday 16 March 2011 20:08:33 David C. Rankin wrote: [...]
Thanks Serghei,
It must just be on this one box. I'll try deleting the files and having them pulled back in on svn up. I just tried it on another box and everything worked fine, so I suspect this is just something strange with my copy of kpowersave. I'll report back. (box is at home and I'm at the office right now :)
In any case is something related to uic. You have /opt/trinity/lib/kde3/plugins/designer/kdewidgets.so ?
On 03/16/2011 01:16 PM, Serghei Amelian wrote:
On Wednesday 16 March 2011 20:08:33 David C. Rankin wrote: [...]
Thanks Serghei,
It must just be on this one box. I'll try deleting the files and having
them pulled back in on svn up. I just tried it on another box and everything worked fine, so I suspect this is just something strange with my copy of kpowersave. I'll report back. (box is at home and I'm at the office right now :)
In any case is something related to uic. You have /opt/trinity/lib/kde3/plugins/designer/kdewidgets.so ?
Dunno what it was?? Deleted everything and started the build again and it finished fine :)