*** tpb has joined #freeorion | 00:00 | |
*** mithro has joined #freeorion | 01:25 | |
kroddn | hello there | 04:10 |
---|---|---|
GeofftheMedio_ | hey | 04:10 |
kroddn | GeofftheMedio_: since yesterday i have much trouble compiling FO | 04:11 |
kroddn | on debian | 04:11 |
GeofftheMedio_ | you'll have to be more specific | 04:11 |
kroddn | i updated my chroot to debian testing and installed boost 1-34 from unstable | 04:11 |
kroddn | but on debian unstable, some libs dont exist any more | 04:11 |
kroddn | wait | 04:11 |
kroddn | for example libboost_signals | 04:12 |
kroddn | there a two versions, libboost_signals-st.so and libboost_signals-mt.so | 04:12 |
kroddn | but no one libboost_signals.so | 04:12 |
kroddn | I now hacked some symlinks from *-mt.so to *.so, so compiling works | 04:13 |
GeofftheMedio_ | you'll have to talk to tzlaine about this... I don't maintain the scons scripts | 04:13 |
kroddn | it seems to me that libboost now is separated in two sub-categories | 04:13 |
GeofftheMedio_ | looks like multithreaded and... single threaded? | 04:13 |
kroddn | i think so | 04:13 |
kroddn | Another question: is there no "clean" target with scons? | 04:14 |
GeofftheMedio_ | scons --clean | 04:14 |
kroddn | argh | 04:14 |
GeofftheMedio_ | I suggest posting on the forums about the library naming issue | 04:14 |
kroddn | GeofftheMedio_: the post in the forum | 04:15 |
kroddn | the people are NOT starving | 04:15 |
GeofftheMedio_ | and the same any other linux-minutia type issue... I can't really help with them | 04:15 |
kroddn | nP | 04:15 |
GeofftheMedio_ | how much food is the planet producing? | 04:16 |
GeofftheMedio_ | and what focus settings are you using? | 04:16 |
kroddn | both focuses to spread | 04:16 |
GeofftheMedio_ | have you updated to svn, so the tooltips work? | 04:16 |
kroddn | If i do NO research, then this does not happen | 04:16 |
GeofftheMedio_ | hmm... did you build anything on the planet? | 04:16 |
kroddn | I could not update because of the boost-problem ;-) | 04:16 |
kroddn | I could not reproduce when it happens | 04:17 |
GeofftheMedio_ | well, did you build anything when it did? | 04:17 |
kroddn | the only thing i could reproduce is that there are 4 starving symbols and the infrastructure level going to zero next turn | 04:17 |
kroddn | Yes, i did | 04:17 |
kroddn | But it did not directly happen | 04:17 |
kroddn | should i send you a savegame? | 04:18 |
GeofftheMedio_ | sure | 04:18 |
kroddn | whereto? | 04:18 |
GeofftheMedio_ | g underscore topping at hotmail dot com | 04:19 |
GeofftheMedio_ | zip it, if it's a big one | 04:19 |
GeofftheMedio_ | I don't suppose you build "The Living Planet" ? | 04:20 |
kroddn | I cannot test, because the clean ripped my freeorion exe | 04:20 |
kroddn | No, its about the sixths round i think | 04:20 |
GeofftheMedio_ | hmm | 04:20 |
GeofftheMedio_ | weird | 04:20 |
kroddn | yes it is | 04:20 |
kroddn | i deleted all researches and production, but after 2-3 rounds it happens again | 04:21 |
kroddn | mail is out | 04:21 |
kroddn | savegames are very good to compress ^^ | 04:21 |
GeofftheMedio_ | repetative text | 04:22 |
kroddn | maybe some zipping should be added | 04:22 |
GeofftheMedio_ | it already is, but is disabled at the moment | 04:22 |
GeofftheMedio_ | it also helps to use small galaxies for testing. 20 stars is a lot less than 500 | 04:22 |
GeofftheMedio_ | re: the save: I see what you mean | 04:24 |
kroddn | i tried to find out if any research is causing that | 04:25 |
GeofftheMedio_ | I guess you started a game with lots of specials | 04:25 |
GeofftheMedio_ | ? | 04:25 |
kroddn | ? | 04:25 |
kroddn | i started the game just pressing okay | 04:25 |
GeofftheMedio_ | hmm. well, you've got a lot of specials in the universe for some reason | 04:25 |
kroddn | what do you mean? | 04:25 |
GeofftheMedio_ | there are 3 specials on each planet, or more | 04:26 |
GeofftheMedio_ | there's normally less than 1 on average | 04:26 |
GeofftheMedio_ | ah! you researched "theoretical prerequisite" | 04:26 |
GeofftheMedio_ | it's a test tech | 04:26 |
GeofftheMedio_ | it adds a bunch of specials | 04:26 |
GeofftheMedio_ | my guess is that you researched it the turn before that save | 04:26 |
GeofftheMedio_ | the turn it's researched, it does nothing | 04:27 |
GeofftheMedio_ | the next turn, it creates a bunch of specials | 04:27 |
GeofftheMedio_ | the turn after that, those specials' effects kick in | 04:27 |
GeofftheMedio_ | which in this case, drastically reduces the food production of your planet | 04:28 |
kroddn | okay is see | 04:28 |
kroddn | on another NEW game the effect wont happen if the special is not there? | 04:29 |
GeofftheMedio_ | hmm... slight correction to the above: the theoretical prerequisite tech kics in immediately, and the specials take effect a turn after... or something similar | 04:29 |
GeofftheMedio_ | in the new game, just don't research "theoretical prerequisite" | 04:29 |
kroddn | yes, but i testet that | 04:29 |
kroddn | another game did not that effect when i researched it | 04:29 |
GeofftheMedio_ | you played a few turns after getting it and there was no such effect? | 04:31 |
GeofftheMedio_ | and you're sure you researched that particular tech? It's called "Theoretical Prerequisite", and is an application. if you read its description, it says it attaches a few specials to a few types of planet | 04:32 |
kroddn | hm, now i am not so sure any more | 04:33 |
kroddn | but this research seemed to me that it could have that effect | 04:33 |
kroddn | i cannot compile now, because scons uses python24 grrrrr | 04:34 |
GeofftheMedio_ | you can't update scons? | 04:34 |
GeofftheMedio_ | er, python | 04:34 |
GeofftheMedio_ | it was necessary to update the version of python required, since it's built into the boost libs, and tzlaine didn't want to force people to use an old version of python | 04:35 |
kroddn | scons always pics python2.4 | 04:35 |
kroddn | it seems that only the win32 buildfiles where updated | 04:35 |
GeofftheMedio_ | sec... | 04:36 |
kroddn | Checking for Py_Initialize() in C library python2.4... yes | 04:37 |
GeofftheMedio_ | hmm. can you reset the python include / lib dirs? | 04:38 |
kroddn | what do you mean with reset? | 04:39 |
GeofftheMedio_ | I was wondering if there was a with_python_libdir option | 04:39 |
GeofftheMedio_ | but I don't see one | 04:39 |
GeofftheMedio_ | it seems that since scons itself runs on python, it autodetects it | 04:39 |
GeofftheMedio_ | maybe there's an environment variable you need to set? | 04:39 |
kroddn | puh | 04:40 |
kroddn | okay, i hacked it | 04:41 |
GeofftheMedio_ | I guess post about this too | 04:41 |
kroddn | i made all symblinks point to python2.5 | 04:41 |
kroddn | but i hate changing system-files | 04:41 |
kroddn | Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization... no | 04:41 |
kroddn | Checking for boost::archive::binary_iarchive::is_saving() in C++ library boost_serialization-mt... no | 04:41 |
kroddn | Boost configuration... (cached) no | 04:41 |
GeofftheMedio_ | and it shouldn't be necessary | 04:42 |
kroddn | next problem ^^ | 04:42 |
GeofftheMedio_ | you might need to rebuild boost to use python 2.5 | 04:42 |
GeofftheMedio_ | if it was previously using 2.4 | 04:42 |
kroddn | argh | 04:45 |
kroddn | how can i test that? | 04:45 |
GeofftheMedio_ | uh... check the dependencies? | 04:46 |
GeofftheMedio_ | if it wants python24something.so, then it's a problem | 04:46 |
kroddn | boost seems to be compiled with python2.5 | 04:46 |
GeofftheMedio_ | hmm. well, that's good | 04:46 |
kroddn | user-config.jam:using python : 2.5 : /usr ; | 04:47 |
kroddn | Boost configuration... (cached) no <--- what does that mean? | 04:47 |
GeofftheMedio_ | I think it means there's no previous working boost config info | 04:48 |
GeofftheMedio_ | or it might mean that it didn't cache a working config this time | 04:48 |
GeofftheMedio_ | I'm not really sure... | 04:48 |
kroddn | how can i delete the cach? | 04:49 |
GeofftheMedio_ | scons --no-cache might help | 04:49 |
GeofftheMedio_ | or delete config.cache | 04:50 |
GeofftheMedio_ | (I'm sort of guessing here) | 04:50 |
kroddn | i did all that | 04:50 |
GeofftheMedio_ | ok... well, then there's probably no cache | 04:51 |
GeofftheMedio_ | so either it doesn't have a cached working config, or it isn't saving one | 04:52 |
kroddn | okay, one error i found out | 04:52 |
kroddn | its GG | 04:52 |
kroddn | /usr/local/lib/libGiGi.so: undefined reference to `boost::signals::detail::named_slot_map_iterator::dereference() const' | 04:52 |
kroddn | i recompile GG now | 04:52 |
kroddn | thats really anoying, everyday another problem :-( | 04:53 |
GeofftheMedio_ | is that going to be any easier to scons configure than fo was? | 04:53 |
GeofftheMedio_ | you sort of picked a bad time to start getting up and going with freeorion... a bunch of dependency changes have happened in the last week, whereas there were none in the previous 6 months before (at least) | 04:54 |
kroddn | :-) | 04:54 |
kroddn | No problem, i will try to help getting it working :) | 04:54 |
GeofftheMedio_ | I appreciate the effort | 04:55 |
kroddn | But i did not know of "scons" before getting freeorion | 04:56 |
kroddn | okay, seems that one problem is fixed now | 04:57 |
kroddn | GG recompiled - works | 04:57 |
GeofftheMedio_ | I'm shocked | 04:57 |
kroddn | maybe the python2.4 problem | 04:57 |
GeofftheMedio_ | when you built scons, what version of python did you have? | 05:11 |
GeofftheMedio_ | you might need to rebuild it with python 2.5 to get it to use 2.5 when running | 05:12 |
kroddn | i did not build scons, just installed it | 05:12 |
GeofftheMedio_ | python setup.py install | 05:13 |
GeofftheMedio_ | ? | 05:13 |
GeofftheMedio_ | "This will build SCons, install the scons script in the default system scripts directory..." | 05:14 |
GeofftheMedio_ | regardless, it might help to re-install it | 05:15 |
GeofftheMedio_ | I think when I did, it asked me what version of python to use... (though I'm on windows) | 05:15 |
kroddn | okay, you are righ | 05:22 |
kroddn | # dpkg-reconfigure scons | 05:22 |
kroddn | ValueError: the symlink /usr/bin/python does not point to the python default version. It must be reset to point to python2.4 | 05:23 |
kroddn | but freeorion built is okay | 05:23 |
GeofftheMedio_ | at last... | 05:24 |
kroddn | it seems that debian unstable has some problems with these dependencies | 05:24 |
kroddn | but nontheless - freeorion should explicitly use python2.5 | 05:25 |
GeofftheMedio_ | it does... | 05:25 |
GeofftheMedio_ | or what do you mean by "explicitly" ? | 05:25 |
kroddn | tell scons to use python2.5 instead of python, or checking that python2.5 is available | 05:27 |
kroddn | like it is configured for win32 | 05:27 |
GeofftheMedio_ | I think scons uses the version you build / isntall it with | 05:27 |
kroddn | python_win32_libname = 'python25' | 05:28 |
kroddn | you mix 2 things | 05:28 |
GeofftheMedio_ | I suppose | 05:28 |
kroddn | scons uses python for internal processing | 05:28 |
GeofftheMedio_ | I know.. | 05:28 |
kroddn | And freeorion uses python | 05:28 |
kroddn | the freeotion-python must be 2.5 | 05:28 |
kroddn | scons can run with 2.4, no problem | 05:29 |
GeofftheMedio_ | might be useful... you might want to put it in your post as a suggestion | 05:29 |
kroddn | i did | 05:29 |
kroddn | now the whole morning is over... | 05:30 |
kroddn | and i did not earn any euro *g* | 05:31 |
GeofftheMedio_ | my condolences | 05:31 |
GeofftheMedio_ | you've earned my half-hearted admiration, if that's worth anything | 05:32 |
kroddn | hrhr | 05:32 |
kroddn | Where do you come from? | 05:32 |
GeofftheMedio_ | Vancouver | 05:32 |
kroddn | oh, its evening there? | 05:32 |
GeofftheMedio_ | 2:30 AM | 05:32 |
GeofftheMedio_ | I would have gone to sleep, but you and someone else started talking... | 05:32 |
kroddn | its 11:30 here | 05:32 |
kroddn | so, now lets see if the tooltips now work... | 05:33 |
GeofftheMedio_ | they'd better... | 05:33 |
GeofftheMedio_ | I spent all that type making them... | 05:33 |
kroddn | okay - very slow rotation is the problem | 05:34 |
kroddn | nice, now i know the problem ^^ | 05:34 |
GeofftheMedio_ | well.. really the problem is researching that tech | 05:35 |
kroddn | this Research is for developing purposes? | 05:35 |
GeofftheMedio_ | you shouldn't... it's just there so I can add effects to test | 05:35 |
kroddn | yes, thats what i meantt | 05:35 |
kroddn | the rotating planets indeed cause much processor-power to be wasted | 05:35 |
GeofftheMedio_ | yeah. there should probably be an option to turn them off in the GUI | 05:36 |
GeofftheMedio_ | though one does wonder why so much CPU is used... maybe opengl isn't using hardware when it should be | 05:36 |
kroddn | hm | 05:39 |
kroddn | thats a point | 05:39 |
kroddn | maybe i have to install the nvidia-drivers in the chroot | 05:39 |
kroddn | i'll try that | 05:39 |
GeofftheMedio_ | I don't think it's just you | 05:39 |
GeofftheMedio_ | they use a lot of CPU for me on windows also | 05:40 |
kroddn | okay, almost time for eat. Lets play some more freeorion :-) | 05:49 |
kroddn | GeofftheMedio_ | 06:09 |
kroddn | one nice thing | 06:09 |
kroddn | after preloading the nvidia GL-libs, the processor is only at 50% | 06:09 |
GeofftheMedio_ | hmm. shouldn't that happen automatically? | 06:10 |
kroddn | yes, but i am running freeorion in a chroot | 06:10 |
kroddn | which does not have the libGLnvidia**** libs installed | 06:11 |
kroddn | i manually copied them and preloaded them when running freeorion | 06:11 |
kroddn | but that is still to much power consumed for that little thing | 06:11 |
kroddn | maybe the planets are rendered to often per second | 06:12 |
kroddn | it would be nice to know the FPS, which could be signalled somewhere in a corner | 06:12 |
GeofftheMedio_ | HumanClientApp.cpp line 121 | 06:14 |
kroddn | it seems that now after chaning to another nvidia-driver the X is not freezing any more | 06:16 |
kroddn | okay, that is set but is it used? | 06:17 |
GeofftheMedio_ | dunno | 06:17 |
kroddn | playing is much more confortable with the nvidia GL-libs | 06:20 |
GeofftheMedio_ | how so? | 06:20 |
kroddn | the gui reacts faster | 06:20 |
GeofftheMedio_ | ah | 06:21 |
kroddn | i think in soft-gl-mode the gui cannot guarantee 60FPS and because of that is slow | 06:21 |
GeofftheMedio_ | hmm | 06:21 |
GeofftheMedio_ | I'm getting 105 fps | 06:28 |
GeofftheMedio_ | despite the 60 limit | 06:28 |
GeofftheMedio_ | so... no | 06:28 |
GeofftheMedio_ | it's not limit | 06:28 |
GeofftheMedio_ | ing | 06:28 |
kroddn | aha | 06:29 |
kroddn | it would be nice to see the framerate | 06:29 |
GeofftheMedio_ | put EnableFPS(); on the line before HumanClientApp.cpp line 121 | 06:30 |
GeofftheMedio_ | then put Logger().debugStream() << "FPS: " << GG::GUI::GetGUI()->FPS(); | 06:30 |
kroddn | before or after? | 06:30 |
GeofftheMedio_ | into MapWnd::Render | 06:30 |
GeofftheMedio_ | before worked for me... I don't know if it matters | 06:30 |
kroddn | i added an option for setting maxFPs | 06:31 |
GeofftheMedio_ | an option ? | 06:32 |
kroddn | configure-option | 06:32 |
GeofftheMedio_ | not sure what you mean | 06:32 |
kroddn | wait | 06:32 |
kroddn | the linking is still taking very very long ^^ | 06:33 |
kroddn | but faster than 14 minutes now | 06:34 |
kroddn | i do not see the output... | 06:35 |
kroddn | o, do i have to compile with "debug"? | 06:35 |
GeofftheMedio_ | need to have log level debug | 06:35 |
GeofftheMedio_ | freeorion --log-level DEBUG | 06:35 |
GeofftheMedio_ | and it won't show up until you're in the mapwnd | 06:35 |
GeofftheMedio_ | ie. not on the title screen | 06:35 |
kroddn | it doesn show up... | 06:36 |
GeofftheMedio_ | what screen are you on? | 06:36 |
GeofftheMedio_ | and it will appear on the command line from which you ran it, not in the GUI | 06:37 |
kroddn | ah sorry | 06:39 |
kroddn | you didnt tell me to watch the logfile :) | 06:39 |
kroddn | its not in console but in logfile | 06:39 |
GeofftheMedio_ | oh.. | 06:39 |
GeofftheMedio_ | it's on the console for me | 06:40 |
GeofftheMedio_ | change it to std::cout and put a std::endl on the end, if you prefer | 06:40 |
kroddn | okay, the options works | 06:40 |
kroddn | i could set the framerate to 15 | 06:40 |
GeofftheMedio_ | how did you make this option? | 06:40 |
*** zipola has quit IRC | 06:42 | |
kroddn | adding it to the config | 06:42 |
GeofftheMedio_ | that's not helpful to me... | 06:42 |
kroddn | o wait | 06:42 |
kroddn | i will make some patches | 06:42 |
kroddn | i'll have lunch | 06:45 |
kroddn | check your mail, i sent a patch | 06:45 |
GeofftheMedio_ | k | 06:45 |
kroddn | its only 5 lines of code :) | 06:45 |
*** STalKer-X has joined #freeorion | 09:17 | |
*** Carmina has quit IRC | 09:34 | |
*** zipola has joined #freeorion | 10:01 | |
*** kroddnoMobil has joined #freeorion | 11:17 | |
*** GeofftheMedio_ has quit IRC | 15:26 | |
*** nity has joined #freeorion | 17:04 | |
*** Carmina has joined #freeorion | 17:29 | |
*** nity has quit IRC | 17:53 | |
*** nity has joined #freeorion | 17:59 | |
*** vlitzer has joined #freeorion | 20:01 | |
vlitzer | hello | 20:04 |
vlitzer | i am working in a similar proyect (by myself), perhaps a very simplified one in comparison with yours proyect. (http://vlitzer.ath.cx/ucontrol.png) but checking your "TODO" list i have perhaps some already coded things that may serve. | 20:08 |
*** GeofftheMedio_ has joined #freeorion | 20:24 | |
*** vlitzer_ has joined #freeorion | 20:38 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!