[Kde-games-devel] Troubles with porting kdereview/mancala to KgDifficulty
Yuri Chornoivan
yurchor at ukr.net
Tue Jul 17 14:22:29 UTC 2012
Hi,
I am trying (just for fun) to port Mancala to KgDifficulty.
It compiles and works as expected if ported without conditional statements
and the old code from KGameDifficulty. But with conditionals (#ifdef) it
refuses to compile:
CMakeFiles/mancala.dir/MainWindow.o: In function
`MainWindow::setupActions()':
MainWindow.cpp:(.text+0x1377): undefined reference to
`KGameDifficulty::init(KXmlGuiWindow*, QObject const*, char const*, char
const*)'
Where did I go wrong?
Attached is the patch with the changes.
Thanks in advance for your advices.
Best regards,
Yuri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: port.patch
Type: application/octet-stream
Size: 3980 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20120717/6ce8d821/attachment.obj>
More information about the kde-games-devel
mailing list