ike3 / mangosbot

This is a modification of MaNGOS (Zero, One, R2, Trinity) server which brings a number of bots online and available for any player. Also allows you to use your account/guild characters as bots.
http://ike3.github.io/mangosbot-docs/
GNU General Public License v2.0
182 stars 77 forks source link

Compiler error on Ubuntu 14.04 LTS #62

Closed iMontouch closed 8 years ago

iMontouch commented 8 years ago

../../plugins/libplugins.a(CustomStrategy.cpp.o): In functionai::CustomStrategy::InitTriggers(std::list<ai::TriggerNode, std::allocator<ai::TriggerNode> >&)': CustomStrategy.cpp:(.text+0xba0): undefined reference to std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, std::bitset<11ul>)' CustomStrategy.cpp:(.text+0xbb9): undefined reference tostd::regex_iterator<gnu_cxx::normal_iterator<char const*, std::string>, char, std::regex_traits >::regex_iterator()' CustomStrategy.cpp:(.text+0xbce): undefined reference to `std::regex_iterator<gnu_cxx::normal_iterator<char const, std::string>, char, std::regex_traits >::operator!=(std::regex_iterator<__gnu_cxx::__normal_iterator<char const, std::string>, char, std::regex_traits > const&)' CustomStrategy.cpp:(.text+0xbf7): undefined reference to std::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator*()' CustomStrategy.cpp:(.text+0xd3e): undefined reference tostd::regex_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits >::operator++()' collect2: error: ld returned 1 exit status make[2]: [src/server/worldserver/worldserver] Error 1 make[1]: [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2 make: *** [all] Error 2`

ghost commented 8 years ago

Any chance you could post that directly on http://paste.ubuntu.com/ and link it here? :-) The way it looks now, it is hard to read properly to get an idea of what is going on. That kind of output is usually more formatted on the dump screen.

iMontouch commented 8 years ago

sure =) Here you go.

This file has errors? or is it just a linux problem?

Has the last commit been compiled successfully yet? @conan513 do you know anything about it?

Any more information needed?

iMontouch commented 8 years ago

Fixed using this.

ghost commented 8 years ago

Sorry about the delay, I have had some personal issues and other challenges to overcome. I hope you were able to fix your issue in a fairly simple way. I was hoping to compile it in Windows, but other things got in the way (real life and other things).

iMontouch commented 8 years ago

No problem at all! :)