Saturday, 2012-04-07

*** tpb has joined #freeorion00:00
Armageddonwhat's in line 30 in cmake ?00:05
*** Lukc has quit IRC01:15
CIA-64FreeOrion: eleazzaar * r4794 /trunk/FreeOrion/ (3 files in 3 dirs): Planetary Overlay for Ancient ruins. Lousy scripting means it shows up on all planets in the system.02:06
*** STalKer-Y has joined #freeorion03:20
*** STalKer-X has quit IRC03:20
*** STalKer-Y has quit IRC03:20
*** STalKer-Y has joined #freeorion03:20
*** Stranger has quit IRC05:49
*** Lukc has joined #freeorion06:05
LukcHi *.06:12
LukcSorry, just read Armageddon’s messages.06:12
LukcArmageddon, you need boost to be built with Python support.06:12
Lukccmake won’t complain about the lack of Python support, but only the lack of Boost support.06:13
LukcMaybe someone should correct the CMakefile to make it clear.06:14
Lukc(I also had the problem, in fact)06:14
LukcGeofftheMedio, is there currently no way to get the specials of a planet from Python? The wiki page AI_Python_API does not mention any. :(06:24
LukcWell, sorry, it mentions specials, but I just didn’t seem to manage to use it.06:26
LukcAttributeError: 'planet' object has no attribute 'specials' <− I suppose the Python binding is not complete, then.06:28
adrian_broherGeofftheMedio, sorry I am unable to repoduce the error I mentioned yesterday. It seems like it was only triggered in an older gcc version.07:33
GeofftheMedioLukc: there is a line in the code that exposes data to python for specials, but it's commented out07:35
GeofftheMedionot sure why07:35
GeofftheMedioso it was probably possible at one point, but something broke and it was never fixed07:36
GeofftheMedioI'll try uncommenting...07:36
GeofftheMedioah07:36
GeofftheMediothe specials are stored as a map from string (name of special) to int (turn on which special was added)07:37
GeofftheMediobut Python doesn't know what a map<string, int> is so exposing it just as that won't work07:37
GeofftheMedioa wrapper of some sort is needed07:37
adrian_broherGeofftheMedio, or did someone remove some boost specific forward declarations and includes of internal boost headers?07:40
GeofftheMediowhat problem is that question related to?07:41
adrian_broherI had a problem with compiling the freeorion source in combiation with boost 1.49. Some header referred to a non public header of boost spirit(?), which made it impossible to compile the project.07:43
GeofftheMedioif such changes were made, it wasn't something that freeorion changed...07:50
CIA-64FreeOrion: geoffthemedio * r4795 /trunk/FreeOrion/ (UI/CUIControls.cpp python/PythonUniverseWrapper.cpp):07:54
CIA-64FreeOrion: -Added a wrapper function for UniverseObject::Specials to return just the vector of special names, and used this to add a specials property in the Python API, which returns the list of specials on an object.07:54
CIA-64FreeOrion: -Grooming07:54
*** theTroy has quit IRC08:04
*** theTroy has joined #freeorion08:05
LukcGeofftheMedio, thanks.08:40
LukcI’m gonna publish on the forum my modifications as soon as I tested it with the specials.08:44
*** pm_ has joined #freeorion09:25
*** VargaD has joined #freeorion09:45
*** pm_ has quit IRC09:45
*** Xenux has joined #freeorion10:04
ArmageddonLukc, it alreadt is11:23
ArmageddonLukc, it already is compiled with python, both boost and boost-build11:25
LukcOh. :(11:25
LukcWell, then, it seems a lot of things can hide behind the same error message.11:25
ArmageddonLukc, I'm using 1.4811:25
Armageddonshould I go with the 1.47 ?11:25
LukcDowngrading libraries is never a good idea.11:27
LukcBut, I have 1.47.0-r1, and it works, so…11:27
ArmageddonI'll give it a try11:28
LukcGeofftheMedio, are there any tools to benchmark the AI, or at least to test it on an important number of turns?11:31
ArmageddonLukc, 1.48 does not work12:39
Armageddonboost 1.48 does not work ! just so everyone would know, the 1.47 does12:40
LukcOk, great. Good to know…12:43
ArmageddonLukc, see, told you I was supporting python12:43
LukcArmageddon, I hope your logs of the errors you had with 1.48.12:43
LukcArmageddon, yep. ^_^”12:44
LukcI didn’t doubt it from the moment you told me you had USE=python actived. :p12:44
ArmageddonLukc, /whois Armageddon12:45
ArmageddonI think I know how to support python :$12:45
Armageddon:p12:45
LukcArmageddon, being a Gentoo contributor does not mean you approve Python.12:47
Lukc(or should I have seen something else? /o\)12:48
Armageddonbeing a contributor I know how to USE=python12:50
Armageddon:p12:50
Armageddonthat's all !12:50
ArmageddonLukc, main() caught exception(std::runtime_error): Failed to find an Ogre GL render system.13:08
Armageddonany idea ?13:08
LukcArmageddon, yes.13:10
LukcThe documentation says something about symlinks.13:11
LukcIf you have done that, well, then I think it’s a problem with GiGi not having Ogre support.13:11
Lukc(I also got that one \o/)13:11
Lukc(well, those ones, in fact, as I had both)13:12
ArmageddonLukc, ogre has support :/13:12
Armageddonand no I haven't done that13:12
Armageddoncan you please link me Lukc ?13:14
LukcArmageddon, yep. Wait a second.13:15
LukcArmageddon: http://freeorion.org/index.php/Compile_In_Linux#Ogre3D_configuration13:17
tpb<http://ln-s.net/4oXE> (at freeorion.org)13:17
Armageddonis that before I compile or after ?13:18
LukcI did after.13:24
LukcBut, you can do it before if you prefer. /o\13:25
Armageddonwell I'm trying to fix the ebuild to work for Gentoo13:25
Armageddonand maybe I can commit it to a maintainer13:25
LukcWell, good luck.13:35
LukcI tried to package FreeOrion with pkg++ when I built it.13:36
LukcI changed my mind several days after. /o\13:36
Lukchttp://lukc.upyum.com/freeorion/AI-0.diff // I’ll try not to forget to post about it on the forum, if no one sees anything to change in it until then.13:43
GeofftheMedioLukc: what do you mean by important number of turns?16:23
GeofftheMediofailed to find ogre gl probably means you don't have the rendersystem gl library in the place it expects16:24
GeofftheMedioits part of ogre16:24
*** neoneurone has joined #freeorion16:30
LukcGeofftheMedio, something like 400 turns, without having to actually play them yourself?16:37
GeofftheMediook, but what do you mean by test them on 400 turns?16:38
GeofftheMediojust have them play the game against eachother for that many turns?16:39
GeofftheMedioif so, yes: you can start a multiplayer game with no humans (just an observer human) and the AIs will play out turns automatically16:39
GeofftheMediothe GUI gets a bit laggy doing this, though the logs should be fine16:39
LukcOk.16:53
Lukc(yes, that’s what I wanted)16:54
*** neoneurone has quit IRC17:30
*** GeofftheMedio has quit IRC18:41
*** Stranger has joined #freeorion18:46
*** GeofftheMedio has joined #freeorion19:07
*** neoneurone has joined #freeorion19:11
CIA-64FreeOrion: eleazzaar * r4796 /trunk/FreeOrion/default/ (9 files in 3 dirs): Three provisional planetary overlays for stealth effects. Also renamed the unused Gaian texture so terran planets can use it.19:19
*** GeofftheMedio_ has joined #freeorion19:42
*** GeofftheMedio has quit IRC19:43
*** GeofftheMedio_ is now known as GeofftheMedio19:43
*** bookwar has joined #freeorion19:56
*** neoneurone has quit IRC20:08
*** Xenux has quit IRC21:44
*** VargaD has quit IRC23:26

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!