Graphic trouble,

Ask for help regarding any technical issue or report any bug or OS independent issues.
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Graphic trouble,

Post by eaumer »

It look like Tmw can't run with the latest version.

I am windows user
[/img]
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

You see? This version has trouble. I have installed tmw-svn but there's bug.
plz Help.


Image
User avatar
twilight
Peon
Peon
Posts: 47
Joined: 28 Aug 2007, 23:35
Location: Early, Iowa, USA
Contact:

Post by twilight »

I used to have that problem. I'm not sure how it was fixed. It seemed to fix itself one day. Not sure when either. I just quit going back to the starter town. It is kinda annoying though. :|
Characters:
Twilight - Main
lvl 5x Hybrid Close/Range
Geshtar - Alt
lvl 3x Pure Range
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

eaumer wrote:You see? This version has trouble. I have installed tmw-svn but there's bug.
plz Help.


Image
You are obviously using an old version of the map with a new version of the graphics the map is using.
  • 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.
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

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


:roll:
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

I have downloaded the latest version of tmw!!!
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

But you didn't download and install the necessary libraries:
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.
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

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.
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

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
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

That's another problem which unfortunately isn't fixed yet. Try to add the following line at the top of gui.h file:

#undef DELETE
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

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
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

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!
:roll:

thanks for your help
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

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.
  • 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.
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

IIRC it should be in MinGW runtime package
User avatar
eaumer
Novice
Novice
Posts: 51
Joined: 09 Nov 2007, 14:17

Post by eaumer »

there is two files : which one? i386 or independant plateforme?

:roll:
Post Reply