Hi Guys
Trying to work out how to compile. I get the following errors.
libpng.lib(pngerror.obj) : error LNK2001: unresolved external symbol __iob_func
zlibstat.lib(gzlib.obj) : error LNK2001: unresolved external symbol sprintf
libfreetype2.lib(bdf.obj) : error LNK2001: unresolved external symbol sprintf
icuuc.lib(putil.obj) : error LNK2001: unresolved external symbol sprintf
icuuc.lib(uloc.obj) : error LNK2001: unresolved external symbol sprintf
icuuc.lib(rbbi.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl type_info::operator!=(class type_info const &)const " (??9type_info@@QEBA_NAEBV0@@Z)
icuuc.lib(uchriter.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl type_info::operator!=(class type_info const &)const " (??9type_info@@QEBA_NAEBV0@@Z)
icuuc.lib(schriter.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl type_info::operator!=(class type_info const &)const " (??9type_info@@QEBA_NAEBV0@@Z)
Any ideas ?
Errors when Compiling Trunk r27623 using VS2015
Moderator: OpenTTD Developers
Re: Errors when Compiling Trunk r27623 using VS2015
Found the issue. This version requires useful stuff 6.0.
All compiled.
Thanks,
All compiled.
Thanks,
-
- Engineer
- Posts: 2
- Joined: 17 Sep 2016 02:26
Re: Errors when Compiling Trunk r27623 using VS2015
Where did you find "useful stuff 6.0"?
I'm running into similar errors with VS2015 and solution file openttd_vs140 and openttd-useful-5.1, so I suspect that your fix will also resolve the issue for me, but I'm having trouble applying it.
I've found https://wiki.openttd.org/Compiling_on_W ... 2B%2B_2012
which links to http://www.openttd.org/en/download-openttd-useful
which only has version openttd-useful-5.1, from 2013. I can't seem to find a 6.0 anywhere.
I'm running into similar errors with VS2015 and solution file openttd_vs140 and openttd-useful-5.1, so I suspect that your fix will also resolve the issue for me, but I'm having trouble applying it.
I've found https://wiki.openttd.org/Compiling_on_W ... 2B%2B_2012
which links to http://www.openttd.org/en/download-openttd-useful
which only has version openttd-useful-5.1, from 2013. I can't seem to find a 6.0 anywhere.
Severity Code Description Project File Line Suppression State
Error LNK1120 3 unresolved externals openttd C:\Users\username\Documents\OpenTTD\trunk\objs\Win32\Release\openttd.exe 1
Error LNK2001 unresolved external symbol ___iob_func openttd C:\Users\username\Documents\OpenTTD\trunk\projects\libpng.lib(pngerror.obj) 1
Error LNK2001 unresolved external symbol _sprintf openttd C:\Users\username\Documents\OpenTTD\trunk\projects\zlibstat.lib(gzlib.obj) 1
Error LNK2001 unresolved external symbol _sprintf openttd C:\Users\username\Documents\OpenTTD\trunk\projects\libfreetype2.lib(bdf.obj) 1
Error LNK2001 unresolved external symbol _sprintf openttd C:\Users\username\Documents\OpenTTD\trunk\projects\icuuc.lib(putil.obj) 1
Error LNK2001 unresolved external symbol _sprintf openttd C:\Users\username\Documents\OpenTTD\trunk\projects\icuuc.lib(uloc.obj) 1
Error LNK2001 unresolved external symbol "public: bool __thiscall type_info::operator!=(class type_info const &)const " (??9type_info@@QBE_NABV0@@Z) openttd C:\Users\username\Documents\OpenTTD\trunk\projects\icuuc.lib(rbbi.obj) 1
Error LNK2001 unresolved external symbol "public: bool __thiscall type_info::operator!=(class type_info const &)const " (??9type_info@@QBE_NABV0@@Z) openttd C:\Users\username\Documents\OpenTTD\trunk\projects\icuuc.lib(uchriter.obj) 1
Error LNK2001 unresolved external symbol "public: bool __thiscall type_info::operator!=(class type_info const &)const " (??9type_info@@QBE_NABV0@@Z) openttd C:\Users\username\Documents\OpenTTD\trunk\projects\icuuc.lib(schriter.obj) 1
-
- Engineer
- Posts: 2
- Joined: 17 Sep 2016 02:26
Who is online
Users browsing this forum: No registered users and 13 guests