DCOP with KDevelop

Olaf Hartig OleBowle at gmx.de
Wed Apr 4 18:10:04 UTC 2001


Hello!

I want to use DCOP with dcopidl and dcopidl2cpp in my application.

I'm using KDevelop 1.4.1 (KDE 2.1.1).
I created a new project (KDE2-mini) and added -lDCOP to 
Project->Options->"Linker Options"->"additional libraries".
For testing purposes I added the K_DCOP macro to my widget. Then I did 
Build->DistClean/RebuildAll and it always ends with the following 
errormessages:

--------
gmake[2]: Entering directory `/home/olaf/files/projects/testdcop2/testdcop2'
/bin/sh ../libtool --mode=link --tag=CXX g++  -O2 -fno-exceptions 
-fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -O0 -g3 -Wall  
 -o testdcop2 -L/usr/X11R6/lib -L/opt/qt2/lib -L/opt/kde2/lib  -R 
/opt/kde2/lib -R /opt/qt2/lib -R /usr/X11R6/lib testdcop2.o main.o 
testdcop2.moc.o testdcop2_meta_unload.o  -lDCOP -lkdeui -lkdecore -lqt -lpng 
-lz -lm -ljpeg -lXext -lX11  -lSM -lICE
g++ -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor 
-fno-builtin -O0 -g3 -Wall -o testdcop2 testdcop2.o main.o testdcop2.moc.o 
testdcop2_meta_unload.o  -L/usr/X11R6/lib -L/opt/qt2/lib -L/opt/kde2/lib 
-L/usr/lib/qt2/lib -L/usr/lib/gcc-lib/i486-suse-linux/2.95.2 
-L/usr/i486-suse-linux/lib /opt/kde2/lib/libkdeui.so 
/opt/kde2/lib/libkdecore.so /opt/kde2/lib/libkdefakes.so -ldl 
/opt/kde2/lib/libDCOP.so -lstdc++ -lc -lgcc -lqt -lpng -lz -lm 
/usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE -Wl,--rpath -Wl,/opt/kde2/lib 
-Wl,--rpath -Wl,/opt/kde2/lib -Wl,--rpath -Wl,/opt/qt2/lib -Wl,--rpath 
-Wl,/usr/X11R6/lib
testdcop2.moc.o: In function `TestDCOP2::metaObject(void) const':
/opt/qt2/include/qcstring.h(.gnu.linkonce.t.__thunk_116_process__9TestDCOP2RC8QCStringRCt6QArray1ZcR8QCStringRt6QArray1Zc+0x6): 
undefined reference to `TestDCOP2::process(QCString const &, QArray<char> 
const &, QCString &, QArray<char> &)'
/opt/qt2/include/qcstring.h(.gnu.linkonce.t.__thunk_116_interfaces__9TestDCOP2+0x6): 
undefined reference to `TestDCOP2::interfaces(void)'
/opt/qt2/include/qcstring.h(.gnu.linkonce.t.__thunk_116_functions__9TestDCOP2+0x6): 
undefined reference to `TestDCOP2::functions(void)'
collect2: ld returned 1 exit status
gmake[2]: Leaving directory `/home/olaf/files/projects/testdcop2/testdcop2'
--------

It seems dcopidl and dcopidl2cpp aren't used to create testdcop2.kidl and 
testdcop2_skel.cpp
Did I missed something?

Ole

-
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