*** tpb has joined #freeorion | 00:00 | |
dansan | /home/daniel/proj/freeorion/FreeOrion/UI/TechTreeWnd.cpp:1529: error: 'ND_coord_i' was not declared in this scope | 00:08 |
---|---|---|
dansan | was that file recently edited too or something else? | 00:08 |
GeofftheMedio | http://www.freeorion.org/forum/viewtopic.php?f=25&t=2538&p=36349&hilit=#p36349 | 00:19 |
tpb | <http://ln-s.net/4Z+g> (at www.freeorion.org) | 00:19 |
GeofftheMedio | the nd_coord_i thing is a graphviz version issue | 00:20 |
GeofftheMedio | with boost, it's usually best to just use it and not worry about whatever abuse of the language they used to implement it... | 00:20 |
CIA-61 | FreeOrion: geoffthemedio * r3263 /trunk/FreeOrion/universe/ (Universe.h UniverseObject.h): | 00:27 |
CIA-61 | FreeOrion: -Tweaked locations of some includes in Universe.h and UniverseObject.h to hopefully fix some gcc compile errors | 00:27 |
CIA-61 | FreeOrion: -Removed unused Default0Combiner code | 00:27 |
dansan | ahh, thanks | 00:29 |
GeofftheMedio | I'm going to see if I can't fix the nd_coord_i issue with some preprocessor defines... | 00:30 |
dansan | ooh, cool :) | 00:30 |
GeofftheMedio | try adding this after the PS2_INCH define in techtreewnd.cpp | 00:31 |
dansan | I can try Gentoo's graphviz-2.22 (not -r1), but -r1 is broken :( | 00:31 |
GeofftheMedio | #ifndef ND_coord_i | 00:31 |
GeofftheMedio | #define ND_coord_i(n) (ND_coord(n)) | 00:31 |
GeofftheMedio | #endif | 00:31 |
GeofftheMedio | don't know what the -r1 means, but I don't think it should matter... | 00:31 |
dansan | oh, it's just Gentoo's "revision 1" of the ebuild (their package system -- you compile everything) | 00:32 |
GeofftheMedio | oh... well, try that define with whatever version you have now, and if we can't get that to work, then worry about -r1 and such | 00:32 |
dansan | sweet! :) | 00:33 |
dansan | well, that object file at least | 00:33 |
GeofftheMedio | as in it worked, or it might work...? | 00:36 |
dansan | sweet, well it compiled & linked :) | 00:36 |
dansan | freeorion: /usr/include/boost/thread/pthread/recursive_mutex.hpp:72: void boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' failed. | 00:36 |
dansan | but I haven't copyed or symlinked any data | 00:36 |
dansan | and I guess I need to set LIBRARY_PATH or some such so it will pick up my GiGi files I installed locallly | 00:37 |
GeofftheMedio | still not clear: did you add the preprocessor define I gave above, and did that fix the nd_coord_i error? | 00:39 |
dansan | oh, sorry | 00:39 |
dansan | yes, that did fix the compile problem :) | 00:39 |
dansan | I'm going to build a debug build and launch it in a debugger | 00:42 |
CIA-61 | FreeOrion: geoffthemedio * r3264 /trunk/FreeOrion/UI/TechTreeWnd.cpp: Added a preprocessor define to TechTreeWnd.cpp to prevent compile errors about ND_coord_i not being defined when using graphviz versions later than 2.20 | 00:42 |
dansan | does it run well unoptimized? :) | 00:43 |
GeofftheMedio | don't know... | 00:43 |
dansan | Well, I gave it -O1, that improves performance a lot, but also keeps debugging fairly useful | 00:44 |
GeofftheMedio | you're going to try to debug a boost pthread mutex assertion error? | 00:45 |
dansan | Well, at least look at it | 00:45 |
dansan | I truely hope they didn't do assert(/* and then code to change a mutex */); because that goes away when you compile with NDEBUG defined | 00:46 |
dansan | I presume they haven't, they are generaly far smarter than I | 00:46 |
dansan | also I'm using 1.39, so it's possible that alone is the cause | 00:52 |
GeofftheMedio | doubtful... | 00:53 |
dansan | yea | 00:55 |
dansan | what directories needs to be available when run? Just the "default" directory? | 00:55 |
GeofftheMedio | ~/.freeorion | 00:58 |
GeofftheMedio | possibly the binary directory... there are some ogre plugins that need to be accessed... I'm not sure where they're put on linux | 00:59 |
dansan | well, when I ran ldd against the binary, it appeared to pick everything up | 01:00 |
dansan | KDevelop was giving me a few problems though, let's see if I can get it working this time | 01:01 |
GeofftheMedio | plugins are loaded at runtime by code, and may not show up in ldd | 01:01 |
dansan | ahhh | 01:02 |
dansan | This may be one of those gcc 4.x -O3 problems. I built ogre with -O3 -ggdb. It's a very strange error | 01:07 |
dansan | client/human/chmain.cpp:171, when it ogre's LogManager::createLog function is exiting and it's destroying a lock object on the stack | 01:08 |
GeofftheMedio | ... ok... | 01:10 |
dansan | I'm going to rebuild ogre with -O2 and see if it still happens | 01:11 |
*** Q_Continuum has quit IRC | 03:01 | |
*** Q_Continuum has joined #freeorion | 03:09 | |
*** mithro has quit IRC | 04:50 | |
*** mithro has joined #freeorion | 06:38 | |
*** enigmatic has quit IRC | 09:21 | |
*** enigmatic has joined #freeorion | 10:04 | |
*** enig_ has joined #freeorion | 11:05 | |
*** enigmatic has quit IRC | 11:22 | |
*** GeofftheMedio_ has joined #freeorion | 12:22 | |
*** GeofftheMedio has quit IRC | 12:40 | |
*** bernardh has joined #freeorion | 13:02 | |
*** bernardh has left #freeorion | 13:02 | |
*** enig_ has quit IRC | 15:20 | |
*** GeofftheMedio_ has quit IRC | 17:35 | |
*** GeofftheMedio has joined #freeorion | 17:36 | |
*** dansan has quit IRC | 17:55 | |
*** mithro has quit IRC | 18:54 | |
*** mithro has joined #freeorion | 19:18 | |
CIA-61 | FreeOrion: geoffthemedio * r3265 /trunk/FreeOrion/universe/ (System.cpp Universe.cpp): | 23:17 |
CIA-61 | FreeOrion: -Modified System::Copy to properly retain previously known starlanes and update for newly observed ones | 23:17 |
CIA-61 | FreeOrion: -Modified System::VisibleStarlanesWormholes to show lanes connected with one or more systems with partial or better visibility, or on which an owned fleet is moving | 23:17 |
CIA-61 | FreeOrion: -Rewrote EdgeVisibilityFilter in an unsuccessful attempt to fix fleet move ordering, which is presently broken | 23:17 |
CIA-61 | FreeOrion: -Rewrote Universe::SystemHasVisibleStarlanes to call the system object's StarlanesWormholes function and return whether the returned map is empty | 23:17 |
CIA-61 | FreeOrion: -Renamed typedefs of SystemPointerPropertyMap to SystemIDPropertyMap (in some cases with a Const in the name as well) | 23:17 |
*** STalKer-X has quit IRC | 23:51 | |
*** STalKer-Y has joined #freeorion | 23:51 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!