Philippe BERNERY wrote:
Le 27 avr. 07 à 15:55, Luigi Bancaro a écrit :
You didn't gave me the link command but a compile one. Can you
copy/paste a part of the undefined ref. you got.
--
Philippe BERNERY <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>>
http://dev.openwengo.org
C:\eclipse\workspace\callOWP\bin>g++ -I/Qt/4.1.2/include
-I/Qt/4.1.2/include/QtGui -I/wengophone-2.1/libs/owwebcam/include
-I/wengophone-2.1/libs/owutil
-I/wengophone-2.1/libs/owpixertool/include -I/Qt/4.1.2/include/QtCore
webcam_test.cpp
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x154):
undefined reference to `_imp___ZN6QImage4bitsEv'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x188):
undefined reference to `_imp___ZN7QWidget6updateEv'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x1fd):
undefined reference to `_imp___ZN8QPainterC1EP12QPaintDevice'
...
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x458):
undefined reference to `webcam_add_callback'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x475):
undefined reference to `webcam_set_device'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x4b3):
undefined reference to `webcam_set_palette'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x4d1):
undefined reference to `webcam_set_resolution'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x524):
undefined reference to
`_imp___ZN7QWidget14setWindowTitleERK7QString'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x587):
undefined reference to `webcam_get_fps'
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text+0x59b):
undefined reference to `webcam_get_height'
....
C:\DOCUME~1\Gigi\IMPOST~1\Temp/ccoRaaaa.o:webcam_test.cpp:(.text$_ZN7QStringC1EPKc[QString::QString(char
const*)]+0x80): undefined reference to `_imp___ZN7QStringaSERKS_'
collect2: ld returned 1 exit status
Qt and owwebcam are missing at link stage. Do you use CMake to build
the test program?
--
Philippe BERNERY <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
http://dev.openwengo.org
No. I don't know how to use it!
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel