code logs -> 2010 -> Sat, 28 Aug 2010< code.20100827.log - code.20100829.log >
--- Log opened Sat Aug 28 00:00:38 2010
00:11 Anno[Laptop] [annodomini@Nightstar-c488d439.adsl.tpnet.pl] has quit [[NS] Quit: SLEEP.]
01:01 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
01:16 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
01:17 Syloqs_AFH is now known as Syloqs-AFH
01:48 Orthia [orthianz@Nightstar-6d69cd09.xnet.co.nz] has joined #code
01:59 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
02:12 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
02:53 cpux_ [chatzilla@Nightstar-20a84089.dyn.optonline.net] has joined #code
02:54 cpux [chatzilla@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
02:54 cpux_ is now known as cpux
03:50 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
03:56 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
03:57 Syloqs_AFH is now known as Syloqs-AFH
05:08 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
05:17 cpux_ [chatzilla@Nightstar-20a84089.dyn.optonline.net] has joined #code
05:19 cpux [chatzilla@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:20 cpux_ is now known as cpux
06:04 Workrah [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:13 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has joined #code
06:16 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
06:22 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:23 Syloqs_AFH is now known as Syloqs-AFH
06:48 cpux [chatzilla@Nightstar-20a84089.dyn.optonline.net] has quit [[NS] Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]]
06:51 cpux [chatzilla@Nightstar-20a84089.dyn.optonline.net] has joined #code
07:19 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
07:56 Derakon[AFK] is now known as Derakon
08:00 Vornicus is now known as Vornicus-Latens
08:09 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
08:17 Derakon is now known as Derakon[AFK]
08:40 You're now known as TheWatcher
09:06 cpux is now known as shade_of_cpux
09:12 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
09:58 Anno[Laptop] [annodomini@Nightstar-c488d439.adsl.tpnet.pl] has joined #code
10:36 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
11:22 Anno[Laptop] [annodomini@Nightstar-c488d439.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:24 Anno[Laptop] [annodomini@Nightstar-3be1e04d.adsl.tpnet.pl] has joined #code
11:32 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [[NS] Quit: Leaving]
11:36 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has quit [Client exited]
12:23 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
12:42 cpux [chatzilla@Nightstar-20a84089.dyn.optonline.net] has joined #code
12:45 shade_of_cpux [chatzilla@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
12:45 cpux is now known as shade_of_cpux
13:09 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:23 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
15:00 Stalker is now known as Q
15:00 Q is now known as Stalker
15:02 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has left #code []
15:04 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
15:11 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
15:14 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Ping timeout: 121 seconds]
15:15 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Reboot]
15:18 Vornicus-Latens is now known as Vornicus
15:21 PinkFreud is now known as Darth_Freud
15:21 Darth_Freud is now known as PinkFreud
15:27 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Client closed the connection]
15:29 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
15:39 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
16:13 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Client closed the connection]
16:17 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
16:25 shade_of_cpux is now known as cpux
16:35 Derakon[AFK] [Derakon@Nightstar-cfae48c3.ca.comcast.net] has quit [Ping timeout: 121 seconds]
17:14 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
17:24 cpux is now known as shade_of_cpux
17:47 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
18:36 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Client closed the connection]
19:22 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
20:47 Derakon [Derakon@Nightstar-cfae48c3.ca.comcast.net] has joined #code
20:51 * Derakon ponders this design problem...
20:51
< Derakon>
Well, a physical design problem, not a CS design problem.
21:06 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
21:09 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
21:12 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
21:13 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Ping timeout: 121 seconds]
21:19 Stalker [Z@5E691D.FC7C16.7074BE.B4FB8C] has joined #code
21:30 Stalker [Z@5E691D.FC7C16.7074BE.B4FB8C] has quit [Client closed the connection]
21:37 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
21:50 RichardBarrell [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has joined #code
21:55 RichardB_ [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has joined #code
21:57 RichardBarrell [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
22:01 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
22:33
< celticminstrel>
...what on earth is this error?
22:34
< celticminstrel>
Fatal Error: Mismatch between the program and library build versions detected.
22:34
< celticminstrel>
The library used 2.8 (debug,ANSI,compiler with C++ ABI 1002,STL containers),
22:34
< celticminstrel>
and your program used 2.8 (no debug,ANSI,compiler with C++ ABI 1002,STL containers).
22:35
< McMartin>
Exactly what it said; you'retrying to link a release build against debug libraries, and this won't work because C++ does them differently.
22:37
< celticminstrel>
I got the error when building a debug build too though...
22:37
< celticminstrel>
Exactly the same error.
22:38
< celticminstrel>
I'm guessing there's something wrong in the configuration somewhere?
22:39
< McMartin>
I think I've made my opinion of wx well-known, so I haven't delved too deeply into it.
22:39
< McMartin>
Congratulations on getting it to the point where it actually linked~
22:39
< McMartin>
Or could be attempted to link.
22:39
< celticminstrel>
It did link. This is a runtime error.
22:39
< celticminstrel>
Well. I suppose technically that means it didn't link...
22:39
< celticminstrel>
But ld was successful.
22:39
< McMartin>
Yeah, my experience with wx was that it was less a widget library and more a test suite for generating compiler errors.
22:40
< celticminstrel>
XD
22:40
< McMartin>
(This had to do with its Unicode handling and its interactions with libc and similar libraries on the system, which, as it happened, on mine would fail to compile 'Hello World' pasted out of their own docs.)
22:41
< McMartin>
If it's *exactly* the same error on a debug build - to wit, it's saying 'your program used 2.8 (no debug' - then there's probably some undocumented #define you need to set.
22:42
< celticminstrel>
I had to add a bunch of -D switches to get it to compile.
22:42
< celticminstrel>
...okay, I'll try adding another one then!
22:43
< McMartin>
Who knows, maybe it's even documented~
22:43
< McMartin>
At a guess it would be something like WXDEBUG in addition to actually compiling -g
22:44
< celticminstrel>
What's -g ?
22:44
< McMartin>
The gcc switch for "be debug"
22:45
< celticminstrel>
Oh, that's "include debug --"
22:45
< celticminstrel>
.
22:45
< celticminstrel>
Right.
22:45
< celticminstrel>
Yeah, pretty sure that's on.
22:45
< celticminstrel>
I'm using XCode here.
22:45
< McMartin>
I've never used wx with XCode.
22:45
< McMartin>
Google might help
22:46
< McMartin>
(Alternately, you could try linking against a non-debug version? There should be like wxwidgetsd.so and wxwidgets.so, the first being debug)
22:46
< McMartin>
(Boost is like that too)
22:46
< celticminstrel>
I've used it with XCode before; it worked. That was with version 2.8.10 though, and possibly an earlier version of XCode to boot.
22:47
< McMartin>
Yeah. =/
22:47
< McMartin>
I'm probably not the best person to ask
22:47
< celticminstrel>
I think I only built the debug version of the library, so to link against the release version I'd need to build it first.
22:47
< McMartin>
I've been forced to use wx before, but we converted to Qt4 at the absolute earliest opportunity and never looked bak
22:47
< McMartin>
*back
22:47
< celticminstrel>
For some reason I can never get static linking to work properly.
22:47
< McMartin>
Static linking is very hard to get to work right, and on Mac is pretty unnecessary, tbh
22:48
< McMartin>
You just have to make sure that the libraries are properly named in your app bundle, which XCode is *supposed* to do for you.
22:48
< celticminstrel>
Well, as it stands the plan is to include the dynamic library in the app bundle.
22:48
< McMartin>
Right, given that, static linking should be pretty optional.
22:48
< celticminstrel>
Which I needed to configure, but it wasn't hard; just add a build stage to copy to the Frameworks subfolder.
22:49
< celticminstrel>
I guess, yeah.
22:49
< McMartin>
(There are some hidden steps involving install_name_tool as well, I think, to make sure that the version you ship is the one it actually loads at runtime.)
22:49
< McMartin>
(Otherwise you get into delicious^Wterrible situations where your app bundle works or not semi-randomly on different machines depending on what else is installed)
22:50
< celticminstrel>
Eep. That sounds ominous.
22:50
< McMartin>
It's the Mac version of DLL Hell >_>
22:50
< McMartin>
Let me find the command to do a check on that...
22:51
< celticminstrel>
Oh yay, it worked when I defined __WXDEBUG__!
22:52
< McMartin>
Woot
22:52
< McMartin>
Anyway
22:52
< McMartin>
From Terminal.app, if you say otool -L (app bundle name)/Contents/MacOS/(executable name), you'll get a list of everything it links against
22:53
< McMartin>
This is the rough equivalent of the Linux ldd program.
22:53
< celticminstrel>
The only reason it didn't work as expected is that it's pretty much a skeleton at present. <_<
22:53
< celticminstrel>
Okay; is that all, then?
22:53
< McMartin>
There should be a bunch in /System/Library/Frameworks and such
22:53
< McMartin>
And then the references to wx and friends should be something like @executable_path/../Frameworks/WxWidgets.Frameworks
22:53
< McMartin>
Assuming that's there, I think you're golden
22:54
< celticminstrel>
Pretty sure it is looking for wxWidgets in the executable, because it failed to build before I added the step to copy it there.
22:54
< McMartin>
(And the first step is *always* to get a skeleton app working, so you know your libraries are up to speed and properly configured and the build system works. You don't want to find out at the *end* that everything's wrong)
22:54
< McMartin>
Yeah, that's a good sign.
22:55
< McMartin>
(If you get to a point where it runs and can be fiddled with a little, I'll be happy to offer Carlsbad - my 10.6 MBP - as a subsidiary testbed)
22:55
< celticminstrel>
What's an MBP?
22:56
< celticminstrel>
Wait, you're offering to help test this thing?
22:58
< McMartin>
MacBook Pro
22:59
< McMartin>
I'm offering to at least help check your link
22:59
< celticminstrel>
Ah.
22:59
< celticminstrel>
Well, it runs, but apparently there's no way to quit it at present. <_<
22:59
< McMartin>
Not even Command-Q works?
23:00
< celticminstrel>
It didn't, no...
23:00
< celticminstrel>
Maybe it's because I didn't handle a quit event?
23:00
< celticminstrel>
That'd probably do it.
23:00
< McMartin>
Aha.
23:00
< McMartin>
:argh: wx
23:00
< McMartin>
Though SDL is just as bad
23:01
< McMartin>
You can probably still kill it through activity monitor
23:01
< celticminstrel>
The only event I tried to handle was mouseclick.
23:01
< celticminstrel>
No need; it was running under XCode/gdb, so I terminated from there.
23:02
< McMartin>
Hm
23:02
< celticminstrel>
I'll be back to work on this later.
23:02
< celticminstrel>
Going somewhere.
23:02
< McMartin>
Does wx hae an Application class or something that handles all the boring stuff like resize/move/close, that you're somehow overriding?
23:03
< McMartin>
Ah, OK
23:03
< celticminstrel>
Yeah, it has an wxApp class which I have extended.
23:04
< McMartin>
Huh
23:04
< McMartin>
Odd that it doesn't handle close
23:04
< celticminstrel>
Yeah... though it could be something I did. Anyway, bye.
23:04 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
23:08 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
23:10 SK [Smith@Nightstar-8aa50f14.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds]
23:26
< RichardB_>
McMartin: QT4 leads to cheerfulness, which leads to fluffy bunnies and unicorns running around, which leads to the light side?
23:26 RichardB_ is now known as RichardBarrell
23:26
< McMartin>
Qt4 at least actually compiles~
23:27
< RichardBarrell>
True. So does GTK, though. Is Qt4 actively likable?
23:31 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
23:46 shade_of_cpux is now known as cpux
23:58
< McMartin>
I'm not sure if any system is actively likable. Qt4 has fit my general preconceptions better than GTK though.
23:59
< McMartin>
I haven't tried to push Blorple from Swing to Qt, though I should at some point try.
--- Log closed Sun Aug 29 00:00:39 2010
code logs -> 2010 -> Sat, 28 Aug 2010< code.20100827.log - code.20100829.log >