[Solved]
Last SVN Revision...
Compiled with Code::Blocks
Thanks
Linking error... [Solved]
Linking error... [Solved]
Last edited by Avalos on 15 Jun 2007, 19:49, edited 2 times in total.
The DevCpp project file is quite outdated. You have to add all the sourcecode files to the project that aren't in it yet.
When that is too much of a hassle to you: The project files for Code::Blocks should be more up to date.
When that is too much of a hassle to you: The project files for Code::Blocks should be more up to date.
- 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.
Codeblocks:
Code: Select all
Switching to target: default
Linking executable: tmw.exe
.objs\src\being.o:being.cpp:(.text+0x2dac): undefined reference to `Particle::addEffect(std::string, int, int)'
.objs\src\being.o:being.cpp:(.text+0x2edc): undefined reference to `Particle::addTextSplashEffect(std::string, int, int, int, gcn::Font*, int, int)'
.objs\src\engine.o:engine.cpp:(.text+0x18d): undefined reference to `Particle::clear()'
.objs\src\engine.o:engine.cpp:(.text+0x61f): undefined reference to `Particle::setMap(Map*)'
.objs\src\game.o:game.cpp:(.text+0x126c): undefined reference to `Particle::Particle(Map*)'
.objs\src\game.o:game.cpp:(.text+0x12b2): undefined reference to `Particle::setupEngine()'
.objs\src\game.o:game.cpp:(.text+0x1fa4): undefined reference to `Particle::Particle(Map*)'
.objs\src\game.o:game.cpp:(.text+0x1fea): undefined reference to `Particle::setupEngine()'
.objs\src\gui\debugwindow.o:debugwindow.cpp:(.text+0x2963): undefined reference to `Particle::particleCount'
.objs\src\gui\window.o:window.cpp:(.text+0x364b): undefined reference to `ResizeGrip::ResizeGrip()'
.objs\src\map.o:map.cpp:(.text+0x2b49): undefined reference to `Particle::addEffect(std::string, int, int)'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 9 seconds)
0 errors, 0 warnings
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
dev-c++ branches 0.0
i try compile and have this error
i try compile and have this error
Code: Select all
Compilador: Default compiler
Building Makefile: "C:\Documents and Settings\Administrador\Desktop\0.0\Makefile.win"
Executando make...
make.exe -f "C:\Documents and Settings\Administrador\Desktop\0.0\Makefile.win" all
g++.exe -D__DEBUG__ obj/being.o obj/configuration.o obj/engine.o obj/floor_item.o obj/game.o obj/graphics.o obj/log.o obj/main.o obj/map.o obj/sound.o obj/buddywindow.o obj/button.o obj/buy.o obj/buysell.o obj/char_select.o obj/char_server.o obj/chargedialog.o obj/chat.o obj/chatinput.o obj/checkbox.o obj/confirm_dialog.o obj/equipmentwindow.o obj/gui.o obj/item_amount.o obj/itemcontainer.o obj/listbox.o obj/minimap.o obj/npc_text.o obj/ok_dialog.o obj/passwordfield.o obj/playerbox.o obj/progressbar.o obj/radiobutton.o obj/scrollarea.o obj/sell.o obj/setup.o obj/shop.o obj/skill.o obj/slider.o obj/status.o obj/textbox.o obj/textfield.o obj/trade.o obj/window.o obj/windowcontainer.o obj/network.o obj/protocol.o obj/buddylist.o obj/image.o obj/mapreader.o obj/music.o obj/resource.o obj/resourcemanager.o obj/soundeffect.o obj/help.o obj/inttextbox.o obj/focushandler.o obj/popupmenu.o obj/browserbox.o obj/updatewindow.o obj/box.o obj/equipment.o obj/item.o obj/inventorywindow.o obj/inventory.o obj/openglgraphics.o obj/tabbedcontainer.o obj/sdlimageloader.o obj/messageout.o obj/messagein.o obj/menuwindow.o obj/ministatus.o obj/imagewriter.o obj/debugwindow.o obj/connection.o obj/gccontainer.o obj/login.o obj/register.o obj/beingmanager.o obj/localplayer.o obj/npclistdialog.o obj/npc.o obj/monster.o obj/player.o obj/beinghandler.o obj/buysellhandler.o obj/charserverhandler.o obj/chathandler.o obj/equipmenthandler.o obj/inventoryhandler.o obj/itemhandler.o obj/loginhandler.o obj/maploginhandler.o obj/messagehandler.o obj/npchandler.o obj/playerhandler.o obj/skillhandler.o obj/tradehandler.o obj/flooritemmanager.o obj/joystick.o obj/setup_video.o obj/setup_audio.o obj/setup_joystick.o obj/openglsdlimageloader.o obj/animatedsprite.o obj/iteminfo.o obj/ambientoverlay.o obj/shoplistbox.o obj/xml.o obj/spritedef.o obj/monsterdb.o obj/monsterinfo.o obj/itemdb.o obj/equipmentdb.o obj/viewport.o obj/action.o obj/animation.o obj/base64.o obj/The_Mana_World_private.res -o "tmw.exe" -L"C:/Dev-Cpp/lib" -mwindows -lguichan -lguichan_sdl -lguichan_opengl -lwsock32 -lSDL_image.dll -lSDL_mixer.dll -lSDL_net.dll -lmingw32 -lSDLmain -lSDL.dll -lxml2.dll -lopengl32 -lpng12.dll -lz.dll -lphysfs -lcurl.dll -g3 -fmessage-length=0 -s -mmmx
obj/being.o: In function `ZN5Being10takeDamageEi':C:/Documents and Settings/Administrador/Desktop/0.0/src/being.cpp:178: undefined reference to `Particle::addEffect(std::string, int, int)'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/being.cpp:191: undefined reference to `Particle::addTextSplashEffect(std::string, int, int, int, gcn::Font*, int, int)'
obj/being.o: In function `ZN5Being11drawEmotionEP8Graphicsii':C:/Documents and Settings/Administrador/Desktop/0.0/src/being.cpp:434: undefined reference to `ImageSet::get(unsigned int)'
obj/engine.o: In function `ZN6Engine9changeMapERKSs':C:/Documents and Settings/Administrador/Desktop/0.0/src/engine.cpp:72: undefined reference to `Particle::clear()'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/engine.cpp:93: undefined reference to `Particle::setMap(Map*)'
obj/game.o: In function `ZN4GameC2EP7Network':C:/Documents and Settings/Administrador/Desktop/0.0/src/game.cpp:256: undefined reference to `Particle::Particle(Map*)'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/game.cpp:257: undefined reference to `Particle::setupEngine()'
obj/game.o: In function `ZN4GameC1EP7Network':C:/Documents and Settings/Administrador/Desktop/0.0/src/game.cpp:256: undefined reference to `Particle::Particle(Map*)'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/game.cpp:257: undefined reference to `Particle::setupEngine()'
obj/map.o: In function `ZN3Map14getTileWithGidEi':C:/Documents and Settings/Administrador/Desktop/0.0/src/map.cpp:271: undefined reference to `ImageSet::get(unsigned int)'
obj/map.o: In function `ZN3Map25initializeParticleEffectsEP8Particle':C:/Documents and Settings/Administrador/Desktop/0.0/src/map.cpp:531: undefined reference to `Particle::addEffect(std::string, int, int)'
obj/window.o: In function `ZN6Window12setResizableEb':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/window.cpp:269: undefined reference to `ResizeGrip::ResizeGrip()'
obj/mapreader.o: In function `ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE11_M_get_nodeEv':C:/Dev-Cpp/include/c++/3.4.2/bits/stl_pair.h:(.text$_ZN7TilesetC1EP5Imageiii[Tileset::Tileset(Image*, int, int, int)]+0x8e): undefined reference to `ImageSet::ImageSet(std::string const&, Image*, int, int)'
:C:/Dev-Cpp/include/c++/3.4.2/bits/stl_pair.h:(.text$_ZN7TilesetD1Ev[Tileset::~Tileset()]+0x16): undefined reference to `ImageSet::~ImageSet()'
:C:/Dev-Cpp/include/c++/3.4.2/bits/stl_pair.h:(.text$_ZN7TilesetD0Ev[Tileset::~Tileset()]+0x16): undefined reference to `ImageSet::~ImageSet()'
obj/resourcemanager.o: In function `ZN15ResourceManager11getImageSetERKSsii':C:/Documents and Settings/Administrador/Desktop/0.0/src/resources/resourcemanager.cpp:252: undefined reference to `ImageSet::ImageSet(std::string const&, Image*, int, int)'
obj/debugwindow.o: In function `ZN11DebugWindow5logicEv':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/debugwindow.cpp:106: undefined reference to `Particle::particleCount'
obj/beinghandler.o: In function `ZN12BeingHandler13handleMessageEP9MessageIn':C:/Documents and Settings/Administrador/Desktop/0.0/src/net/beinghandler.cpp:227: undefined reference to `Particle::addEffect(std::string, int, int)'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/net/beinghandler.cpp:230: undefined reference to `Particle::addEffect(std::string, int, int)'
obj/spritedef.o: In function `ZN9SpriteDef13loadAnimationEP8_xmlNodeP6ActionP8ImageSeti':C:/Documents and Settings/Administrador/Desktop/0.0/src/resources/spritedef.cpp:227: undefined reference to `ImageSet::get(unsigned int)'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/resources/spritedef.cpp:250: undefined reference to `ImageSet::get(unsigned int)'
obj/viewport.o: In function `ZN8Viewport16loadTargetCursorESsiibN5Being16TargetCursorSizeE':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:103: undefined reference to `ImageSet::get(unsigned int)'
obj/viewport.o: In function `ZN8ViewportD2Ev':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:124: undefined reference to `SimpleAnimation::~SimpleAnimation()'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:125: undefined reference to `SimpleAnimation::~SimpleAnimation()'
obj/viewport.o: In function `ZN8ViewportD1Ev':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:124: undefined reference to `SimpleAnimation::~SimpleAnimation()'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:125: undefined reference to `SimpleAnimation::~SimpleAnimation()'
obj/viewport.o: In function `ZN8ViewportD0Ev':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:124: undefined reference to `SimpleAnimation::~SimpleAnimation()'
obj/viewport.o:C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:125: more undefined references to `SimpleAnimation::~SimpleAnimation()' follow
obj/viewport.o: In function `ZN8Viewport5logicEv':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:294: undefined reference to `SimpleAnimation::update(unsigned int)'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:295: undefined reference to `SimpleAnimation::update(unsigned int)'
obj/viewport.o: In function `ZN8Viewport16drawTargetCursorEP8Graphics':C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:318: undefined reference to `SimpleAnimation::getCurrentImage() const'
:C:/Documents and Settings/Administrador/Desktop/0.0/src/gui/viewport.cpp:321: undefined reference to `SimpleAnimation::getCurrentImage() const'
collect2: ld returned 1 exit status
make.exe: *** [tmw.exe] Error 1
Execução terminada
Crush wrote:The DevCpp project file is quite outdated. You have to add all the sourcecode files to the project that aren't in it yet.
When that is too much of a hassle to you: The project files for Code::Blocks should be more up to date.
- 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.