Hi I'm trying to compile using codeblocks and I've added all the directories with the lib and include and dll and all I get is this 1 error that I can't figure out what to do to fix it:
C:\Documents and Settings\Nooblets\Desktop\tmw\src\gui\button.cpp||In member function `void Button::init()':|
C:\Documents and Settings\Nooblets\Desktop\tmw\src\gui\button.cpp|85|error: `setFrameSize' was not declared in this scope|
C:\Documents and Settings\Nooblets\Desktop\tmw\src\gui\button.cpp|85|warning: unused variable 'setFrameSize'|
||=== Build finished: 1 errors, 1 warnings ===|
Which version of codeblocks and mingw are you using?
The latest stable version of codeblocks is of the 28 Feb 2008, so it's obsolete.
You should download one of the nightly builds, but they, as nightly builds, aren't really stable.
Yeah I was testing and commented out that one line then after compiling again there are tons of other things that probably still would need to fix after I figured this one out. So I probably need new version of guichan? I just used what was in the devpack and also what was in the lib pack download. Those don't have current up to date?
Nooblets wrote:Yeah I was testing and commented out that one line then after compiling again there are tons of other things that probably still would need to fix after I figured this one out. So I probably need new version of guichan? I just used what was in the devpack and also what was in the lib pack download. Those don't have current up to date?
Ok I downloaded the lib pack you posted and updated the directories and now it seems to work but i get this 1 error now. If anyone knows what it is from:
However your codeblock version is really old. You should download a nightly build. There is a nightly build of 21 July 2009, instead your version is of 28 february 2008...
I think also your MinGW is old, there is gcc-4.4 now, you should use this
libenet.a is in the folder where i extracted the tmw_libs and the codeblocks lib folder. I tried adding both to search directories but still get the same error.