Missing files in tmw source (windows compilation)

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
KaTSuo
Novice
Novice
Posts: 53
Joined: 25 Sep 2005, 19:01
Location: France
Contact:

Missing files in tmw source (windows compilation)

Post by KaTSuo »

Hi!
I've some errors when I try to compile tmw 0.0.18.1 in windows (even if I've followed all the docs/INSTALL/win32.txt file and downloaded the latest CVS...).

Code: Select all

Compilateur: Default compiler
Building Makefile: "G:\Rémi\RPG Maker\TheManaWorld\tmw-0.0.18.1-cvs\tmw\Makefile.win"
Exécution de  make...
make.exe -f "G:\Rémi\RPG Maker\TheManaWorld\tmw-0.0.18.1-cvs\tmw\Makefile.win" all
g++.exe -D__DEBUG__ -c src/being.cpp -o obj/being.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -DUSE_OPENGL   -w -fexceptions -fexpensive-optimizations -O3 -g3 -fmessage-length=0 -mmmx

In file included from src/being.cpp:24:
src/being.h:29:23: SDL_types.h: No such file or directory
In file included from src/being.cpp:24:
src/being.h:84: error: `Uint16' does not name a type
src/being.h:85: error: `Uint16' does not name a type
src/being.h:86: error: `Uint8' does not name a type
src/being.h:87: error: `Uint8' does not name a type
src/being.h:88: error: `Uint8' does not name a type
src/being.h:89: error: `Sint32' does not name a type
src/being.h:90: error: `Uint16' does not name a type
src/being.h:91: error: `Uint8' does not name a type
src/being.h:92: error: `Uint8' does not name a type
src/being.h:94: error: `Uint16' does not name a type
src/being.h:114: error: variable or field `setDestination' declared void
src/being.h:114: error: expected `;' before '(' token
src/being.h:123: error: `Uint32' has not been declared
src/being.h:123: error: ISO C++ forbids declaration of `time' with no type
src/being.h:132: error: variable or field `setDamage' declared void
src/being.h:132: error: expected `;' before '(' token
src/being.h:152: error: variable or field `setHairColor' declared void
src/being.h:152: error: expected `;' before '(' token
src/being.h:157: error: `Uint16' does not name a type
src/being.h:164: error: variable or field `setHairStyle' declared void
src/being.h:164: error: expected `;' before '(' token
src/being.h:169: error: `Uint16' does not name a type
src/being.h:188: error: `Sint32' has not been declared
src/being.h:188: error: `Sint32' has not been declared
src/being.h:188: error: ISO C++ forbids declaration of `offsetX' with no type

src/being.h:188: error: ISO C++ forbids declaration of `offsetY' with no type
src/being.h:198: error: `Uint16' does not name a type
src/being.h:206: error: variable or field `setWeapon' declared void
src/being.h:206: error: expected `;' before '(' token
src/being.h:213: error: expected `;' before "void"
src/being.h:214: error: variable or field `setWeaponById' declared void
src/being.h:214: error: expected `;' before '(' token
src/being.h:219: error: `Uint16' does not name a type
src/being.h:226: error: variable or field `setWalkSpeed' declared void
src/being.h:226: error: expected `;' before '(' token
src/being.h:231: error: expected `;' before "Uint32"
src/being.h:231: error: `Uint32' does not name a type
src/being.h:238: error: variable or field `setId' declared void
src/being.h:238: error: expected `;' before '(' token
src/being.h:243: error: expected `;' before "void"
src/being.h:251: error: `Sint32' has not been declared
src/being.h:251: error: `Sint32' has not been declared
src/being.h:251: error: ISO C++ forbids declaration of `offsetX' with no type
src/being.h:251: error: ISO C++ forbids declaration of `offsetY' with no type
src/being.h:286: error: `Uint32' does not name a type
src/being.h:287: error: `Uint16' does not name a type
src/being.h:288: error: `Uint16' does not name a type

src/being.h:296: error: `Uint16' does not name a type
src/being.h:297: error: `Uint32' does not name a type
src/being.h:298: error: `Uint32' does not name a type
src/being.h:300: error: `Sint32' does not name a type
src/being.h: In member function `int Being::getPixelX() const':
src/being.h:257: error: `mPx' undeclared (first use this function)
src/being.h:257: error: (Each undeclared identifier is reported only once for each function it appears in.)
src/being.h: In member function `virtual int Being::getPixelY() const':
src/being.h:265: error: `mPy' undeclared (first use this function)
src/being.h: At global scope:
src/being.h:307: error: `Uint32' was not declared in this scope
src/being.h:313: error: redefinition of `Being*findNode'
src/being.h:307: error: `Being*findNode' previously defined here

src/being.h:313: error: `Uint16' was not declared in this scope
src/being.h:313: error: `Uint16' was not declared in this scope
src/being.h:319: error: redefinition of `Being*findNode'
src/being.h:307: error: `Being*findNode' previously defined here
src/being.h:319: error: `Uint16' was not declared in this scope
src/being.h:319: error: `Uint16' was not declared in this scope

src/being.h:319: error: expected primary-expression before "type"
src/being.h:325: error: `Uint32' was not declared in this scope
src/being.h:325: error: `Uint16' was not declared in this scope
src/being.h:325: error: expected primary-expression before '*' token
src/being.h:325: error: `map' was not declared in this scope
src/being.h:325: error: initializer expression list treated as compound expression

In file included from src/graphics.h:27,
                 from src/being.cpp:30:
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:61:17: SDL.h: No such file or directory
In file included from src/graphics.h:27,
                 from src/being.cpp:30:
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:92: error: variable or field `setTarget' declared void
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:92: error: `setTarget' declared as a `virtual' field
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:92: error: expected `;' before '(' token
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:99: error: ISO C++ forbids declaration of `SDL_Surface' with no type
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:99: error: `SDL_Surface' declared as a `virtual' field
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:99: error: expected `;' before '*' token
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:108: error: variable or field `drawSDLSurface' declared void
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:108: error: `drawSDLSurface' declared as a `virtual' field

C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:108: error: expected `;' before '(' token
C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:157: error: ISO C++ forbids declaration of `SDL_Surface' with no type

C:/Dev-Cpp/include/guichan/sdl/sdlgraphics.hpp:157: error: expected `;' before '*' token

In file included from src/being.cpp:38:
src/net/messageout.h:37: error: expected `,' or `...' before '&' token
src/net/messageout.h:37: error: ISO C++ forbids declaration of `Sint8' with no type
src/net/messageout.h:38: error: expected `,' or `...' before '&' token
src/net/messageout.h:38: error: ISO C++ forbids declaration of `Sint16' with no type
src/net/messageout.h:39: error: expected `,' or `...' before '&' token

src/net/messageout.h:39: error: ISO C++ forbids declaration of `Sint32' with no type
src/net/messageout.h:52: error: variable or field `writeInt8' declared void
src/net/messageout.h:52: error: expected `;' before '(' token
src/net/messageout.h:53: error: variable or field `writeInt16' declared void

src/net/messageout.h:53: error: expected `;' before '(' token
src/net/messageout.h:54: error: variable or field `writeInt32' declared void
src/net/messageout.h:54: error: expected `;' before '(' token

In file included from src/being.cpp:39:
src/net/protocol.h:137: error: variable or field `pickUp' declared void
src/net/protocol.h:137: error: `Uint32' was not declared in this scope

src/being.cpp:79: error: expected `)' before "iX"
src/being.cpp:79: error: expected `,' or `;' before "iX"
src/being.cpp:84: error: redefinition of `Being*createBeing'
src/being.h:325: error: `Being*createBeing' previously defined here

src/being.cpp:84: error: `Uint32' was not declared in this scope
src/being.cpp:84: error: `Uint16' was not declared in this scope
src/being.cpp:84: error: expected primary-expression before '*' token
src/being.cpp:84: error: `map' was not declared in this scope
src/being.cpp:85: error: expected `,' or `;' before '{' token

src/being.cpp:128: error: redefinition of `Being*findNode'
src/being.h:307: error: `Being*findNode' previously defined here
src/being.cpp:128: error: `Uint32' was not declared in this scope
src/being.cpp:129: error: expected `,' or `;' before '{' token
src/being.cpp:151: error: `Uint16' does not name a type
src/being.cpp: In member function `bool FindNodeFunctor::operator()(Being*)':
src/being.cpp:145: error: `Uint16' undeclared (first use this function)
src/being.cpp:145: error: expected `;' before "other_y"
src/being.cpp:146: error: 'class Being' has no member named 'x'
src/being.cpp:146: error: `x' undeclared (first use this function)

src/being.cpp:146: error: 'class Being' has no member named 'y'
src/being.cpp:146: error: `y' undeclared (first use this function)
src/being.cpp:146: error: 'class Being' has no member named 'y'
src/being.cpp:146: error: `other_y' undeclared (first use this function)

src/being.cpp:147: error: 'class Being' has no member named 'action'
src/being.cpp: At global scope:
src/being.cpp:155: error: redefinition of `Being*findNode'
src/being.h:307: error: `Being*findNode' previously defined here
src/being.cpp:155: error: `Uint16' was not declared in this scope
src/being.cpp:155: error: `Uint16' was not declared in this scope
src/being.cpp:156: error: expected `,' or `;' before '{' token
src/being.cpp:160: error: redefinition of `Being*findNode'
src/being.h:307: error: `Being*findNode' previously defined here
src/being.cpp:160: error: `Uint16' was not declared in this scope
src/being.cpp:160: error: `Uint16' was not declared in this scope
src/being.cpp:160: error: expected primary-expression before "type"
src/being.cpp:161: error: expected `,' or `;' before '{' token

src/being.cpp: In constructor `Being::Being()':
src/being.cpp:172: error: class `Being' does not have any field named `job'
src/being.cpp:173: error: class `Being' does not have any field named `x'
src/being.cpp:173: error: class `Being' does not have any field named `y'
src/being.cpp:173: error: class `Being' does not have any field named `direction'
src/being.cpp:174: error: class `Being' does not have any field named `action'
src/being.cpp:174: error: class `Being' does not have any field named `mFrame'
src/being.cpp:175: error: class `Being' does not have any field named `speech_color'
src/being.cpp:176: error: class `Being' does not have any field named `walk_time'

src/being.cpp:177: error: class `Being' does not have any field named `emotion'
src/being.cpp:177: error: class `Being' does not have any field named `emotion_time'
src/being.cpp:178: error: class `Being' does not have any field named `aspd'
src/being.cpp:179: error: class `Being' does not have any field named `mId'
src/being.cpp:180: error: class `Being' does not have any field named `mWeapon'
src/being.cpp:181: error: class `Being' does not have any field named `mWalkSpeed'
src/being.cpp:183: error: class `Being' does not have any field named `hairStyle'
src/being.cpp:183: error: class `Being' does not have any field named `hairColor'
src/being.cpp:184: error: class `Being' does not have any field named `speech_time'
src/being.cpp:185: error: class `Being' does not have any field named `damage_time'

src/being.cpp: At global scope:
src/being.cpp:196: error: variable or field `setDestination' declared void
src/being.cpp:196: error: `int Being::setDestination' is not a static member of `class Being'
src/being.cpp:196: error: `Uint16' was not declared in this scope
src/being.cpp:196: error: `Uint16' was not declared in this scope
src/being.cpp:197: error: initializer expression list treated as compound expression
src/being.cpp:197: error: expected `,' or `;' before '{' token
src/being.cpp: In member function `void Being::setPath(std::list<PATH_NODE, std::allocator<PATH_NODE> >)':
src/being.cpp:213: error: no match for 'operator!=' in 'action !=  WALK'
src/being.cpp:213: error: no match for 'operator!=' in 'action !=  DEAD'
src/being.cpp:216: error: `walk_time' undeclared (first use this function)
src/being.cpp: At global scope:
src/being.cpp:220: error: variable or field `setHairColor' declared void
src/being.cpp:220: error: `int Being::setHairColor' is not a static member of `class Being'
src/being.cpp:220: error: `Uint16' was not declared in this scope
src/being.cpp:221: error: expected `,' or `;' before '{' token
src/being.cpp:229: error: variable or field `setHairStyle' declared void
src/being.cpp:229: error: `int Being::setHairStyle' is not a static member of `class Being'
src/being.cpp:229: error: `Uint16' was not declared in this scope
src/being.cpp:230: error: expected `,' or `;' before '{' token

src/being.cpp:239: error: `Uint32' has not been declared
src/being.cpp:240: error: ISO C++ forbids declaration of `time' with no type
src/being.cpp: In member function `void Being::setSpeech(const std::string&, int)':
src/being.cpp:242: error: `speech_time' undeclared (first use this function)

src/being.cpp: At global scope:
src/being.cpp:247: error: variable or field `setDamage' declared void
src/being.cpp:247: error: `int Being::setDamage' is not a static member of `class Being'
src/being.cpp:247: error: `Sint16' was not declared in this scope
src/being.cpp:247: error: `Uint32' was not declared in this scope
src/being.cpp:248: error: initializer expression list treated as compound expression
src/being.cpp:248: error: expected `,' or `;' before '{' token

src/being.cpp: In member function `void Being::nextStep()':
src/being.cpp:281: error: `mFrame' undeclared (first use this function)

src/being.cpp:285: error: assignment of function `void action(char, int)'
src/being.cpp:285: error: cannot convert `Being::Action' to `void ()(char, int)' in assignment
src/being.cpp:292: error: `x' undeclared (first use this function)
src/being.cpp:293: error: `y' undeclared (first use this function)
src/being.cpp:293: error: `direction' undeclared (first use this function)
src/being.cpp:309: error: assignment of function `void action(char, int)'
src/being.cpp:309: error: cannot convert `Being::Action' to `void ()(char, int)' in assignment
src/being.cpp:310: error: `walk_time' undeclared (first use this function)
src/being.cpp:310: error: `mWalkSpeed' undeclared (first use this function)
src/being.cpp: In member function `void Being::logic()':
src/being.cpp:317: error: `speech_time' undeclared (first use this function)
src/being.cpp:323: error: `damage_time' undeclared (first use this function)
src/being.cpp:331: error: switch quantity not an integer
src/being.cpp:333: error: `mFrame' undeclared (first use this function)
src/being.cpp:333: error: `walk_time' undeclared (first use this function)
src/being.cpp:333: error: `mWalkSpeed' undeclared (first use this function)
src/being.cpp:339: error: `aspd' undeclared (first use this function)
src/being.cpp:350: error: no match for 'operator!=' in 'action !=  STAND'
src/being.cpp:354: error: no match for 'operator!=' in 'action !=  BOW_ATTACK'
src/being.cpp:361: error: `mPx' undeclared (first use this function)
src/being.cpp:361: error: `x' undeclared (first use this function)
src/being.cpp:362: error: `mPy' undeclared (first use this function)
src/being.cpp:362: error: `y' undeclared (first use this function)

src/being.cpp:370: error: `emotion' undeclared (first use this function)
src/being.cpp:372: error: `emotion_time' undeclared (first use this function)
src/being.cpp: At global scope:
src/being.cpp:380: error: `Sint32' has not been declared
src/being.cpp:380: error: `Sint32' has not been declared
src/being.cpp:381: error: ISO C++ forbids declaration of `offsetX' with no type
src/being.cpp:381: error: ISO C++ forbids declaration of `offsetY' with no type

src/being.cpp: In member function `void Being::drawSpeech(Graphics*, int, int)':
src/being.cpp:382: error: `mPx' undeclared (first use this function)
src/being.cpp:383: error: `mPy' undeclared (first use this function)
src/being.cpp:410: error: `damage_time' undeclared (first use this function)
src/being.cpp: In member function `Being::Type Being::getType() const':
src/being.cpp:436: error: `job' undeclared (first use this function)
src/being.cpp: At global scope:
src/being.cpp:447: error: variable or field `setWeaponById' declared void
src/being.cpp:447: error: `int Being::setWeaponById' is not a static member of `class Being'
src/being.cpp:447: error: `Uint16' was not declared in this scope
src/being.cpp:448: error: expected `,' or `;' before '{' token
src/being.cpp: In member function `int Being::getXOffset() const':
src/being.cpp:481: error: no match for 'operator!=' in 'action !=  WALK'
src/being.cpp:481: error: `direction' undeclared (first use this function)
src/being.cpp:485: error: `walk_time' undeclared (first use this function)
src/being.cpp:485: error: `mWalkSpeed' undeclared (first use this function)
src/being.cpp: In member function `int Being::getYOffset() const':
src/being.cpp:505: error: no match for 'operator!=' in 'action !=  WALK'
src/being.cpp:505: error: `direction' undeclared (first use this function)
src/being.cpp:509: error: `walk_time' undeclared (first use this function)
src/being.cpp:509: error: `mWalkSpeed' undeclared (first use this function)
src/being.cpp: In member function `virtual void Being::draw(Graphics*, int, int)':
src/being.cpp:527: error: `direction' undeclared (first use this function)
src/being.cpp:528: error: `mPx' undeclared (first use this function)
src/being.cpp:529: error: `mPy' undeclared (first use this function)
src/being.cpp:535: error: invalid conversion from `void (*)(char, int)' to `int'
src/being.cpp:537: error: no match for 'operator!=' in 'action !=  SIT'
src/being.cpp:537: error: no match for 'operator!=' in 'action !=  DEAD'
src/being.cpp:539: error: `mFrame' undeclared (first use this function)
src/being.cpp:542: error: no match for 'operator==' in 'action ==  ATTACK'
src/being.cpp:542: error: `getWeapon' undeclared (first use this function)

src/being.cpp:550: error: no match for 'operator==' in 'action ==  ATTACK'
src/being.cpp:558: error: `getHairColor' undeclared (first use this function)
src/being.cpp:561: error: `getHairStyle' undeclared (first use this function)
src/being.cpp:568: error: `emotion' undeclared (first use this function)
src/being.cpp:582: error: `job' undeclared (first use this function)
src/being.cpp:591: error: invalid conversion from `void (*)(char, int)' to `int'
src/being.cpp:592: error: no match for 'operator!=' in 'action !=  BOW_ATTACK'

make.exe: *** [obj/being.o] Error 1

Exécution terminée
I'm French, sorry for my bad english XD !
Image
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

win32.txt wrote:You also have to add the SDL include folder in your C++ include paths.
Post Reply