godot/drivers
ZuBsPaCe b051914032 Fixes Visual Studio 2015 linker error (___iob_func)
The original, uncommited fix simply changed compiler flag /MT to /MD. This
would link the C runtime dynamically instead of statically. This is bad,
because some users would have to install the c runtime before starting the
editor.

You can find alot of info about this error, which can happen after
upgrading to VS 2015, and there are workarounds. But I realized, that the
only place, where iob_func is used, is in e_os.h of the openssl library.
The latest version already contains a workaround. I simply updated the
part in e_os.h.

Reference: https://github.com/openssl/openssl/blob/master/e_os.h#L268
Reference: https://software.intel.com/en-us/forums/intel-parallel-studio-beta-archived/topic/266345
Reference: https://connect.microsoft.com/VisualStudio/feedback/details/1144980/error-lnk2001-unresolved-external-symbol-imp-iob-func
Reference: http://stackoverflow.com/questions/757418/should-i-compile-with-md-or-mt

Here's the original error message:

   Creating library bin\godot.windows.tools.lib and object bin\godot.windows.tools.exp
drivers1.windows.tools.lib(t1_enc.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(txt_db.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(d1_enc.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(ui_openssl.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(cryptlib.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(pem_lib.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(d1_both.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
drivers1.windows.tools.lib(rsa_sign.windows.tools.obj) : error LNK2001: unresolved external symbol ___iob_func
bin\godot.windows.tools.exe : fatal error LNK1120: 1 unresolved externals
scons: *** [bin\godot.windows.tools.exe] Error 1120
2015-10-30 03:03:05 +01:00
..
alsa Updated copyright year in all headers 2015-04-18 14:38:54 -03:00
builtin_openssl2 Fixes Visual Studio 2015 linker error (___iob_func) 2015-10-30 03:03:05 +01:00
builtin_zlib GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
chibi **WARNING BEFORE PULLING** 2015-08-23 20:15:56 -03:00
convex_decomp more c++ include references removed 2015-09-10 20:53:31 -03:00
dds **WARNING BEFORE PULLING** 2015-08-23 20:15:56 -03:00
etc1 newline fixes 2015-10-08 15:00:40 -03:00
gl_context Haiku: fix the glew.c hack 2015-06-26 21:32:57 +03:00
gles2 -Ability to debug video memory usage 2015-10-21 09:50:44 -03:00
jpg GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
mpc Rewrite of the AudioStream API 2015-09-09 18:50:52 -03:00
nedmalloc newline fixes 2015-10-08 15:00:40 -03:00
nrex Fixed incorrect failsafe return values 2015-07-24 16:15:04 +01:00
ogg -Much improvement to baked light baker 2014-10-27 22:54:32 -03:00
openssl newline fixes 2015-10-08 15:00:40 -03:00
opus Fixes following Visual Studio 2013 compile error on windows: 2015-10-03 00:42:40 +02:00
png Fixes compile bug for Android template on Windows. 2015-07-24 13:12:23 -06:00
pulseaudio Fixed theora playback. Removed theoraplayer. 2015-09-26 14:50:42 -03:00
pvr **WARNING BEFORE PULLING** 2015-08-23 20:15:56 -03:00
rtaudio newline fixes 2015-10-08 15:00:40 -03:00
speex newline fixes 2015-10-08 15:00:40 -03:00
squish missing fils from yesterday comit. 2014-10-03 08:58:41 -03:00
theora ability to change audio track in theora video 2015-10-13 01:17:54 -03:00
unix Merge pull request #2365 from Mavhod/patch-1 2015-10-17 10:49:46 -03:00
vorbis -some fixes to where screen is read from rasterizer 2015-10-19 18:47:49 -03:00
webp Fix android build script 2015-09-16 16:14:38 +04:30
windows -Corrected DirAccessWindows functions, fixes #1872, properly fixes #791. 2015-05-09 13:05:34 -03:00
register_driver_types.cpp Merge branch 'master' of https://github.com/okamstudio/godot 2015-10-13 01:19:32 -03:00
register_driver_types.h GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
SCsub Merge branch 'master' of https://github.com/okamstudio/godot 2015-10-13 01:19:32 -03:00