latest compile error

Christian Couder chcouder at club-internet.fr
Sat Aug 19 13:30:38 UTC 2000


I wrote :
>  
> This problem comes from the "appwizard.ui" file which is not compiled.
> You can compile it with
> 
> uic -o appwizardbase.h appwizard.ui
> 
> to generate appwizardbase.h and then
> 
> uic -o appwizardbase.cpp -impl appwizardbase.h appwizard.ui
> 
> to generate appwizardbase.cpp
> 
> but you will perhaps get undefined references later :-(
> 
> I get the following undefined references
> 
>  kde2/lib/libDCOP.so -lSM -lICE -lICE -lqt -lpng /usr/lib/libjpeg.so
> -lXext -lX11
>  -lSM -lICE -lutil -lz -lstdc++ -lm -lc -lgcc -Wl,--rpath
> -Wl,/opt/kde2/lib
> ./../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
> `FilePropsPag
> eBase::staticMetaObject(void)'
> ./../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
> `AppWizardBas
> e type_info node'

These undefined references came from the fact that the moc was not
called for the uic generated files.

Running make again and/or applying the moc manually fixed the problem
for me.

Bye,
Christian.




More information about the KDevelop-devel mailing list