I removed 4.6.1 and installed 4.5.2 instead. I think that something is missing here, because I've got even more error messages:
Spoiler:
-------------- Build: Release in liblua ---------------
Target is up to date.
-------------- Build: Release in wesnoth ---------------
Linking executable: ..\..\wesnoth.exe
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: .objs-release\src\gui\dialogs\editor_resize_map.o: warning: duplicate section `.data$_ZZN5boost9function1IvPN4gui27twidgetEE9assign_toIPFvS3_EEEvT_E13stored_vtable[void boost::function1<void, gui2::twidget*>::assign_to<void (*)(gui2::twidget*)>(void (*)(gui2::twidget*))::stored_vtable]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: .objs-release\src\gui\dialogs\network_transmission.o: warning: duplicate section `.data$_ZGVZN5boost4asio5error17get_misc_categoryEvE8instance[guard variable for boost::asio::error::get_misc_category()::instance]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: .objs-release\src\gui\dialogs\network_transmission.o: warning: duplicate section `.data$_ZGVN5boost4asio6detail12service_baseINS1_15task_io_serviceEE2idE[guard variable for boost::asio::detail::service_base<boost::asio::detail::task_io_service>::id]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: .objs-release\src\gui\widgets\generator.o: warning: duplicate section `.data$_ZZN5boost9function1IvPN4gui27twidgetEE9assign_toIPFvS3_EEEvT_E13stored_vtable[void boost::function1<void, gui2::twidget*>::assign_to<void (*)(gui2::twidget*)>(void (*)(gui2::twidget*))::stored_vtable]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: .objs-release\src\network_asio.o: warning: duplicate section `.data$_ZGVZN5boost4asio5error17get_misc_categoryEvE8instance[guard variable for boost::asio::error::get_misc_category()::instance]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_program_options-mgw45-mt-1_46_1.a(value_semantic.o): warning: duplicate section `.data$_ZGVZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEbE5empty[guard variable for std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)::empty]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_program_options-mgw45-mt-1_46_1.a(value_semantic.o): warning: duplicate section `.data$_ZZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEbE5empty[std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)::empty]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cregex.o): warning: duplicate section `.data$_ZGVZN5boost12object_cacheINS_9re_detail21cpp_regex_traits_baseIcEENS1_31cpp_regex_traits_implementationIcEEE6do_getERKS3_jE6s_data[guard variable for boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, boost::re_detail::cpp_regex_traits_implementation<char> >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, unsigned int)::s_data]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cregex.o): warning: duplicate section `.data$_ZGVZN5boost9re_detail31cpp_regex_traits_implementationIcE4initEvE11null_string[guard variable for boost::re_detail::cpp_regex_traits_implementation<char>::init()::null_string]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cregex.o): warning: duplicate section `.data$_ZZN5boost9re_detail31cpp_regex_traits_implementationIcE4initEvE11null_string[boost::re_detail::cpp_regex_traits_implementation<char>::init()::null_string]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cregex.o): warning: duplicate section `.data$_ZZN5boost16cpp_regex_traitsIcE21get_catalog_name_instEvE6s_name[boost::cpp_regex_traits<char>::get_catalog_name_inst()::s_name]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cregex.o): warning: duplicate section `.data$_ZZN5boost9re_detail20get_default_class_idIcEEiPKT_S4_E10ranges_end[int boost::re_detail::get_default_class_id<char>(char const*, char const*)::ranges_end]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cregex.o): warning: duplicate section `.data$_ZZN5boost9re_detail20get_default_class_idIcEEiPKT_S4_E12ranges_begin[int boost::re_detail::get_default_class_id<char>(char const*, char const*)::ranges_begin]' has different size
c:/mingw32/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: C:\Program Files (x86)\CodeBlocks\lib_tdm_gcc/libboost_regex-mgw45-mt-1_46_1.a(cpp_regex_traits.o): warning: duplicate section `.data$_ZZN5boost16cpp_regex_traitsIcE21get_catalog_name_instEvE6s_name[boost::cpp_regex_traits<char>::get_catalog_name_inst()::s_name]' has different size
.objs-release\src\actions.o:actions.cpp:(.text+0x4e9c): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\actions.o:actions.cpp:(.text+0x5034): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\actions.o:actions.cpp:(.text+0x6abd): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\actions.o:actions.cpp:(.text$_ZN8unit_map13iterator_baseINS_19standard_iter_typesEE3decEv[unit_map::iterator_base<unit_map::standard_iter_types>::dec()]+0x7b): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\actions.o:actions.cpp:(.text$_ZN8unit_map13iterator_baseINS_16const_iter_typesEE3decEv[unit_map::iterator_base<unit_map::const_iter_types>::dec()]+0x7b): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\addon\manager.o:manager.cpp:(.text+0xedcb): undefined reference to `__chkstk_ms'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZNK5boost16exception_detail10clone_implINS0_19error_info_injectorISt12length_errorEEE5cloneEv[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::length_error> >::clone() const]+0x122): undefined reference to `std::length_error::~length_error()'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN5boost16exception_detail19error_info_injectorISt12length_errorED1Ev[boost::exception_detail::error_info_injector<std::length_error>::~error_info_injector()]+0x29): undefined reference to `std::length_error::~length_error()'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt12length_errorEEED1Ev[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::length_error> >::~clone_impl()]+0x30): undefined reference to `std::length_error::~length_error()'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt12length_errorEEED0Ev[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::length_error> >::~clone_impl()]+0x2b): undefined reference to `std::length_error::~length_error()'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN5boost16exception_detail19error_info_injectorISt12length_errorED0Ev[boost::exception_detail::error_info_injector<std::length_error>::~error_info_injector()]+0x24): undefined reference to `std::length_error::~length_error()'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN12network_asio10connectionD1Ev[network_asio::connection::~connection()]+0x556): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN5boost16exception_detail19error_info_injectorISt12length_errorEC2ERKS3_[boost::exception_detail::error_info_injector<std::length_error>::error_info_injector(boost::exception_detail::error_info_injector<std::length_error> const&)]+0xfa): undefined reference to `std::length_error::~length_error()'
.objs-release\src\addon\manager.o:manager.cpp:(.text$_ZN5boost15throw_exceptionISt12length_errorEEvRKT_[void boost::throw_exception<std::length_error>(std::length_error const&)]+0x172): undefined reference to `std::length_error::~length_error()'
.objs-release\src\ai\actions.o:actions.cpp:(.text+0x50cb): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\actions.o:actions.cpp:(.text$_ZNK8unit_map13iterator_baseINS_19standard_iter_typesEE21recover_unit_iteratorEv[unit_map::iterator_base<unit_map::standard_iter_types>::recover_unit_iterator() const]+0x166): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZNK5boost16exception_detail10clone_implINS0_19error_info_injectorISt16invalid_argumentEEE5cloneEv[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::invalid_argument> >::clone() const]+0x122): undefined reference to `std::invalid_argument::~invalid_argument()'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost16exception_detail19error_info_injectorISt16invalid_argumentED1Ev[boost::exception_detail::error_info_injector<std::invalid_argument>::~error_info_injector()]+0x75): undefined reference to `std::invalid_argument::~invalid_argument()'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt16invalid_argumentEEED1Ev[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::invalid_argument> >::~clone_impl()]+0x7c): undefined reference to `std::invalid_argument::~invalid_argument()'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorISt16invalid_argumentEEED0Ev[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::invalid_argument> >::~clone_impl()]+0x7c): undefined reference to `std::invalid_argument::~invalid_argument()'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost16exception_detail19error_info_injectorISt16invalid_argumentED0Ev[boost::exception_detail::error_info_injector<std::invalid_argument>::~error_info_injector()]+0x75): undefined reference to `std::invalid_argument::~invalid_argument()'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost16exception_detail19error_info_injectorISt16invalid_argumentEC2ERKS3_[boost::exception_detail::error_info_injector<std::invalid_argument>::error_info_injector(boost::exception_detail::error_info_injector<std::invalid_argument> const&)]+0xfa): more undefined references to `std::invalid_argument::~invalid_argument()' follow
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost12object_cacheINS_9re_detail21cpp_regex_traits_baseIcEENS1_31cpp_regex_traits_implementationIcEEE6do_getERKS3_j[boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, boost::re_detail::cpp_regex_traits_implementation<char> >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, unsigned int)]+0x278): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost12object_cacheINS_9re_detail21cpp_regex_traits_baseIcEENS1_31cpp_regex_traits_implementationIcEEE6do_getERKS3_j[boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, boost::re_detail::cpp_regex_traits_implementation<char> >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, unsigned int)]+0x4f7): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost12object_cacheINS_9re_detail21cpp_regex_traits_baseIcEENS1_31cpp_regex_traits_implementationIcEEE6do_getERKS3_j[boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, boost::re_detail::cpp_regex_traits_implementation<char> >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, unsigned int)]+0x523): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\ai\composite\component.o:component.cpp:(.text$_ZN5boost12object_cacheINS_9re_detail21cpp_regex_traits_baseIcEENS1_31cpp_regex_traits_implementationIcEEE6do_getERKS3_j[boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, boost::re_detail::cpp_regex_traits_implementation<char> >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, unsigned int)]+0x857): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\composite\engine_lua.o:engine_lua.cpp:(.text+0x2c12): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\composite\engine_lua.o:engine_lua.cpp:(.text+0x2cce): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\composite\engine_lua.o:engine_lua.cpp:(.text$_ZN2ai35lua_sticky_candidate_action_wrapper8evaluateEv[ai::lua_sticky_candidate_action_wrapper::evaluate()]+0x162): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\composite\engine_lua.o:engine_lua.cpp:(.text$_ZN2ai35lua_sticky_candidate_action_wrapperC1ERNS_11rca_contextERK6configRNS_14lua_ai_contextE[ai::lua_sticky_candidate_action_wrapper::lua_sticky_candidate_action_wrapper(ai::rca_context&, config const&, ai::lua_ai_context&)]+0x6c8): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\ai\composite\goal.o:goal.cpp:(.text+0x43fe): more undefined references to `std::__detail::_List_node_base::_M_unhook()' follow
.objs-release\src\display.o:display.cpp:(.text+0x58ad): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text+0x5b0e): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text+0x5d51): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text+0x809b): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text+0x14ae6): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\display.o:display.cpp:(.text+0x14b0e): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\display.o:display.cpp:(.text+0x14e1a): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\display.o:display.cpp:(.text+0x14e42): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
.objs-release\src\display.o:display.cpp:(.text+0x14f49): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text+0x15372): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0xba): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x14f): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x17e): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x195): undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x1cd): undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x1fb): undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x289): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x2b5): undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIN7display5tblitESaIS1_EE4sortEv[std::list<display::tblit, std::allocator<display::tblit> >::sort()]+0x2e2): undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)'
.objs-release\src\display.o:display.cpp:(.text$_ZNSt4listIP5arrowSaIS1_EEC1ERKS3_[std::list<arrow*, std::allocator<arrow*> >::list(std::list<arrow*, std::allocator<arrow*> > const&)]+0x82): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
Process terminated with status 1 (0 minutes, 14 seconds)
50 errors, 14 warnings
Well, I think it was stupid to assume that my half-ready build (built with 4.6.1) would finish cleanly with 4.5.2. I decided to clean the workspace, update SVN, reinstall 4.5.2. to a different directory (just for safety measure, I think my installer removed files just fine) and rebuild the whole project.
Build is running now
UPDATE: I need to go afk for a while so I won't see how my install went for a few hours. I just leave it running.
Spoiler:
-------------- Build: Release in liblua ---------------
It did work now, I only got warnings. Will check later how it works
A question about SVN: how do I figure out which revision is 1.9.9. (or 1.9.10.) for example? I can see revision numbers only.
Compiling: if I update SVN (a new release comes out) and I want to build/compile wesnoth again, do I have to rebuild workspace? How do I set where I would like to see my userdata directory? How do I apply a patch (like here: #18892 [Gna.org]
Last edited by csarmi on November 10th, 2011, 6:35 am, edited 3 times in total.
Hah, I got Ninja'd Or I'm not sure who did. Yea, doing just that, had some time to think it over while taking my breakfast
It did work. See my post above. Of course my version is 1.9.10+SVN now, but it does feel great.
Now I did this for three reasons:
1) I'd like to be able to do something if I experience a bug. I still don't know how to test, check, debug, etc. Is there a way to run my wesnoth in debug mode?
2) I'd like to be able to watch some 1.9.9 replays without my computer hanging up. I think I'll be able to do that now, I'll go back to 1.9.9 release and apply the replay patch and compile (I don't know how patches work yet exactly, but I think I can correct the code by hand in the worst case). If I do compile it fine, does that mean it would work for others too? I mean others with windows.
3) I just wanted to do it to ee if I can. Compiling a game is fun
It would be nice if someone could upload an updated version of intl.dll ...
I have 12Mb internet but i have problems downloading and it will take me 4+ hours to download wesnoth 1.9.10.
I tried using intl.dll from version 1.8.6 which I have but i get an error message - I attached a screenshot.
Is this because I need the intl.dll file from wesnoth 1.9.10?
EDIT: Forgot to mention that I compiled wesnoth using instructions for CodeBlocks in readme.txt; compiled successfully without any problems.
Attachments
intl-dll-error-186.jpg (14.15 KiB) Viewed 7997 times
orondf wrote:Is this because I need the intl.dll file from wesnoth 1.9.10?
Probably.
Alternatively you can try to search for a missing dll on the internet, download it from some site like dll-files.com or so and put it into the program's execution directory. This works not only with wesnoth.
I have searched but the only version I found is older (0.12.0.0 44kB) and I get the same error from it. (note: intl.dll from 1.8.6 is 0.17.0.0 103kB)...
Can you please upload it so I don't have to wait ages for 1.9.10 to download?
Compiling trunk with Codeblocks broke for me upon 55530: 'Merge branch bzip2'. Errors are a bunch of undefined things. (45 total).
I'm fairly sure the solution involves updating boost.
With regards to the Codeblocks build instructions in trunk:
I tried replacing the boost folder in CodeBlocks\include_tdm_gcc with the appropriate one from boost 1.51.0, however that doesn't appear to be enough. I see that there are boost.a files in CodeBlocks\lib_tdm_gcc, but I'm not sure where/how to get/make the replacements.
Or I might be a bit farther off. Anyone have any ideas to point me in the right direction?
That change (sorry about the commit message, it was something like 10 commits that git-svn collapsed) added a dependency. In addition to libz (for gzip), we now require libbz2 (bzip2).
Placed bzlib.h into my CB includes folder
Placed libbz2.a & libbz2.dll.a into my CB lib folder
Added lines for the .a files into my CB project file
Placed libbz2-2.dll into the folder where Wesnoth.exe would be made.
But I’m still getting a bunch of undefined reference errors like the following:
undefined reference to `boost::iostreams::detail::bzip2_base::bzip2_base(boost::iostreams::bzip2_params const&)'|
Should I upgrade from tdm-gcc 4.5.2 to 4.6 or 4.7?
Should I upgrade boost from 1.46?
Something else perhaps?
I'm currently waiting for loonycyborg to make the next release until I deal with updating my MingGw system...
I could update MSVC without a lot of problems, and that's enough to keep the code up-to-date as most win-only problems happen in MSVC.
If you manage to update it quicker you perhaps can take maintenance. You probably need to recompile the boost .as, using same compiler as for the project. I wouldn't change the compiler, last time I tried that it caused linker errors.
It seems that the neccessary boost_bzip2 stuff which I needed in MSVC was only added to boost in one of the newer boost versions, perhaps 1.46 doesn't yet have it.
EDIT
There's some related talk and links on irc #wesnoth-dev about 10.09.2012 0.00
Here's how I've built boost.iostreams with bzip2 support:
Installed bzip2 from http://gnuwin32.sourceforge.net/packages/bzip2.htm using the first installer there
then ran from cmd.exe from boost's dir
set BZIP2_SOURCE="d:\Program Files\GnuWin32\include"
set ZLIB_SOURCE="d:\GTK-DEV\include"
bjam --with-iostreams -sNO_ZLIB=0 -sNO_BZIP2=0
If the boost library is static then the whole app that links against it must link against bz2 from the bzip2 package too, and in all cases you'll need bzip2.dll at runtime.
Placed the new libboost_iostreams-mgw45-mt-1_46_1.a into my CB lib folder
Placed bzlib.h into my CB includes folder
Placed libbz2.a & libbz2.dll.a into my CB lib folder
Added lines for the .a files into my CB project file
Placed bzip2.dll into the folder where Wesnoth.exe would be made.
Those where the only changes I made.
I got wesnoth.exe to compile & run with r55658, however, wesnothd.exe threw the following errors: