Crush wrote:Crush wrote:You will find some code::blocks project files in them. Open them and use build->build to attempt to compile them. It is very unlikely that it will work without an error because you most likely screwed something up while getting the dependencies. Post the errors you get and I can help you fixing them.
This is the build log after i tried to build the client
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\tmw client\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\animatedsprite.cpp
In file included from src\/animatedsprite.h:27,
from src\animatedsprite.cpp:24:
src\/resources/spritedef.h:32:25: libxml/tree.h: No such file or directory
In file included from src\/animatedsprite.h:27,
from src\animatedsprite.cpp:24:
src\/resources/spritedef.h:98: error: `xmlNodePtr' has not been declared
src\/resources/spritedef.h:98: error: ISO C++ forbids declaration of `node' with no type
src\/resources/spritedef.h:104: error: `xmlNodePtr' has not been declared
src\/resources/spritedef.h:104: error: ISO C++ forbids declaration of `node' with no type
src\/resources/spritedef.h:110: error: `xmlNodePtr' has not been declared
src\/resources/spritedef.h:112: error: ISO C++ forbids declaration of `animationNode' with no type
src\/resources/spritedef.h:118: error: `xmlNodePtr' has not been declared
src\/resources/spritedef.h:118: error: ISO C++ forbids declaration of `includeNode' with no type
In file included from src\animatedsprite.cpp:26:
src\/graphics.h:27:39: guichan/sdl/sdlgraphics.hpp: No such file or directory
In file included from src\animatedsprite.cpp:26:
src\/graphics.h:58: error: `gcn' has not been declared
src\/graphics.h:58: error: expected class-name before '{' token
src\/graphics.h:91: error: `gcn' has not been declared
In file included from src\animatedsprite.cpp:31:
src\/resources/image.h:29:17: SDL.h: No such file or directory
src\/resources/image.h:38:24: SDL_opengl.h: No such file or directory
In file included from src\animatedsprite.cpp:31:
src\/resources/image.h:144: error: expected `)' before "glimage"
src\/resources/image.h:155: error: `SDL_Rect' does not name a type
src\/resources/image.h:159: error: `GLuint' does not name a type
src\/resources/image.h: In member function `virtual int Image::getWidth() const':
src\/resources/image.h
error: `mBounds' undeclared (first use this function)
src\/resources/image.h
error: (Each undeclared identifier is reported only once for each function it appears in.)
src\/resources/image.h: In member function `virtual int Image::getHeight() const':
src\/resources/image.h:107: error: `mBounds' undeclared (first use this function)
src\/resources/image.h: At global scope:
src\/resources/image.h:182: error: `GLuint' has not been declared
src\/resources/image.h:183: error: ISO C++ forbids declaration of `image' with no type
In file included from src\animatedsprite.cpp:34:
src\/utils/xml.h:40: error: `xmlNodePtr' was not declared in this scope
src\/utils/xml.h:40: error: expected primary-expression before "const"
src\/utils/xml.h:40: error: expected primary-expression before "int"
src\/utils/xml.h:40: error: initializer expression list treated as compound expression
src\/utils/xml.h:46: error: `xmlNodePtr' was not declared in this scope
src\/utils/xml.h:46: error: expected primary-expression before "const"
src\/utils/xml.h:46: error: expected primary-expression before "double"
src\/utils/xml.h:46: error: initializer expression list treated as compound expression
src\/utils/xml.h:52: error: conflicting declaration 'std::string XML::getProperty'
src\/utils/xml.h:40: error: 'XML::getProperty' has a previous declaration as `int XML::getProperty'
src\/utils/xml.h:52: error: type mismatch with previous external decl of `std::string XML::getProperty'
src\/utils/xml.h:40: error: previous external decl of `int XML::getProperty'
src\/utils/xml.h:52: error: declaration of `std::string XML::getProperty'
src\/utils/xml.h:40: error: conflicts with previous declaration `int XML::getProperty'
src\/utils/xml.h:52: error: `xmlNodePtr' was not declared in this scope
src\/utils/xml.h:52: error: expected primary-expression before "const"
src\/utils/xml.h:52: error: expected primary-expression before "const"
src\/utils/xml.h:57: error: `xmlNodePtr' does not name a type
Process terminated with status 1 (0 minutes, 6 seconds)
41 errors, 0 warnings