[Interest] undefined reference to xxx error

Vincent Cai wcai at cypress.com
Wed Jan 18 09:54:14 CET 2012


Dear all,

         My project report errors during link stage.

         Issue Description, please also refer to attached pro file.
#####################################################################
#Error on this line
#(1) if comment below line, error occurs
#(2) if assign TARGET with AppGui, error occurs
#(3) if assign TARGET with name not equal to AppGui, error disappear
TARGET = AppGui

         Error Info:
./debug\mainwindow.o: In function `MainWindow':
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:11: undefined reference to `QSerialUI::QSerialUI(QWidget*)'
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:12: undefined reference to `QSerialUI::Initialization()'
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:11: undefined reference to `QSerialUI::QSerialUI(QWidget*)'
E:\wcai_perforce\LTS_R3\CFT members\WCAI\Projects\TSA\Qt\TSA_IDE\TSA_Data\UART\AppGui/mainwindow.cpp:12: undefined reference to `QSerialUI::Initialization()'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [build\debug\exe\AppGui.exe] Error 1
mingw32-make[1]: *** [debug] Error 2
mingw32-make: *** [sub-AppGui-make_default] Error 2

Thanks,
Vincent.

________________________________
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120118/80403b1b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AppGui.pro
Type: application/octet-stream
Size: 1113 bytes
Desc: AppGui.pro
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120118/80403b1b/attachment.obj>


More information about the Interest mailing list