Page 1 of 1

Can't compile QOALs patch

Posted: 10 Jul 2009, 17:00
by undecim
I downloaded the .29 source from themanaworld.org and QOALs diff from qoal.110mb.com

patched the source with "patch -p1 < ~/0029Q.diff" and successfully patched all files except winver.h and tmw.cbp (A windows specific file and the Code::Blocks project file?)

./configure works fine, but make gives the following:

Code: Select all

In file included from gui/inventorywindow.cpp:22:
./gui/inventorywindow.h:116: error: ISO C++ forbids declaration of ‘ProgressBar’ with no type
./gui/inventorywindow.h:116: error: expected ‘;’ before ‘*’ token
./gui/inventorywindow.h:117: error: ISO C++ forbids declaration of ‘ProgressBar’ with no type
./gui/inventorywindow.h:117: error: expected ‘;’ before ‘*’ token
gui/inventorywindow.cpp: In constructor ‘InventoryWindow::InventoryWindow(int)’:
gui/inventorywindow.cpp:94: error: ‘mSlotsBar’ was not declared in this scope
gui/inventorywindow.cpp:94: error: expected type-specifier before ‘ProgressBar’
gui/inventorywindow.cpp:94: error: expected ‘;’ before ‘ProgressBar’
gui/inventorywindow.cpp:95: error: ‘mWeightBar’ was not declared in this scope
gui/inventorywindow.cpp:95: error: expected type-specifier before ‘ProgressBar’
gui/inventorywindow.cpp:95: error: expected ‘;’ before ‘ProgressBar’
make[2]: *** [gui/tmw-inventorywindow.o] Error 1
make[2]: Leaving directory `/home/undecim/tmw-0.0.29q/tmw-0.0.29/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/undecim/tmw-0.0.29q/tmw-0.0.29'
make: *** [all] Error 2

Re: Can't compile QOALs patch

Posted: 10 Jul 2009, 18:40
by dino
Probably some header file is missing or could not be found.
Can you compile tmw without the patch?

And what is the patch doing anyway? Really strange page this qoal.110mb.com ....
Had a quick glance at the diff it seems to add some statistics? Cool! :)

But seems to change a lot other stuf as well.