Problems with compiling cvs

sacx at ylabs.com sacx at ylabs.com
Thu May 16 09:06:14 BST 2002



Take a look in kdevelop/lib/interfaces/kdevpartcontroller.(c & h) too see
how the setServiceType function is declared and add the definition in
partcontroller.h

After this add by hand a empty function setServiceType in class
PartController from  partcontroler.cpp (do not copy the function from
kdevpartcontroller.cpp !)

Now kdevelop is in hard development ... is possible to work or NOT !

On Wed, 15 May 2002, Pascal Francq wrote:

> Hi,
>
> When I try to compile the cvs of kdevelop/gideon, I have the following error:
>
> make[3]: Entering directory `/home/src/kdevelop/kdevelop'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/qextmdi/include -I../kdevelop/ctags -I../kdevelop/kpp -I../kdevelop/kpp -I../lib/interfaces -I../lib/sourceinfo -I../lib/util -I../lib/structure -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  -c partcontroller.cpp
> partcontroller.cpp: In function `void PartController::createInstance(QWidget *)':
> partcontroller.cpp:84: cannot allocate an object of type `PartController'
> partcontroller.cpp:84:   since the following virtual functions are abstract:
> ../lib/interfaces/kdevpartcontroller.h:17:      void KDevPartController::setServiceType (const QString &)
> partcontroller.cpp: In method `void PartController::showDocument (const KURL &, int)':
> partcontroller.cpp:101: warning: unused parameter `const KURL &url'
> partcontroller.cpp:101: warning: unused parameter `int lineNum'
> make[3]: *** [partcontroller.o] Error 1
> make[3]: Leaving directory `/home/src/kdevelop/kdevelop'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/src/kdevelop/kdevelop'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/src/kdevelop'
> make: *** [all-recursive-am] Error 2
>
> I suppose something is wrong in my configuration, but what?
>


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list