Hello,
when I try to compile the latest OpenTTD version from the source code provided in the SVN I get the errors shown in the picture below. I use Visual Studio 15 Community edition and already did everything written here: https://wiki.openttd.org/Compiling_on_W ... 2B%2B_2012.
If anyone has any Ideas please let me know!
Thanks in advance!!!
OpenTTD Compiling Error LNK20**
Moderator: OpenTTD Developers
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: OpenTTD Compiling Error LNK20**
Have you installed the appropriate openttd-useful? I don't use windows, but iirc there's a newer version than linked by default from our website; might be that it's required for the 2015 version of MSVC.
new experimental: https://www.openttd.org/en/download-openttd-useful/6.0
default: https://www.openttd.org/en/download-openttd-useful https://www.openttd.org/en/download-openttd-useful/5.1
new experimental: https://www.openttd.org/en/download-openttd-useful/6.0
default: https://www.openttd.org/en/download-openttd-useful https://www.openttd.org/en/download-openttd-useful/5.1
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: OpenTTD Compiling Error LNK20**
sprintf is a function from the Standard C Library. That looks rather odd, because if that one'd be missing you'd get tons of unresolved symbols. Is that overloaded somewhere or implicitely defined due to a missing #include ?
Beer is not the answer. It's the question, and the answer is YES.
Re: OpenTTD Compiling Error LNK20**
Thanks! The new packages helped!
Now when I try to executed the resulting openttd.exe it says: "No available language packs (invalid version?)"
Any ideas?
I compiled it in debug mode
EDIT: Got it, thanks guys
Now when I try to executed the resulting openttd.exe it says: "No available language packs (invalid version?)"
Any ideas?
I compiled it in debug mode
EDIT: Got it, thanks guys
Re: OpenTTD Compiling Error LNK20**
I have a request:
while the memory is still fresh after successfully working through the problem, can you create the MSVC 2015 version of the wiki page?
https://wiki.openttd.org/?title=Compili ... ction=edit
Even if that means copying and pasting most of the contents from 2012 version and only updating the link to the updated version of openttd-useful, someone may still find the page helpful.
while the memory is still fresh after successfully working through the problem, can you create the MSVC 2015 version of the wiki page?
https://wiki.openttd.org/?title=Compili ... ction=edit
Even if that means copying and pasting most of the contents from 2012 version and only updating the link to the updated version of openttd-useful, someone may still find the page helpful.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: OpenTTD Compiling Error LNK20**
I very much support that requestSylf wrote:I have a request:
while the memory is still fresh after successfully working through the problem, can you create the MSVC 2015 version of the wiki page?
https://wiki.openttd.org/?title=Compili ... ction=edit
Even if that means copying and pasting most of the contents from 2012 version and only updating the link to the updated version of openttd-useful, someone may still find the page helpful.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Who is online
Users browsing this forum: No registered users and 10 guests