compile trouble ! help

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
funlxd
Peon
Peon
Posts: 2
Joined: 16 Jul 2009, 10:47

compile trouble ! help

Post by funlxd » 20 Jul 2009, 13:26

windows codeblock 8.02 https://svn.sourceforge.net/svnroot/the ... tmw/trunk/

||warning: auto-importing has been activated without --enable-auto-import specified on the command line.|
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs..objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x181)||undefined reference to `Resource::incRef()'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x21d)||undefined reference to `Resource::incRef()'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x273)||undefined reference to `ResourceManager::getInstance()'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x28f)||undefined reference to `ResourceManager::getSprite(std::string const&, int)'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x31f)||undefined reference to `Resource::decRef()'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x350)||undefined reference to `Resource::decRef()'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x366)||undefined reference to `Resource::decRef()'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x3a8)||undefined reference to `SpriteDef::getAction(SpriteAction) const'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x3d3)||undefined reference to `Action::getAnimation(int) const'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x4c6)||undefined reference to `Animation::isTerminator(Frame const&)'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x575)||undefined reference to `Animation::isTerminator(Frame const&)'|
.objs\src\animatedsprite.o:animatedsprite.cpp:(.text+0x64b)||undefined reference to `Action::getAnimation(int) const'|
.objs\src\being.o:being.cpp:(.text+0x530)||undefined reference to `SpeechBubble::SpeechBubble()'|
.objs\src\being.o:being.cpp:(.text+0x588)||undefined reference to `ResourceManager::getInstance()'|
.objs\src\being.o:being.cpp:(.text+0x5e6)||undefined reference to `ResourceManager::getImageSet(std::string const&, int, int)'|
.objs\src\being.o:being.cpp:(.text+0xdfc)||undefined reference to `SpeechBubble::SpeechBubble()'|
.objs\src\being.o:being.cpp:(.text+0xe54)||undefined reference to `ResourceManager::getInstance()'|
.objs\src\being.o:being.cpp:(.text+0xeb2)||undefined reference to `ResourceManager::getImageSet(std::string const&, int, int)'|
.objs\src\being.o:being.cpp:(.text+0x1385)||undefined reference to `Resource::decRef()'|
.objs\src\being.o:being.cpp:(.text+0x16ff)||undefined reference to `Resource::decRef()'|
.objs\src\being.o:being.cpp:(.text+0x1a79)||undefined reference to `Resource::decRef()'|
.objs\src\being.o:being.cpp:(.text+0x23d5)||undefined reference to `_hitYellowFont'|
.objs\src\being.o:being.cpp:(.text+0x257c)||undefined reference to `_hitBlueFont'|
.objs\src\being.o:being.cpp:(.text+0x2586)||undefined reference to `_hitRedFont'|
.objs\src\being.o:being.cpp:(.text+0x2e42)||undefined reference to `ImageSet::get(unsigned int) const'|
.objs\src\being.o:being.cpp:(.text+0x2efd)||undefined reference to `SpeechBubble::getNumRows()'|
.objs\src\being.o:being.cpp:(.text+0x2f5e)||undefined reference to `SpeechBubble::setText(std::string)'|
.objs\src\being.o:being.cpp:(.text+0x2fc1)||undefined reference to `Window::setVisible(bool)'|
.objs\src\being.o:being.cpp:(.text+0x2fe9)||undefined reference to `Window::setVisible(bool)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x52d)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x73b)||undefined reference to `Net::ChatServer::announce(std::string const&)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x835)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x9d2)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0xb6f)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0xd0c)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0xea9)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x6c52)||undefined reference to `Net::ChatServer::privMsg(std::string const&, std::string const&)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x6e52)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x6f77)||undefined reference to `Net::ChatServer::enterChannel(std::string const&, std::string const&)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x703b)||undefined reference to `Net::ChatServer::getChannelList()'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7051)||undefined reference to `ChatWindow::getFocused() const'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7059)||undefined reference to `Net::ChatServer::getUserList(std::string const&)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x70b1)||undefined reference to `ChatWindow::getFocused() const'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x70e8)||undefined reference to `Net::ChatServer::setChannelTopic(short, std::string const&)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7184)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7329)||undefined reference to `ChatWindow::getFocused() const'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7357)||undefined reference to `Net::ChatServer::quitChannel(short)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x73f3)||undefined reference to `ChatWindow::chatLog(std::string, int, std::string)'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7557)||undefined reference to `ChatWindow::getFocused() const'|
.objs\src\commandhandler.o:commandhandler.cpp:(.text+0x7568)||undefined reference to `ChatWindow::clearTab(std::string const&)'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 1 warnings ===|
User avatar
.:age:.
Peon
Peon
Posts: 17
Joined: 13 Jul 2009, 23:01
Location: USA
Contact:

Re: compile trouble ! help

Post by .:age:. » 22 Jul 2009, 07:51

Okay, you're trying to compile the old SVN files. TMW has officially switched over to the git repository instead of SVN.

See
http://forums.themanaworld.org/viewtopic.php?f=6&t=6981
for information on how to compile the latest git and see
http://wiki.themanaworld.org/index.php/Git_Repository
for information about the git repository.

Happy compiling.
"The past often attacks the present with the pain of memories."
-Unknown
funlxd
Peon
Peon
Posts: 2
Joined: 16 Jul 2009, 10:47

Re: compile trouble ! help

Post by funlxd » 25 Jul 2009, 04:41

.:age:. wrote:Okay, you're trying to compile the old SVN files. TMW has officially switched over to the git repository instead of SVN.

See
http://forums.themanaworld.org/viewtopic.php?f=6&t=6981
for information on how to compile the latest git and see
http://wiki.themanaworld.org/index.php/Git_Repository
for information about the git repository.

Happy compiling.
Thanks very much! , i did it as you say,but i get these error message,could you tell me what's wrong,


D:\test\tmw-mainline-master\src\localplayer.cpp|767|error: 'class std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >' has no member named 'at'|
D:\test\tmw-mainline-master\src\localplayer.cpp||In member function `void LocalPlayer::lowerAttribute(size_t)':|
D:\test\tmw-mainline-master\src\localplayer.cpp|776|error: 'class std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >' has no member named 'at'|
||=== Build finished: 2 errors, 54 warnings ===|
Post Reply