Graphic trouble,
Graphic trouble,
It look like Tmw can't run with the latest version.
I am windows user
[/img]
I am windows user
[/img]
You are obviously using an old version of the map with a new version of the graphics the map is using.eaumer wrote:You see? This version has trouble. I have installed tmw-svn but there's bug.
plz Help.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
It must something like you say, but how to debugg???
I tried to compile with code::blocks and i have got some errors.
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\tmw svn\
--------------------------------------------------------------------------------
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 C:/Program Files/CodeBlocks/tmw-svn/include/SDL/SDL_main.h:26,
from C:/Program Files/CodeBlocks/tmw-svn/include/SDL/SDL.h:28,
from src\/resources/image.h:29,
from src\animatedsprite.cpp:31:
C:/Program Files/CodeBlocks/tmw-svn/include/SDL/SDL_stdinc.h:72:20: iconv.h: No such file or directory
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, 14 seconds)
32 errors, 0 warnings
I tried to compile with code::blocks and i have got some errors.
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\tmw svn\
--------------------------------------------------------------------------------
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 C:/Program Files/CodeBlocks/tmw-svn/include/SDL/SDL_main.h:26,
from C:/Program Files/CodeBlocks/tmw-svn/include/SDL/SDL.h:28,
from src\/resources/image.h:29,
from src\animatedsprite.cpp:31:
C:/Program Files/CodeBlocks/tmw-svn/include/SDL/SDL_stdinc.h:72:20: iconv.h: No such file or directory
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, 14 seconds)
32 errors, 0 warnings
But you didn't download and install the necessary libraries:
http://wiki.themanaworld.org/index.php/ ... on_Windows
http://wiki.themanaworld.org/index.php/ ... on_Windows
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
I did!!!
but i think i meet problems to install them in the correct place.
When you are using another IDE that uses MinGW as a compiler (like Code::Blocks or Eclipse with CDT) you can still use our DevPak. Just rename it to a .tar.bz2 archive and open it with an unpacker that is able to handle bzip2 files (like 7Zip, for example) and extract the individual files to a location where your IDE finds them.
but i think i meet problems to install them in the correct place.
When you are using another IDE that uses MinGW as a compiler (like Code::Blocks or Eclipse with CDT) you can still use our DevPak. Just rename it to a .tar.bz2 archive and open it with an unpacker that is able to handle bzip2 files (like 7Zip, for example) and extract the individual files to a location where your IDE finds them.
less errors but the same problem with old maps and new version of the graphics.
I post a log, if some has got an idea.
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\TMW svn\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\localplayer.cpp
In file included from C:/Program Files/CodeBlocks/include/guichan/keyevent.hpp:61,
from C:/Program Files/CodeBlocks/include/guichan/gui.hpp:62,
from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/key.hpp:128: error: expected identifier before numeric constant
C:/Program Files/CodeBlocks/include/guichan/key.hpp:128: error: expected `}' before numeric constant
C:/Program Files/CodeBlocks/include/guichan/key.hpp:128: error: expected unqualified-id before numeric constant
C:/Program Files/CodeBlocks/include/guichan/key.hpp:160: error: expected unqualified-id before "protected"
C:/Program Files/CodeBlocks/include/guichan/key.hpp:160: error: expected `,' or `;' before "protected"
C:/Program Files/CodeBlocks/include/guichan/key.hpp:163: error: expected declaration before '}' token
In file included from C:/Program Files/CodeBlocks/include/guichan/keyevent.hpp:61,
from C:/Program Files/CodeBlocks/include/guichan/gui.hpp:62,
from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/key.hpp:57:1: unterminated #ifndef
In file included from C:/Program Files/CodeBlocks/include/guichan/gui.hpp:62,
from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/keyevent.hpp:57:1: unterminated #ifndef
In file included from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/gui.hpp:57:1: unterminated #ifndef
In file included from src\localplayer.cpp:38:
src\/gui/gui.h:24:1: unterminated #ifndef
Process terminated with status 1 (0 minutes, 5 seconds)
10 errors, 0 warnings
I post a log, if some has got an idea.
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\TMW svn\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\localplayer.cpp
In file included from C:/Program Files/CodeBlocks/include/guichan/keyevent.hpp:61,
from C:/Program Files/CodeBlocks/include/guichan/gui.hpp:62,
from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/key.hpp:128: error: expected identifier before numeric constant
C:/Program Files/CodeBlocks/include/guichan/key.hpp:128: error: expected `}' before numeric constant
C:/Program Files/CodeBlocks/include/guichan/key.hpp:128: error: expected unqualified-id before numeric constant
C:/Program Files/CodeBlocks/include/guichan/key.hpp:160: error: expected unqualified-id before "protected"
C:/Program Files/CodeBlocks/include/guichan/key.hpp:160: error: expected `,' or `;' before "protected"
C:/Program Files/CodeBlocks/include/guichan/key.hpp:163: error: expected declaration before '}' token
In file included from C:/Program Files/CodeBlocks/include/guichan/keyevent.hpp:61,
from C:/Program Files/CodeBlocks/include/guichan/gui.hpp:62,
from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/key.hpp:57:1: unterminated #ifndef
In file included from C:/Program Files/CodeBlocks/include/guichan/gui.hpp:62,
from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/keyevent.hpp:57:1: unterminated #ifndef
In file included from src\/gui/gui.h:27,
from src\localplayer.cpp:38:
C:/Program Files/CodeBlocks/include/guichan/gui.hpp:57:1: unterminated #ifndef
In file included from src\localplayer.cpp:38:
src\/gui/gui.h:24:1: unterminated #ifndef
Process terminated with status 1 (0 minutes, 5 seconds)
10 errors, 0 warnings
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
It makes no difference. Maybe I didn't add in the right place...
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\TMW svn\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\animatedsprite.cpp
Compiling: src\animationparticle.cpp
Compiling: src\being.cpp
In file included from src\being.cpp:41:
src\/gui/gui.h:24:2: invalid preprocessing directive #undefDELETE
Process terminated with status 1 (0 minutes, 15 seconds)
1 errors, 0 warnings
Project : The Mana World
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Program Files\TMW svn\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\animatedsprite.cpp
Compiling: src\animationparticle.cpp
Compiling: src\being.cpp
In file included from src\being.cpp:41:
src\/gui/gui.h:24:2: invalid preprocessing directive #undefDELETE
Process terminated with status 1 (0 minutes, 15 seconds)
1 errors, 0 warnings
oups, i forgot space!!!
Compiling: src\log.cpp
src\log.cpp: In member function `void Logger::log(const char*, ...)':
src\log.cpp:78: error: `gettimeofday' undeclared (first use this function)
src\log.cpp:78: error: (Each undeclared identifier is reported only once for each function it appears in.)
Process terminated with status 1 (2 minutes, 34 seconds)
2 errors, 0 warnings
still the same trouble!
thanks for your help
Compiling: src\log.cpp
src\log.cpp: In member function `void Logger::log(const char*, ...)':
src\log.cpp:78: error: `gettimeofday' undeclared (first use this function)
src\log.cpp:78: error: (Each undeclared identifier is reported only once for each function it appears in.)
Process terminated with status 1 (2 minutes, 34 seconds)
2 errors, 0 warnings
still the same trouble!
thanks for your help
No, not the same trouble. Your IDE is using an outdated version of the MinGW compiler.
Download the newest version on http://www.mingw.org/download.shtml and replace it. I think the only package that you really need is "MinGW API for MS-Windows". But updating GCC, Make, Binutils and the MinGW runtime wouldn't hurt either.
Download the newest version on http://www.mingw.org/download.shtml and replace it. I think the only package that you really need is "MinGW API for MS-Windows". But updating GCC, Make, Binutils and the MinGW runtime wouldn't hurt either.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact: