Can't compile QOALs patch

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
undecim
Peon
Peon
Posts: 47
Joined: Sat Jun 06, 2009 3:09 am

Can't compile QOALs patch

Post by undecim » Fri Jul 10, 2009 6:00 pm

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
"I think, therefore I exist" is a flawed logic. If the universe were a function, any mathematician could graph our synapses.
Just as the sine wave resonates and e^x is its own derivative, we need be only an idea to do anything at all.
dino
Peon
Peon
Posts: 5
Joined: Thu Jul 09, 2009 2:58 pm

Re: Can't compile QOALs patch

Post by dino » Fri Jul 10, 2009 7:40 pm

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.
Post Reply