Built errors

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
yvansoftware
Peon
Peon
Posts: 27
Joined: 27 Oct 2007, 13:46
Location: Antwerp, Belgium

Built errors

Post by yvansoftware » 28 Oct 2007, 12:45

I tried to build the 0.1 client and i get these errors:

Code: Select all

-------------- Build: default in The Mana World ---------------
Compiling: src\animatedsprite.cpp
Compiling: src\animationparticle.cpp
Compiling: src\being.cpp
Compiling: src\beingmanager.cpp
Compiling: src\channel.cpp
Compiling: src\channelmanager.cpp
Compiling: src\configuration.cpp
Compiling: src\engine.cpp
Compiling: src\equipment.cpp
Compiling: src\floor_item.cpp
Compiling: src\flooritemmanager.cpp
Compiling: src\game.cpp
Compiling: src\graphics.cpp
Compiling: src\gui\box.cpp
Compiling: src\gui\browserbox.cpp
Compiling: src\gui\button.cpp
Compiling: src\gui\buy.cpp
Compiling: src\gui\buysell.cpp
Compiling: src\gui\char_select.cpp
Compiling: src\gui\chat.cpp
Compiling: src\gui\chatinput.cpp
Compiling: src\gui\checkbox.cpp
Compiling: src\gui\confirm_dialog.cpp
Compiling: src\gui\connection.cpp
Compiling: src\gui\debugwindow.cpp
Compiling: src\gui\equipmentwindow.cpp
Compiling: src\gui\focushandler.cpp
Compiling: src\gui\gccontainer.cpp
Compiling: src\gui\gui.cpp
Compiling: src\gui\hbox.cpp
Compiling: src\gui\help.cpp
Compiling: src\gui\inttextbox.cpp
Compiling: src\gui\inventorywindow.cpp
Compiling: src\gui\item_amount.cpp
Compiling: src\gui\itemcontainer.cpp
Compiling: src\gui\itemshortcutcontainer.cpp
Compiling: src\gui\itemshortcutwindow.cpp
Compiling: src\gui\listbox.cpp
Compiling: src\gui\login.cpp
Compiling: src\gui\menuwindow.cpp
Compiling: src\gui\minimap.cpp
Compiling: src\gui\ministatus.cpp
Compiling: src\gui\npc_text.cpp
Compiling: src\gui\npclistdialog.cpp
Compiling: src\gui\ok_dialog.cpp
Compiling: src\gui\passwordfield.cpp
Compiling: src\gui\playerbox.cpp
Compiling: src\gui\popupmenu.cpp
Compiling: src\gui\progressbar.cpp
Compiling: src\gui\quitdialog.cpp
Compiling: src\gui\radiobutton.cpp
Compiling: src\gui\register.cpp
Compiling: src\gui\scrollarea.cpp
Compiling: src\gui\sell.cpp
Compiling: src\gui\serverdialog.cpp
Compiling: src\gui\setup.cpp
Compiling: src\gui\setup_audio.cpp
Compiling: src\gui\setup_joystick.cpp
Compiling: src\gui\setup_keyboard.cpp
Compiling: src\gui\setup_video.cpp
Compiling: src\gui\shop.cpp
Compiling: src\gui\shoplistbox.cpp
Compiling: src\gui\skill.cpp
Compiling: src\gui\slider.cpp
Compiling: src\gui\status.cpp
Compiling: src\gui\tabbedcontainer.cpp
Compiling: src\gui\textbox.cpp
Compiling: src\gui\textfield.cpp
Compiling: src\gui\trade.cpp
Compiling: src\gui\truetypefont.cpp
Compiling: src\gui\unregisterdialog.cpp
Compiling: src\gui\updatewindow.cpp
Compiling: src\gui\vbox.cpp
Compiling: src\gui\viewport.cpp
Compiling: src\gui\widgets\dropdown.cpp
Compiling: src\gui\widgets\resizegrip.cpp
Compiling: src\gui\window.cpp
Compiling: src\gui\windowcontainer.cpp
Compiling: src\imageparticle.cpp
Compiling: src\inventory.cpp
Compiling: src\item.cpp
Compiling: src\itemshortcut.cpp
Compiling: src\joystick.cpp
Compiling: src\keyboardconfig.cpp
Compiling: src\localplayer.cpp
Compiling: src\log.cpp
Compiling: src\main.cpp
Compiling: src\map.cpp
Compiling: src\monster.cpp
Compiling: src\net\accountserver\account.cpp
Compiling: src\net\accountserver\accountserver.cpp
Compiling: src\net\accountserver\internal.cpp
Compiling: src\net\beinghandler.cpp
Compiling: src\net\buysellhandler.cpp
Compiling: src\net\charserverhandler.cpp
Compiling: src\net\chathandler.cpp
Compiling: src\net\chatserver\chatserver.cpp
Compiling: src\net\chatserver\internal.cpp
Compiling: src\net\connection.cpp
Compiling: src\net\gameserver\gameserver.cpp
Compiling: src\net\gameserver\internal.cpp
Compiling: src\net\gameserver\player.cpp
Compiling: src\net\internal.cpp
Compiling: src\net\inventoryhandler.cpp
Compiling: src\net\itemhandler.cpp
Compiling: src\net\loginhandler.cpp
Compiling: src\net\logouthandler.cpp
Compiling: src\net\messagehandler.cpp
Compiling: src\net\messagein.cpp
Compiling: src\net\messageout.cpp
Compiling: src\net\network.cpp
Compiling: src\net\npchandler.cpp
Compiling: src\net\playerhandler.cpp
Compiling: src\net\skillhandler.cpp
Compiling: src\net\tradehandler.cpp
Compiling: src\npc.cpp
Compiling: src\openglgraphics.cpp
Compiling: src\particle.cpp
Compiling: src\particleemitter.cpp
Compiling: src\player.cpp
Compiling: src\resources\action.cpp
Compiling: src\resources\ambientoverlay.cpp
Compiling: src\resources\animation.cpp
Compiling: src\resources\image.cpp
Compiling: src\resources\imageloader.cpp
Compiling: src\resources\imageset.cpp
Compiling: src\resources\imagewriter.cpp
Compiling: src\resources\itemdb.cpp
Compiling: src\resources\iteminfo.cpp
Compiling: src\resources\mapreader.cpp
Compiling: src\resources\monsterdb.cpp
Compiling: src\resources\monsterinfo.cpp
Compiling: src\resources\music.cpp
Compiling: src\resources\resource.cpp
Compiling: src\resources\resourcemanager.cpp
Compiling: src\resources\soundeffect.cpp
Compiling: src\resources\spritedef.cpp
Compiling: src\simpleanimation.cpp
Compiling: src\sound.cpp
Compiling: src\textparticle.cpp
Compiling: src\tmw.rc
Compiling: src\utils\base64.cpp
Compiling: src\utils\strprintf.cpp
Compiling: src\utils\xml.cpp
Linking executable: tmw.exe
.objs\src\gui\buy.o(.text$_ZN10LayoutCell12setRowHeightEii[LayoutCell::setRowHeight(int, int)]+0xd):buy.cpp: undefined reference to `LayoutCell::getArray()'
.objs\src\gui\buy.o(.text$_ZN10LayoutCell12setRowHeightEii[LayoutCell::setRowHeight(int, int)]+0x25):buy.cpp: undefined reference to `LayoutArray::setRowHeight(int, int)'
.objs\src\gui\char_select.o(.text+0x1ccc):char_select.cpp: undefined reference to `ContainerPlacer::operator()(int, int, gcn::Widget*, int, int)'
.objs\src\gui\char_select.o(.text+0x1d14):char_select.cpp: undefined reference to `ContainerPlacer::operator()(int, int, gcn::Widget*, int, int)'
.objs\src\gui\char_select.o(.text+0x1d4c):char_select.cpp: undefined reference to `ContainerPlacer::operator()(int, int, gcn::Widget*, int, int)'
.objs\src\gui\char_select.o(.text+0x1d84):char_select.cpp: undefined reference to `ContainerPlacer::operator()(int, int, gcn::Widget*, int, int)'
.objs\src\gui\char_select.o(.text+0x1dbc):char_select.cpp: undefined reference to `ContainerPlacer::operator()(int, int, gcn::Widget*, int, int)'
.objs\src\gui\char_select.o(.text+0x1df4):char_select.cpp: more undefined references to `ContainerPlacer::operator()(int, int, gcn::Widget*, int, int)' follow
.objs\src\gui\char_select.o(.text$_ZN10LayoutCell13matchColWidthEii[LayoutCell::matchColWidth(int, int)]+0xd):char_select.cpp: undefined reference to `LayoutCell::getArray()'
.objs\src\gui\char_select.o(.text$_ZN10LayoutCell13matchColWidthEii[LayoutCell::matchColWidth(int, int)]+0x25):char_select.cpp: undefined reference to `LayoutArray::matchColWidth(int, int)'
.objs\src\gui\gui.o(.text+0x210):gui.cpp: undefined reference to `SDLInput::SDLInput()'
.objs\src\gui\gui.o(.text+0x170c):gui.cpp: undefined reference to `SDLInput::SDLInput()'
.objs\src\gui\inventorywindow.o(.text$_ZN10LayoutCell11setColWidthEii[LayoutCell::setColWidth(int, int)]+0xd):inventorywindow.cpp: undefined reference to `LayoutCell::getArray()'
.objs\src\gui\inventorywindow.o(.text$_ZN10LayoutCell11setColWidthEii[LayoutCell::setColWidth(int, int)]+0x25):inventorywindow.cpp: undefined reference to `LayoutArray::setColWidth(int, int)'
.objs\src\gui\window.o(.text+0x394f):window.cpp: undefined reference to `Layout::reflow(int&, int&)'
.objs\src\gui\window.o(.text+0x4e65):window.cpp: undefined reference to `Layout::Layout()'
.objs\src\gui\window.o(.text+0x4fb9):window.cpp: undefined reference to `Layout::reflow(int&, int&)'
.objs\src\gui\window.o(.text$_ZN6LayoutD1Ev[Layout::~Layout()]+0xd):window.cpp: undefined reference to `LayoutCell::~LayoutCell()'
.objs\src\gui\window.o(.text$_ZN10LayoutCell5placeEPN3gcn6WidgetEiiii[LayoutCell::place(gcn::Widget*, int, int, int, int)]+0xd):window.cpp: undefined reference to `LayoutCell::getArray()'
.objs\src\gui\window.o(.text$_ZN10LayoutCell5placeEPN3gcn6WidgetEiiii[LayoutCell::place(gcn::Widget*, int, int, int, int)]+0x3a):window.cpp: undefined reference to `LayoutArray::place(gcn::Widget*, int, int, int, int)'
.objs\src\gui\window.o(.text$_ZN10LayoutCell2atEii[LayoutCell::at(int, int)]+0xd):window.cpp: undefined reference to `LayoutCell::getArray()'
.objs\src\gui\window.o(.text$_ZN10LayoutCell2atEii[LayoutCell::at(int, int)]+0x35):window.cpp: undefined reference to `LayoutArray::at(int, int, int, int)'
collect2: ld returned 1 exit status
Process terminated with status 1 (1 minutes, 54 seconds)
22 errors, 0 warnings
 
Help please??
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Post by Crush » 28 Oct 2007, 13:26

As I said in anotherone of your threads: the project files are often outdated. You have to add the files src/gui/sdlinput.cpp and src/gui/widgets/layout.cpp to the project.
  • 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.
yvansoftware
Peon
Peon
Posts: 27
Joined: 27 Oct 2007, 13:46
Location: Antwerp, Belgium

Post by yvansoftware » 28 Oct 2007, 19:17

:) Thank you very much! :)
Post Reply