IRC logs for #openttd.dev on OFTC at 2013-12-15
⏴ go to previous day
00:22:11 *** TheIJ has joined #openttd.dev
00:48:06 *** Hirundo has joined #openttd.dev
00:48:36 *** Terkhen has joined #openttd.dev
00:48:36 *** planetmaker has joined #openttd.dev
00:48:37 *** ChanServ sets mode: +v Terkhen
00:48:37 *** ChanServ sets mode: +v planetmaker
01:55:55 *** orudge has joined #openttd.dev
02:27:36 *** Yexo has joined #openttd.dev
03:31:28 *** Supercheese has joined #openttd.dev
03:31:28 *** ChanServ sets mode: +v Supercheese
08:26:46 *** adf88 has joined #openttd.dev
08:26:46 *** ChanServ sets mode: +v adf88
10:36:57 *** Alberth has joined #openttd.dev
10:36:58 *** ChanServ sets mode: +v Alberth
10:39:00 *** adf88 has joined #openttd.dev
10:39:00 *** orudge has joined #openttd.dev
10:39:00 *** Terkhen has joined #openttd.dev
10:39:00 *** coulomb.oftc.net sets mode: +vv adf88 Terkhen
10:40:28 *** TheIJ has joined #openttd.dev
10:55:12 *** orudge has joined #openttd.dev
10:55:12 *** Terkhen has joined #openttd.dev
10:55:12 *** coulomb.oftc.net sets mode: +v Terkhen
10:59:18 *** orudge has joined #openttd.dev
11:25:37 *** Ristovski has joined #openttd.dev
11:43:18 *** adf88 has joined #openttd.dev
11:43:18 *** ChanServ sets mode: +v adf88
11:57:15 *** DorpsGek has joined #openttd.dev
11:57:15 *** ChanServ sets mode: +v DorpsGek
12:06:06 *** Webster has joined #openttd.dev
12:06:06 *** ChanServ sets mode: +v Webster
12:14:07 *** fonsinchen has joined #openttd.dev
12:34:30 *** michi_cc has joined #openttd.dev
12:34:30 *** ChanServ sets mode: +v michi_cc
12:48:24 *** adf89 has joined #openttd.dev
13:24:05 *** frosch123 has joined #openttd.dev
13:24:05 *** ChanServ sets mode: +v frosch123
14:08:53 *** LordAro has joined #openttd.dev
14:08:53 *** ChanServ sets mode: +v LordAro
14:09:28 <LordAro> question: how does OTTD deal with library linking in Visual Studio?
14:09:48 <LordAro> are things statically linked? or how do you get the libraries in the right place?
14:11:16 <frosch123> does the .zip bundle contain any libraries?
14:11:56 <LordAro> i have no idea, i can't (haven't tried to set up) compile ottd
14:13:32 <frosch123> no, i mean the finished binaries
14:13:46 <frosch123> if the .zip contains no libs, apparently everything must have been statically linked
14:17:08 <LordAro> there are indeed no .dll or .lib files
14:17:13 <LordAro> so i guess static it is :)
14:19:39 <michi_cc> LordAro: You add the path where you store the libs to the VS IDE. Compile farm uses static libs for the official binaries, but it doesn't really matter if the .lib file is the full static lib or just a DLL import lib. Static libs just make life easier on many points.
14:20:06 <michi_cc> And as a GPL project we don't have any with statically linking (L)GPL libs either.
14:20:45 <LordAro> now, i've just got to work out how to make cmake generate project files that link statically :)
14:21:44 *** JGR has joined #openttd.dev
14:23:41 <michi_cc> There's no magic at all in it. You give the linker a lib file, eg libz.lib or whatever. Only the contents of the lib file decides if the lib is static or not. A few libs do require special defines to make static libs work (e.g. disableing __declspec(dllimport)). The only special lib is the MSVCR libc, and that is changed by a command line switch (/MD versus /MT).
15:31:52 *** Ristovski has joined #openttd.dev
18:08:29 <LordAro> i'm still having trouble getting it to link statically. maybe i'm linking against the wrong library file? how can i tell?
19:50:29 *** adf88 has joined #openttd.dev
19:50:29 *** ChanServ sets mode: +v adf88
20:00:18 <LordAro> "msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)" mean anything to anyone?
20:12:49 <Rubidium> did you make the libraries yourself?
20:25:20 <LordAro> no, this is only attempting to link SDL (and SDL_ttf)
20:25:32 <LordAro> which i donwloaded a windows binary of
20:26:20 <Rubidium> then that library isn't compiled in a manner that it can be linked to openttd; for some reasons there are several ways to compile libraries
20:26:37 <Rubidium> ... and for some reason openttd seems to use the hard one, or at least an uncommon one or so
20:29:42 <LordAro> oh, this isn't ottd :L
20:29:52 <LordAro> i'm just asking for help :)
20:31:43 <Rubidium> there's some linking or omitting standard functions setting somewhere that might need to be toggled
20:43:17 <LordAro> but i need someone familiar with windows to tell me what that is :)
20:59:18 *** Alberth has left #openttd.dev
21:06:52 *** planetmaker has joined #openttd.dev
21:06:52 *** Yexo has joined #openttd.dev
21:06:52 *** ChanServ sets mode: +v planetmaker
21:07:09 *** Zuu has joined #openttd.dev
21:08:22 *** Hirundo has joined #openttd.dev
21:08:52 *** Terkhen has joined #openttd.dev
21:08:52 *** ChanServ sets mode: +v Terkhen
21:10:15 *** fonsinchen has joined #openttd.dev
21:35:18 <LordAro> ottd doesn't use SDL statically, does it?
21:35:52 <Rubidium> it doesn't use SDL on Windows
23:23:05 *** adf88 has joined #openttd.dev
23:23:05 *** ChanServ sets mode: +v adf88
continue to next day ⏵