*** tpb has joined #freeorion | 00:00 | |
*** Mikoto_ has quit IRC | 02:14 | |
*** aleksil has quit IRC | 02:14 | |
*** Mikoto has joined #freeorion | 02:15 | |
*** aleksil has joined #freeorion | 03:06 | |
*** dansan has joined #freeorion | 05:23 | |
dansan | ahh, so you guys have an IRC channel :) | 05:23 |
---|---|---|
dansan | Any of you awake at this ungodly hour? :) | 05:24 |
* dansan kicks CIA-61 | 05:24 | |
CIA-61 | ow | 05:24 |
* dansan snickers | 05:24 | |
dansan | Well I was mostly wanting to compile it, but not install GiGi as root. How do I do that and then tell the freeorion build (cmake) where my GiGi is? I tried GIGIDIR but it said "go away" -- probably because I never did a "make install" of GiGi. | 05:25 |
dansan | ... mostly because I hadn't figured out how to give cmake the GNU autotools equivilant of --prefix=~/some/user/path | 05:26 |
dansan | Anyway, if any of you feel like answering, I'm logging and will get it when I'm back on tomorrow (after I've slept :) | 05:26 |
dansan | screenshots look really nice (mostly the UI, I'm looking at actually using GiGi in Glest Advanced Engine -- a Glest fork) | 05:27 |
*** mithro has quit IRC | 05:42 | |
*** palo__ is now known as palo | 06:55 | |
STalKer-X | heh | 06:58 |
*** palo has left #freeorion | 07:01 | |
*** Q_Continuum has quit IRC | 07:48 | |
kroddn | dansan: i have some scirpts whoch do use GiGi but do not install it | 09:50 |
kroddn | dansan: have a look at the files in "linux-static", for example configure.sh | 09:52 |
*** Q_Continuum has joined #freeorion | 11:32 | |
*** enigmatic has joined #freeorion | 12:05 | |
*** STalKer-X has quit IRC | 13:36 | |
*** STalKer-X has joined #freeorion | 13:54 | |
*** welterde has quit IRC | 14:08 | |
*** dansan has quit IRC | 14:08 | |
*** kroddn has quit IRC | 14:08 | |
*** bernardh has joined #freeorion | 14:38 | |
*** bernardh has left #freeorion | 14:42 | |
*** kroddn has joined #freeorion | 14:47 | |
*** dansan has joined #freeorion | 14:47 | |
*** welterde has joined #freeorion | 14:47 | |
*** irc.freenode.net sets mode: +o kroddn | 14:47 | |
CIA-61 | FreeOrion: geoffthemedio * r3262 /trunk/FreeOrion/ (13 files in 4 dirs): (log message trimmed) | 14:57 |
CIA-61 | FreeOrion: -Fixed / simplified start of new game map and tech tree centring | 14:57 |
CIA-61 | FreeOrion: -Added some free function object getters to replace GetUniverse().Objects().Object() | 14:57 |
CIA-61 | FreeOrion: -Added some safety check / early exit to UniverseObject Copy functions if copying itself | 14:57 |
CIA-61 | FreeOrion: -Modified destroyed object tracking to just keep track of which empires know an | 14:57 |
CIA-61 | FreeOrion: object is destroyed, so that each empire's existing known objects map can be | 14:57 |
CIA-61 | FreeOrion: used to store destroyed objects, rather than having one or more separate object | 14:57 |
*** Q_Continuum has quit IRC | 15:10 | |
*** Q_Continuum has joined #freeorion | 15:10 | |
*** mithro has joined #freeorion | 17:57 | |
dansan | kroddn: thanks for the response :) | 19:48 |
dansan | kroddn: Geeze, I don't know cmake or scons :( Does running this configure.sh script override what cmake normally does? | 19:48 |
dansan | I have another question. If I discover the GiGi doesn't do everything we want it to do, but we like it better than cegui, will you guys be open to modifications that do not bloat the code unnecisarily? I'm thinking mostly of stuff that either a.) extends existing classes or b.) is only enabled with a "configure" option (not that I've figured out how the build works yet :) | 20:00 |
dansan | ooh, I found cmake-gui, this is quite helpful! :) | 20:07 |
dansan | how does cmake/FindGiGi.cmake work? It says I can define $GIGI to help it find where I've installed GiGi, but it doesn't seem to work :( If I set it as an environement variable or if I set it as a value in cmake-gui. I've managed to get past it by manually editing GIGI_INCLUDE_DIR and GIGI_GIGI_LIBRARY, but I would rather do it the correct way | 20:46 |
GeofftheMedio | you can modify GiGi all you want for your own purposes, and if you post back the patches, tzlaine might incorporate them into the GiGi trunk, but he's pretty picky about code quality | 22:24 |
GeofftheMedio | to use cmake, you usually run the ccmake gui by typing "ccmake ." in the root dir of the files you're trying to build | 22:25 |
GeofftheMedio | then edit the options in the GUI and press c to configure until it's happy, then g to generate your make files | 22:25 |
dansan | thanks! :) | 22:27 |
dansan | Yea, I did get that part, but I was never able to build freeorion because it requires <2.22 of graphviz and my Gentoo distro is at 2.24 and when I try to downgrade, the stupid 2.22-r1 package is broken (I fixed two of the errors and gave up after the 3rd :) | 22:28 |
dansan | So I finally downloaded the binaries -- excellent game environment!! I never played MOO, so I have no idea what I'm doing in the actual game :) | 22:28 |
dansan | GeofftheMedio: mind if I ask you a few questions about GiGi though? :) | 22:29 |
dansan | I know I mostly just need to dig into it, but the way it does serialization, I can implement my own Boost.Serializable to serialize it as XML if I want, right? | 22:30 |
dansan | And then is it possible without much extension to define an entire UI in a non-code file? If not, that would be the primary thing I would be interested in adding, if we go with GiGi | 22:30 |
GeofftheMedio | it might work with 2.24 if you can edit the cmake files to get rid of the version requirement... I'm not sure, though. | 22:31 |
dansan | ahh, well it fails on setting GRAPHVIZ_AGRAPH_LIBRARY and INCLUDE, maybe I can set those manually. | 22:33 |
GeofftheMedio | I'm not sure what you mean by "implement my own Boost.Serializable" ... | 22:34 |
GeofftheMedio | I've not done much with GiGi serialization myself, but many of the classes have boost serialization code already written... | 22:34 |
dansan | ahh | 22:34 |
dansan | So what format do they write, is it editable? | 22:34 |
GeofftheMedio | either binary or xml, but I don't think it's meant to be editable | 22:35 |
dansan | ahhh!! | 22:35 |
GeofftheMedio | tzlaine has also been adding some adobe "adam" and "eve" code that I think is intended to make a UI definable in a more user-editable format | 22:35 |
GeofftheMedio | but I don't think it's done yet | 22:35 |
dansan | Yea, we want to be able to have the GUI completely skinnable and completely XML-driven, probably via luabind or some such. | 22:35 |
GeofftheMedio | although I think there's a test / tutorial for it in there... | 22:35 |
dansan | ahh! | 22:35 |
dansan | I've never heard of that | 22:35 |
dansan | hmm, ok | 22:36 |
GeofftheMedio | there are adam.cpp and eve.cpp in the tutorials | 22:37 |
GeofftheMedio | there's probably some text about how it works somehwere | 22:37 |
dansan | Yea, our project is an RTS game engine and we want modders to be able to completely modify the UI without knowing C++ or compiling. So we're looking at using luabind to expose internal game objects and have the GUI config (XML) specify those bindings, or some other mechanism if Lua turns out to be too heavy | 22:38 |
dansan | ahh, thanks | 22:38 |
dansan | I'll check it out | 22:38 |
dansan | The freeorion UI is extremely impressive!!! =) | 22:38 |
dansan | I never played MOO, but my brother did, I'll have to turn him on to this :?) | 22:38 |
dansan | Also, do you know much about how GiGi compares to cegui? I really like the design of GiGi!!! | 22:39 |
GeofftheMedio | looking at the more recent gigi commit log entries, the adam / eve stuff may be incomplete | 22:40 |
GeofftheMedio | never used cegui | 22:40 |
dansan | yea, it's marked experimental | 22:42 |
dansan | But it's not like we're out of alpha :) | 22:43 |
GeofftheMedio | you could implement your own scripting system to build the gui from whatever input files you want, though | 22:43 |
dansan | The other things we want to eventually support are animated GUI components (and none of the gui libraries seem to support that) as well as transitions | 22:43 |
dansan | Yea, just trying to minimize work :) | 22:44 |
dansan | hmm, 2.24 doesn't have a libagraph, that's what appears to be the problem. I wonder if they just merged it into one of the other libraries | 22:53 |
GeofftheMedio | it may not be needed at all... I seem to be able to link freeorion without having libagraph in the lib folder on win32 | 23:00 |
dansan | oh, goodie | 23:01 |
dansan | I was looking through the graphviz binaries and I think it's in libcgraph now | 23:01 |
dansan | maybe... | 23:02 |
dansan | I'm going to tell it that libcgraph is agraph and move on with the cmake :) | 23:02 |
dansan | ooh, I got cmake to generate makefiles! :) Let's see if it compiles now :) | 23:05 |
dansan | hmm, it's still not picking up my include path for GiGi :( How do you pass CPPFLAGS to cmake explicitly? (or where I can set them?) | 23:14 |
dansan | Are the current trunk sources supposed to build & run? | 23:18 |
dansan | and does it compile on gcc 4.4? | 23:19 |
GeofftheMedio | cppflags: I don't know... can you not just specify GIGI_INCLUDE_DIR in ccmake? | 23:24 |
dansan | yea, I specified that but it didn't pick it up :( | 23:24 |
GeofftheMedio | what do you mean "didn't pick it up" ? | 23:25 |
dansan | I added it to CMAKE_CFLAGS and it seems to have taken it, but I'm running into another issuenow :( | 23:25 |
GeofftheMedio | gigi and freeorion latest svn both build and run | 23:26 |
dansan | Oh, rather CMAKE_C_FLAGS and CMAKE_CXX_FLAGS | 23:26 |
dansan | http://www.pastebin.ca/1667573 | 23:27 |
tpb | Title: pastebin - Mine - post number 1667573 (at www.pastebin.ca) | 23:27 |
dansan | This is without -fpermissive, adding that removes that "note:", but it still fails | 23:28 |
dansan | and I don't even understand that error message :( | 23:28 |
dansan | The template function looks fine to me | 23:28 |
GeofftheMedio | looks like gcc is being pickier than the microsoft compiler again | 23:28 |
dansan | lol! :) | 23:29 |
GeofftheMedio | it's apparently missing a defintion of GetUniverse() | 23:29 |
dansan | I take it this file was recently edited? | 23:29 |
GeofftheMedio | yes | 23:29 |
dansan | ahhh | 23:29 |
GeofftheMedio | try one or two svn revisions back | 23:29 |
dansan | ok, will do :) | 23:29 |
GeofftheMedio | 3261 shouldn't have that particula rissue | 23:30 |
dansan | ok, that's the one I'm trying now | 23:30 |
dansan | oops, I did an svn switch in the wrong directory! :) | 23:30 |
GeofftheMedio | you don't need to switch... just update to the specified revision | 23:31 |
dansan | hehe, I'm going to end up downloading most of it again :) | 23:31 |
dansan | yea, I guess either works, but just specifying a different revision wont blow away what you've already downloaded :) | 23:32 |
GeofftheMedio | it should just get the different files | 23:32 |
GeofftheMedio | same as updating to a newer revision | 23:32 |
GeofftheMedio | updating to 3261 updates 13 files for me | 23:33 |
dansan | yea, but I was in the FreeOrion directory when I told it to switch to the trunk, so it happily deleted everything in that directory and then started checking out the trunk | 23:34 |
* dansan will just use svn -r up next time | 23:34 | |
* dansan swears he's not going to get sucked into another project! =) | 23:35 | |
GeofftheMedio | hmm. I'm confused about why GetUniverse isn't defined in Universe.h but is in System.h | 23:36 |
dansan | Well I'm glad to be of some help | 23:38 |
GeofftheMedio | hmm (again). Think I found the problem. | 23:39 |
dansan | ahh, cool | 23:39 |
GeofftheMedio | could you try adding | 23:40 |
GeofftheMedio | #include "../util/AppInterface.h" | 23:40 |
GeofftheMedio | to the top of Universe.h | 23:40 |
dansan | Well after I'm done downloading all of the arg files & such (that got blown away) I'll give it a shot | 23:40 |
GeofftheMedio | and removing it from near the bottom of UniverseObject.h | 23:40 |
dansan | Yea, I did a search on GetUniverse and I found a few different definitions, I wasn't confident enough to take a guess | 23:40 |
dansan | ahh | 23:40 |
*** STalKer-X has quit IRC | 23:51 | |
*** STalKer-X has joined #freeorion | 23:51 | |
dansan | ok, I'm rebuilding now | 23:56 |
dansan | wow, I've just begun to scratch the surface to boost in the last few months, and warnings like this makes me wonder how ready I am for it :) http://www.pastebin.ca/1667600 | 23:58 |
tpb | Title: pastebin - Stuff - post number 1667600 (at www.pastebin.ca) | 23:58 |
dansan | All of that just to tell me that "dereferencing type-punned pointer will break strict-aliasing rules" | 23:58 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!