Compile problem

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
kamil
Peon
Peon
Posts: 6
Joined: 11 Jun 2005, 13:56

Compile problem

Post by kamil » 11 Jun 2005, 13:59

i run compile (f9) in devc++ and have problems.I have instales tmw-cvs.DevPak.

Code: Select all

Kompilator: Default compiler
Wykonywanie  g++.exe...
g++.exe "E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp" -o "E:\tmw-0.0.13\tmw-0.0.13\src\game.exe"    -I"E:\PROGRAMY\DEV-CPP\lib\gcc\mingw32\3.4.2\include"  -I"E:\PROGRAMY\DEV-CPP\include\c++\3.4.2\backward"  -I"E:\PROGRAMY\DEV-CPP\include\c++\3.4.2\mingw32"  -I"E:\PROGRAMY\DEV-CPP\include\c++\3.4.2"  -I"E:\PROGRAMY\DEV-CPP\include"   -L"E:\PROGRAMY\DEV-CPP\lib" 
In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/window.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/npc.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:28:17: SDL.h: No such file or directory
In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/window.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/npc.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:97: error: `draw' declared as a `virtual' field

E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:97: error: expected `;' before '(' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:108: error: `draw' declared as a `virtual' field
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:108: error: expected `;' before '(' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:113: error: variable or field `drawPattern' declared void
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:113: error: `drawPattern' declared as a `virtual' field
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:113: error: expected `;' before '(' token

E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:136: error: expected `)' before '*' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:144: error: ISO C++ forbids declaration of `SDL_Surface' with no type

E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:144: error: expected `;' before '*' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:159: error: `SDL_Surface' has not been declared
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:160: error: ISO C++ forbids declaration of `image' with no type
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:191: error: expected `;' before '(' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:199: error: expected `;' before '(' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/image.h:203: error: `SDL_Rect' does not name a type

In file included from E:/PROGRAMY/DEV-CPP/include/guichan/sdl.hpp:58,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../graphics.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/window.h:31,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/npc.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:92: error: variable or field `setTarget' declared void
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:92: error: `setTarget' declared as a `virtual' field
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:92: error: expected `;' before '(' token
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:99: error: ISO C++ forbids declaration of `SDL_Surface' with no type
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:99: error: `SDL_Surface' declared as a `virtual' field
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:99: error: expected `;' before '*' token
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:108: error: variable or field `drawSDLSurface' declared void
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:108: error: `drawSDLSurface' declared as a `virtual' field
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:108: error: expected `;' before '(' token
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:157: error: ISO C++ forbids declaration of `SDL_Surface' with no type
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlgraphics.hpp:157: error: expected `;' before '*' token

In file included from E:/PROGRAMY/DEV-CPP/include/guichan/sdl.hpp:59,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../graphics.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/window.h:31,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/npc.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlimageloader.hpp:102: error: ISO C++ forbids declaration of `SDL_Surface' with no type

E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlimageloader.hpp:102: error: expected `;' before '*' token

In file included from E:/PROGRAMY/DEV-CPP/include/guichan/sdl.hpp:60,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../graphics.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/window.h:31,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/npc.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlinput.hpp:88: error: variable or field `pushInput' declared void
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlinput.hpp:88: error: `pushInput' declared as a `virtual' field
E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlinput.hpp:88: error: expected `;' before '(' token

E:/PROGRAMY/DEV-CPP/include/guichan/sdl/sdlinput.hpp:124: error: expected `;' before '(' token

In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/window.h:31,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/npc.h:30,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:27,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../graphics.h:35: error: expected init-declarator before '*' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../graphics.h:35: error: expected `,' or `;' before '*' token

In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/setup.h:28,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:41,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../sound.h:29:23: SDL_mixer.h: No such file or directory
In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/resourcemanager.h:31,

                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../sound.h:31,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/setup.h:28,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:41,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:

E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/music.h:80: error: expected `)' before '*' token
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/music.h:83: error: ISO C++ forbids declaration of `Mix_Chunk' with no type
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/music.h:83: error: expected `;' before '*' token
In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/resourcemanager.h:32,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../sound.h:31,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/setup.h:28,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:41,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/soundeffect.h:73: error: expected `)' before '*' token

E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/soundeffect.h:75: error: ISO C++ forbids declaration of `Mix_Chunk' with no type
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../resources/soundeffect.h:75: error: expected `;' before '*' token
In file included from E:\tmw-0.0.13\tmw-0.0.13\src\/gui/setup.h:28,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\/engine.h:41,
                 from E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:24:

E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../sound.h:120: error: ISO C++ forbids declaration of `Mix_Music' with no type
E:\tmw-0.0.13\tmw-0.0.13\src\/gui/../sound.h:120: error: expected `;' before '*' token

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:94: error: `Uint32' does not name a type

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:105: error: `Uint32' does not name a type

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp: In function `void game()':
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:144: error: `SDL_GetAppState' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:144: error: (Each undeclared identifier is reported only once for each function it appears in.)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:144: error: `SDL_APPACTIVE' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:151: error: `SDL_Delay' undeclared (first use this function)

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp: In function `void do_init()':
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:189: error: `nextTick' undeclared (first use this function)

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:189: error: `SDL_AddTimer' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:190: error: `nextSecond' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp: In function `void do_input()':
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:219: error: `Uint8' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:219: error: `keys' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:220: error: `SDL_GetKeyState' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:223: error: `SDL_Event' undeclared (first use this function)

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:223: error: expected `;' before "event"
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:224: error: `event' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:224: error: `SDL_PollEvent' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:228: error: `SDL_KEYDOWN' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:230: error: `SDL_keysym' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:230: error: expected `;' before "keysym"
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:232: error: `keysym' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:232: error: `SDLK_F1' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:245: error: `SDLK_RETURN' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:254: error: `SDLK_F5' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:262: error: `SDLK_F6' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:266: error: `SDLK_F7' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:272: error: `KMOD_ALT' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:277: error: `SDLK_1' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:278: error: `SDLK_2' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:279: error: `SDLK_3' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:280: error: `SDLK_4' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:281: error: `SDLK_5' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:282: error: `SDLK_6' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:283: error: `SDLK_7' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:284: error: `SDLK_8' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:285: error: `SDLK_9' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:286: error: `SDLK_0' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:299: error: `SDLK_i' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:303: error: `SDLK_s' undeclared (first use this function)

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:307: error: `SDLK_n' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:311: error: `SDLK_k' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:315: error: `SDLK_c' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:319: error: `SDLK_e' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:333: error: `SDLK_ESCAPE' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:344: error: `SDLK_g' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:344: error: `SDLK_z' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:392: error: `SDL_MOUSEBUTTONDOWN' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:413: error: `SDLK_LSHIFT' undeclared (first use this function)

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:429: error: `SDL_QUIT' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:436: error: 'class gcn::SDLInput' has no member named 'pushInput'
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:452: error: `SDLK_UP' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:452: error: `SDLK_KP8' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:456: error: `SDLK_DOWN' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:456: error: `SDLK_KP2' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:460: error: `SDLK_LEFT' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:460: error: `SDLK_KP4' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:464: error: `SDLK_RIGHT' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:464: error: `SDLK_KP6' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:468: error: `SDLK_KP1' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:473: error: `SDLK_KP3' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:478: error: `SDLK_KP7' undeclared (first use this function)

E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:483: error: `SDLK_KP9' undeclared (first use this function)
E:\tmw-0.0.13\tmw-0.0.13\src\game.cpp:563: error: `SDLK_LCTRL' undeclared (first use this function)

Wykonanie zakończone
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 11 Jun 2005, 14:12

You have to include the SDL folder in your devcpp includes as writeen in the install guide, in the devpak readme, in other threads of the forum and as I told you on irc
kamil
Peon
Peon
Posts: 6
Joined: 11 Jun 2005, 13:56

Post by kamil » 11 Jun 2005, 14:19

wher i can run and compilet sdl
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 20:48
Location: Espoo, Finland

Post by Rotonen » 13 Jun 2005, 13:42

Just follow the instructions from the devpak, my devpak repo will be offline for a while.
This message used to be meaningful.
kamil
Peon
Peon
Posts: 6
Joined: 11 Jun 2005, 13:56

Post by kamil » 14 Jun 2005, 06:18

pls send instruction to forum on this topic .i from polnad i don't good speak inglish
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 14 Jun 2005, 09:26

The instructions are in docs/INSTALL/win32.txt.

In your case SDL.h cannot be found, suggesting that you forgot to add the SDL include path to your C++ compiler's include paths.
kamil
Peon
Peon
Posts: 6
Joined: 11 Jun 2005, 13:56

Post by kamil » 18 Jun 2005, 11:13

i have new problems.

Code: Select all

Kompilator: Default compiler
Wykonywanie  g++.exe...
g++.exe "E:\tmw-0.0.13\tmw-0.0.13\src\main.cpp" -o "E:\tmw-0.0.13\tmw-0.0.13\src\main.exe"    -I"E:\PROGRAMY\DEV-CPP\lib\gcc\mingw32\3.4.2\include"  -I"E:\PROGRAMY\DEV-CPP\include\c++\3.4.2\backward"  -I"E:\PROGRAMY\DEV-CPP\include\c++\3.4.2\mingw32"  -I"E:\PROGRAMY\DEV-CPP\include\c++\3.4.2"  -I"E:\PROGRAMY\DEV-CPP\include"  -I"E:\programy\Dev-Cpp\include\SDL"   -L"E:\PROGRAMY\DEV-CPP\lib" -L"E:\programy\Dev-Cpp\include\SDL" 
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x174):main.cpp: undefined reference to `SDL_Init'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x17d):main.cpp: undefined reference to `SDL_GetError'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1cc):main.cpp: undefined reference to `SDL_Quit'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1e7):main.cpp: undefined reference to `SDL_EnableUNICODE'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1fb):main.cpp: undefined reference to `SDL_EnableKeyRepeat'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x305):main.cpp: undefined reference to `Logger::Logger(std::string const&)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x515):main.cpp: undefined reference to `Configuration::setValue(std::string const&, std::string)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x670):main.cpp: undefined reference to `Configuration::setValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x753):main.cpp: undefined reference to `Configuration::setValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x836):main.cpp: undefined reference to `Configuration::setValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x919):main.cpp: undefined reference to `Configuration::setValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x9fc):main.cpp: undefined reference to `Configuration::setValue(std::string const&, float)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0xadf):main.cpp: more undefined references to `Configuration::setValue(std::string const&, float)' follow
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0xfe9):main.cpp: undefined reference to `Configuration::init(std::string const&)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x10df):main.cpp: undefined reference to `Configuration::init(std::string const&)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x118b):main.cpp: undefined reference to `SDL_WM_SetCaption'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x11f1):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x12f8):main.cpp: undefined reference to `SDL_GL_SetAttribute'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1352):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x143f):main.cpp: undefined reference to `Logger::log(char const*, ...)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x149e):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x15ab):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x16b8):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1786):main.cpp: undefined reference to `IMG_Load'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1796):main.cpp: undefined reference to `SDL_WM_SetIcon'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x17be):main.cpp: undefined reference to `SDL_SetVideoMode'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x17c3):main.cpp: undefined reference to `screen'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x17c9):main.cpp: undefined reference to `screen'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x17d5):main.cpp: undefined reference to `SDL_GetError'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x18a3):main.cpp: undefined reference to `SDL_VideoDriverName'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x18c3):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x18e4):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x18f3):main.cpp: undefined reference to `SDL_GetVideoInfo'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1947):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1995):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x19e4):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1a33):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1a82):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1ad1):main.cpp: more undefined references to `Logger::log(char const*, ...)' follow
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1c0a):main.cpp: undefined reference to `ItemManager::ItemManager()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1c8a):main.cpp: undefined reference to `Graphics::Graphics()'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1ce5):main.cpp: undefined reference to `ResourceManager::getInstance()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1d47):main.cpp: undefined reference to `ResourceManager::getImage(std::string const&, int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1e3c):main.cpp: undefined reference to `ResourceManager::getImage(std::string const&, int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x1f32):main.cpp: undefined reference to `ResourceManager::getImage(std::string const&, int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x202c):main.cpp: undefined reference to `Logger::error(std::string const&)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2120):main.cpp: undefined reference to `Logger::error(std::string const&)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2214):main.cpp: undefined reference to `Logger::error(std::string const&)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x22f6):main.cpp: undefined reference to `Spriteset::Spriteset(Image*, int, int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2390):main.cpp: undefined reference to `Spriteset::Spriteset(Image*, int, int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2419):main.cpp: undefined reference to `Gui::Gui(Graphics*)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2465):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x24c7):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x25a7):main.cpp: undefined reference to `Sound::init()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2602):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2642):main.cpp: undefined reference to `Sound::setSfxVolume(int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x274e):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x278e):main.cpp: undefined reference to `Sound::setMusicVolume(int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2951):main.cpp: undefined reference to `OkDialog::OkDialog(std::string const&, std::string const&, gcn::ActionListener*)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2aa2):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x2b39):main.cpp: undefined reference to `Configuration::getValue(std::string const&, float)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3045):main.cpp: undefined reference to `SDL_AddTimer'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x306e):main.cpp: undefined reference to `Configuration::write()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x308a):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3092):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x309c):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x30db):main.cpp: undefined reference to `ItemManager::~ItemManager()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x30eb):main.cpp: undefined reference to `xmlCleanupParser'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x30f0):main.cpp: undefined reference to `ResourceManager::deleteInstance()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3109):main.cpp: undefined reference to `Logger::~Logger()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3169):main.cpp: undefined reference to `xmlInitParser'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3175):main.cpp: undefined reference to `xmlCheckVersion'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x319f):main.cpp: undefined reference to `xmlSetGenericErrorFunc'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x31ac):main.cpp: undefined reference to `PHYSFS_init'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x31d3):main.cpp: undefined reference to `SDL_PollEvent'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x31ee):main.cpp: undefined reference to `guiInput'

C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x321b):main.cpp: undefined reference to `guiInput'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3276):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3292):main.cpp: undefined reference to `Sound::playMusic(char const*, int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3297):main.cpp: undefined reference to `login()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x32bb):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x32c0):main.cpp: undefined reference to `char_server()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x32e4):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x32e9):main.cpp: undefined reference to `charSelect()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x330c):main.cpp: undefined reference to `Sound::fadeOutMusic(int)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3321):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3330):main.cpp: undefined reference to `map_start()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3335):main.cpp: undefined reference to `game()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x343e):main.cpp: undefined reference to `OkDialog::OkDialog(std::string const&, std::string const&, gcn::ActionListener*)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x361a):main.cpp: undefined reference to `screen'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3639):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3643):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x364f):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x3659):main.cpp: undefined reference to `gui'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x366d):main.cpp: undefined reference to `Graphics::updateScreen()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x369d):main.cpp: undefined reference to `Logger::log(char const*, ...)'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x36a7):main.cpp: undefined reference to `PHYSFS_deinit'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x37bc):main.cpp: undefined reference to `Sound::Sound()'
C:\WINDOWS\TEMP/cc8Ncggb.o(.text+0x389c):main.cpp: undefined reference to `Sound::~Sound()'
E:\PROGRAMY\DEV-CPP\lib/libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to `WinMain@16'
collect2: ld returned 1 exit status

Wykonanie zakończone
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 18 Jun 2005, 17:04

It seems you got a wrong setup, try to get a fresh CVS and make a full rebuild
kamil
Peon
Peon
Posts: 6
Joined: 11 Jun 2005, 13:56

Post by kamil » 18 Jun 2005, 19:47

wher i can download newset CVS
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 19 Jun 2005, 18:54

See the SF CVS instructions for our project:

http://sourceforge.net/cvs/?group_id=106790

And the CVS tutorial we wrote (accessible from downloads page):

http://themanaworld.org/cvs-tutorial.txt
kamil
Peon
Peon
Posts: 6
Joined: 11 Jun 2005, 13:56

Post by kamil » 20 Jun 2005, 11:48

i cannoct conect to server

#
>> Running "cvs -z4 -d :pserver:anonymous@cvs.sourceforge.net:tmw/cvsroot/themanaworld checkout " (in "E:\tmw-0.0.13\tmw-0.0.13\src\")
unable to run program file: Urządzenie podłączone do komputera nie działa
>> Command complete (exit code: -1)
#
http://img170.echo.cx/my.php?image=er7dz.jpg
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 20 Jun 2005, 13:05

Maybe you could post the log or the error you get?
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 21 Jun 2005, 00:34

"cvs -z4 -d :pserver:anonymous@cvs.sourceforge.net:tmw/cvsroot/themanaworld checkout "
You've got the CVS path wrong and the command misses the module to check out. If you had read the documentation correctly, I think you should have come up with something more like:

cvs -z4 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/themanaworld checkout tmw

It seems your first problem to solve is that you're lacking the cvs executable though, but I'm not sure because I don't entirely understand the language.
Locked