Saturday, 2010-01-30

*** tpb has joined #freeorion00:00
*** mithro_ has joined #freeorion00:36
*** mithro_ is now known as mithro00:41
*** strooka has joined #freeorion00:51
strookaHi there00:53
*** strooka has quit IRC00:59
*** GeofftheMedio has joined #freeorion01:25
*** GeofftheMedio_ has quit IRC01:44
*** ingo has joined #freeorion02:00
*** GeofftheMedio_ has joined #freeorion02:03
*** GeofftheMedio has quit IRC02:22
*** changelog has quit IRC02:50
*** changelog has joined #freeorion02:50
*** ingo has quit IRC03:51
*** STalKer-X has joined #freeorion04:28
*** STalKer-Y has quit IRC04:45
*** GeofftheMedio_ has quit IRC06:46
*** GeofftheMedio has joined #freeorion06:58
*** Ingmar has quit IRC08:07
*** Ingmar has joined #freeorion08:07
*** ingo has joined #freeorion08:26
*** ingo is now known as planetmaker08:29
*** Ingmar has quit IRC08:30
*** aleksil has quit IRC08:32
*** STalKer-X has quit IRC08:32
*** kroddn has quit IRC08:32
*** enigmatic has quit IRC08:32
*** TuOki^ has quit IRC08:32
*** planetmaker has quit IRC08:33
*** changelog has quit IRC08:33
*** mithro has quit IRC08:33
*** GeofftheMedio has quit IRC08:33
*** tpb has joined #freeorion08:38
*** Rotonen has joined #freeorion08:59
*** mithro has quit IRC09:06
*** Mindblighter has joined #freeorion09:26
*** Mikoto has joined #freeorion09:53
*** Mikoto has quit IRC09:59
*** Mikoto has joined #freeorion09:59
*** CIA-84 has joined #freeorion11:37
planetmakerhi13:32
planetmakeris GiGI part of FreeOrion or is it a separate project?13:32
planetmakerI'm unsure as it's part of the svn trunk checkout13:32
planetmakerbut considered an external dependency13:32
planetmakerhmpf... it builds but doesn't link :S13:33
planetmakerhttp://pastebin.ca/1771912 <-- I know I'm missing still some FreeOrion dependencies... but is it okay to fail?13:38
tpbTitle: pastebin - Jemand - post number 1771912 (at pastebin.ca)13:38
*** enigmatic has quit IRC15:38
*** enigmatic has joined #freeorion15:57
*** ChanServ has quit IRC16:13
*** enigmatic has quit IRC16:13
*** enigmatic has joined #freeorion16:23
*** enigmatic has joined #freeorion16:28
*** pm has joined #freeorion17:16
*** strooka has joined #freeorion18:39
strookaHi18:39
strookaDoes anybody Know wether there are some Space Combat 3D Files out there?18:42
strookaI mean cpp and headers18:44
pmDid you check the svn repo (I've no idea as of now)18:44
strookaI mean in the svn the Combat is still done automatically, all i've Seen was the tech Demo. Is this the actual State of the Combat?18:47
pmas far as I know yes. Mind that I only discovered this game one, two weeks ago, so take it with a grain of salt what I say18:49
pmSeems the actualy implementation of that is what is being worked upon right now18:49
strookaSo you Know wether there is sb Wirkung on it actually? The tech Demo is very old18:51
strookaWirkung18:51
pmworking? ;-)18:51
strookaYah damn iPod18:51
pmI don't really know. But the discussions in the forum and the road map suggest that it's the case18:51
pmmust be a German iPod :-P18:52
strooka:(18:52
STalKer-X<318:53
pmhttp://freeorion.org/forum/viewtopic.php?f=6&t=84218:53
tpb<http://ln-s.net/4vec> (at freeorion.org)18:53
pmthough... might be that an automatic system, but more fine-grained is what rather might see the light of the world before there's some kind of player control, either in 2D, save 3D.18:54
*** strooka has quit IRC18:55
*** strooka has joined #freeorion18:55
pmhe... colloquy is a nice client :-)18:55
strookaHehe18:55
strookaOk then, after i've finished HotKeyManager and its Done to 99% i will Be on it18:59
strookaOn monday its Done19:00
pmhe, I see, you'reTHAT guy :-) Nice thing that is.19:00
strooka;)19:00
pmI guess you should ask that the devs, though. This channel seems to see pretty low traffic.19:01
strookaIn the Forum?19:03
pmThat'd be the place I'd ask, yes19:03
pmbtw... what's your dev platform?19:03
strookaSuse Linux 11.2, Kdevelop319:04
pmhm, ok. Then you cannot help me :-)19:04
pmI fail at getting all the deps working which I need for FO19:05
pmon Mac that is19:05
strookaYou're coding in mac????19:05
pmat home, yes19:06
pmat work, no ;-)19:06
strookaI've tried it with mac mini but i failed in compile19:06
pmI already fail to get Ogre and ALUT to compile into libraries.19:08
strookado you Need to Build the actual Sdk?19:09
pmI guess so... Or I missed the binary download19:09
pmthat'd be a pain in retrospect, but actually good news.19:10
strooka i Managed to Build with an old sdk but i got an Bus Error, didnt Know what it was19:10
pm"Note: On Windows, most dependencies are available pre-compiled in the FreeOrion SDK. "19:11
pmAnd then a list of dependencies. So... I assumed that I have to get all of them. And quite some are not available in binary form19:11
strookaKdevelop builds faster i think19:13
pmhe :-P But that doesn't help in my case ;-)19:13
strookaso you have all depedencies?19:14
pmwell. I cannot even build all of them.19:14
pmOpenAL doesn't compile, nor does ALUT19:14
pmand I have no frigging idea about them.19:14
strookaI could build that19:15
pmFor OSX?19:15
strookaYes19:15
strookalet me think19:15
pmIf you have a working cross-compiler linux->OSX you're one of few people who know how to do that.19:16
strookaI couldnt Build boost19:16
strookaOr had Problems with it19:17
pmthe interesting thing actually is: OpenAL has an OSX installer. It installs... but ALUT doesn't find it19:17
pmBoost is not a major problem (I use 1_39)19:17
pmthough it had - as usual on any platform - too many warnings for my taste.19:17
strookaBrowse dies19:18
strookaDirs19:18
strookaAnd change depedencies manually or by Link19:18
pmhe. yeah, that's probably a solution.19:19
strookaOpenal should Be in /opt/lib19:19
strookaWhen you hover over à file that doesnt exist you will See where Xcode Looks for it Place there à Link to your file19:21
pmyes... hm... I can check in roughly half an hour, I don't have my laptop with me right now ;-) But I assume that's where it installed itself into, but I'll have to check19:21
strookaWhat does the Compiler say?19:22
strookaExactly do you Know?19:23
pmnot by heart. Will you still be here in ~30 minutes? Then I can tell.19:26
strookaOk let's say 30 minutes. I'll Read the Combat Theras in the meantime.19:29
pmI should go home anyway... so. bbl :-)19:29
*** strooka_ has joined #freeorion19:48
*** strooka has quit IRC19:49
*** strooka_ is now known as strooka19:49
planetmakerso... here we go.19:50
planetmakerhm... what exactly would I expect openal to install in /opt/lib? I guess something like openal*.dylib19:56
planetmakerbut no such thing can be found19:56
planetmakerhttp://pastebin.ca/1772289 <-- and that's what I get when I try to compile it from source19:57
tpbTitle: pastebin - Stuff - post number 1772289 (at pastebin.ca)19:57
planetmaker(yes, I use the more *nix approach than the XCode approach ;-) )19:57
GeofftheMediothere is an osx sdk as well... did you get that?20:00
planetmakerhm... I searched for it. When I thought I found it, I got an exe file.20:00
planetmakerso obviously I missed it.20:01
GeofftheMediohttp://sourceforge.net/projects/freeorion/files/20:01
tpb<http://ln-s.net/4XkZ> (at sourceforge.net)20:01
GeofftheMedionear the bottom20:01
GeofftheMedioFreeOrion_MacOSX_SDK.zip20:01
planetmakerI see. Thanks. Either I'm blind or stupid or both ;-)20:02
GeofftheMedioor tried to find it some other way?20:02
*** strooka has quit IRC20:02
*** strooka has joined #freeorion20:02
planetmakerI clicked through the wiki and the forums...20:03
planetmakerI think I missed that dir down there :S20:04
planetmakerhm. I'll know more in... an hour.20:04
*** strooka has quit IRC20:04
*** strooka has joined #freeorion20:04
planetmakerIn which place would the ogre SDK be expected?20:05
planetmakere.g. found by the auto-detection? The ogre manual just says "put it where you like". Oh yeah...20:06
GeofftheMedioI don't know...20:08
strookaHi there20:08
strookaSo you have help with the sdk , pm?20:08
strookaHi geoff20:08
strookaCan you Tell me if there is à work on the 3D Combat20:08
strookaIn the Moment?20:08
GeofftheMediostrooka: from what he's said to me, tzlaine has something more than what's in SVN, and is probably working on it, although rather slowly20:09
strookaGeoff: can i help out?20:10
strookaThere was already à Simulation with Fighters and Bombers, right?20:11
GeofftheMedioyou'd need to pm him to ask, but unless you know a lot about ogre or one of the other libraries used, I doubt you'd be able to contribute much right now20:11
GeofftheMedioplanetmaker: I don't see anything about OGRE on the MacOSX freeorionwiki compile page, so I can't tell you anything about how it needs to be set up on OSX20:13
GeofftheMediothere might be a forum topic, but I don't recall20:13
planetmakerhm, ok20:13
strookaI ll try to pm him20:14
planetmakerok, I have the SDK now.20:14
planetmaker*FO-SDK20:15
*** strooka has quit IRC20:15
planetmakerbut... the SDK looks the same what the svn checkout of trunk gave me...20:16
planetmakerso I'm a bit puzzled.20:17
planetmakerhttp://pastebin.ca/177232020:20
tpbTitle: pastebin - Someone - post number 1772320 (at pastebin.ca)20:20
planetmakerwhat can I do with that SDK which I cannot do with trunk checkout?20:21
GeofftheMediothe SDK has a bunch of dependencies20:21
GeofftheMedioif you want to find and build them all yourself, you don't need the SDK20:22
CIA-84FreeOrion: geoffthemedio * r3340 /trunk/FreeOrion/UI/OptionsWnd.cpp: Added checks for whether m_edit of SetOptionFunctor<std::string> in OptionWnd.cpp is 0, to avoid dereferencing the pointer if it is 0.20:22
GeofftheMediothe code in the SDK is also out of date, so you'd need to update from SVN over top o fit20:22
GeofftheMediosince you were having errors relating to a library (openal) I figured the SDK might be helpful20:23
*** strooka has joined #freeorion20:23
*** strooka has quit IRC20:26
GeofftheMedioare pm and planetmaker the same person, or do I need to read a bunch of chat log about pm's questions / problems as well?20:28
planetmakerwell... seems like I have a fundamentally missing piece of knowledge there... or a few20:28
planetmakerpm and planetmaker is both myself20:28
planetmakerjust different computers20:28
planetmakerand I didn't bother to setup my bouncer for this network so far20:29
GeofftheMediowhat missing knowledge...?20:29
planetmakerI guess I need a step-by-step guide how to get from there to an actually working binary.20:30
planetmakerI know the use of configure, of make20:31
planetmakerBut I have not really used XCode projects so far either...20:31
GeofftheMediocmake might work on OSX... but I don't know if it's tested20:31
GeofftheMediobut I think the XCode project would make things a lot easier20:31
planetmakerI have it installed. It does its job20:31
GeofftheMedioso... cmake does its job, but you can't make a binary?  what's stopping you?20:32
GeofftheMedio(you do need to tell cmake where the dependencies are... AFAIK it won't find them on its own)20:32
planetmakerhm, right. That's the part I'm notoriously bad at when configure doesn't work automatically.20:33
GeofftheMediothe complexity of setting up command line build environments is why we include xcode and msvs projects20:34
planetmaker:-)20:34
planetmakerwell. It's no big deal to open the project files.20:36
planetmakerI assume if I open sdk/FreeOrion/Xcode/Freeorion.xcodeproj that's what I want. Or are there hidden even more project files?20:38
planetmakerhm... except in GG is also one20:38
GeofftheMedioI don't know the layout of the xcode project files.  it wouldnt' be implausible to have a separate project for gg and for freeorion, though.20:38
*** strooka has joined #freeorion20:39
planetmakerYes, that's what it seems20:39
planetmakerBut then... I fail to build anything from there, too. Let me get the error messages from there20:39
GeofftheMediohttp://freeorion.org/index.php/Compile_In_MacOsX20:40
GeofftheMedioread that20:40
tpb<http://ln-s.net/4vtX> (at freeorion.org)20:40
GeofftheMedioshould help20:40
GeofftheMedioat least one source file has been deleted (combat.cpp) so you'd need to make that modification20:41
planetmakeruh... right20:42
*** strooka has quit IRC20:47
planetmakerGeofftheMedio: thanks. The SDK seems to compile mostly. That is it builds everything except the client as it doesn't find the vorbis framework21:18
planetmakerI actually wonder about that as it seems to be included, but... it doesn't look like an unsolvable problem21:19
GeofftheMedioare you using the SDK or CMake?21:19
GeofftheMedioer, XCode or CMake21:19
planetmakerI'm using XCode on the SDK21:19
GeofftheMediohmm.  odd... I'd have thought it'd be set up to find it automatically21:20
planetmakerNoooo! That cannot be true.21:49
planetmakerIt's not yet built, but it seems that it's a matter of capitalization: vorbis vs. Vorbis and ogg vs. Ogg21:49
GeofftheMediook21:50
planetmakerit needs to be with captital letters. The header dirs21:50
GeofftheMedioit might help to make a post about that on the forums... should probably be fixe21:51
GeofftheMediod21:51
planetmakerthere are OSX variants which don't care about capitalization, like windows21:51
planetmakerwill do21:51
planetmakerseems the only thing missing is OpenAL of the correct architecture. However I got the wrong one compiled and installed... :S22:01
*** enigmatic has quit IRC22:14
*** Mindblighter has quit IRC22:18
GeofftheMediocorrect achritecture?22:18
planetmakeryes. like ppc / i386 / x6422:19
GeofftheMedioah.  yeah, I think the SDK is made for intel macs... dunno re: 64 bit issues, though.22:19
planetmakerin principle I can run all. But when I build, I need, of course the correct library form - or universals which have all three22:19
planetmakerI *guess* the problem is that x64 is the default, but I need i386.22:21
planetmakerand OpenAL has no xcode project to take care of that ;-)22:21
planetmakerha! Worked.22:25
GeofftheMedio?22:25
planetmakerI installed the version available from the OpenAL website. That was my mistake.22:25
planetmakerThat superseeded the one coming with FO22:25
GeofftheMediospiffy22:26
planetmakerprecedence of paths, I guess22:26
planetmakerand now I could checkout trunk into that dir, I assume, right?22:29
planetmakerand see whether I get a newer version compiled22:29
GeofftheMediowith the windows SDK, you can just update from svn... I don't know if you need to "checkout" vs. "update" though22:30
GeofftheMedioyou'll need to remove combat.cpp from the build after updating if using XCode22:30
planetmakerah... seems like svn up works22:30
planetmakerI didn't expect that :-)22:30
planetmakerbut very nice22:31
planetmakerhm... if svn worked, I could have provided the diff. Too late ;-)22:33
GeofftheMedio? could you explain that?22:33
planetmakernow I run svn up. So a diff is only sensible when I know that I can compile also current trunk22:34
planetmakers/run/ran/22:34
GeofftheMediowhat use would a diff be if based on an old version?22:35
planetmakerone could try to re-base it with a kind of 3-way merge. Dunno wether svn can do that, but one might succeed with hg22:35
planetmakerbut sure, diffs agains old versions suck ;-)22:36
planetmakerI wonder though why I get conflicts here...22:36
GeofftheMedioyou'd need to merge all the recent changes and make sure it compiles with the latest svn to make use of the diff anyway, so...22:37
planetmakeryeah22:37
planetmakerthere are deprecated headers from boost in use.22:42
GeofftheMediodepends what version of boost you're building against22:42
planetmakersdk-freeorion-052409/FreeOrion/Xcode/../util/VarText.cpp:7:22:43
planetmaker/Users/ingo/Downloads/sdk-freeorion-052409/FreeOrion/Xcode/dep/local/include/boost/spirit.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp"22:43
planetmakertrue that. I use newer than recommended ;-)22:43
planetmaker1.3922:43
GeofftheMediostill works with 1.40, with various deprecation warnings22:43
planetmakerbut if it's as easy as the warning suggests, it would be quite easy to remove it, no?22:46
planetmakerIF that is ;-)22:46
GeofftheMediodepends if it would still work with older versions22:46
planetmaker#ifdef ... #endif ?22:48
GeofftheMediono so "easy" anymore, and not worth bothering since it works currently, aside from the warnings22:49
planetmakertrue that.22:52
planetmakerThe lead dev of OpenTTD eplained me once in length though why he doesn't like warnings. Mostly as they tend to hide the true errors in lengthy compile logs - which I find quite reasonable22:53
GeofftheMediousing a reasonable IDE, one can hide warnings and show only errors22:54
*** Mikoto has quit IRC22:55
*** Rotonen has quit IRC22:55
*** CIA-84 has quit IRC22:55
*** GeofftheMedio has quit IRC22:55
*** pm has quit IRC22:55
*** kroddn has quit IRC22:55
*** TuOki^ has quit IRC22:55
*** aleksil has quit IRC22:55
*** _Maru_ has quit IRC22:55
*** planetmaker has quit IRC22:55
*** STalKer-X has quit IRC22:55
*** Mikoto has joined #freeorion22:57
*** STalKer-X has joined #freeorion22:57
*** planetmaker has joined #freeorion22:57
*** _Maru_ has joined #freeorion22:57
*** Rotonen has joined #freeorion22:57
*** planetmaker has quit IRC22:58
*** pm has joined #freeorion22:59
*** GeofftheMedio has joined #freeorion22:59
*** kroddn has joined #freeorion22:59
*** TuOki^ has joined #freeorion22:59
*** aleksil has joined #freeorion22:59
*** kornbluth.freenode.net sets mode: +o kroddn22:59
*** CIA-79 has joined #freeorion23:02
*** planetmaker has joined #freeorion23:03
planetmakerand it helped me also a lot when I coded OpenTTD's base graphics set, finding alignment and code errors there.23:06
GeofftheMediohiding warnings, or showing them?23:07
planetmakersilence warnings :-)23:07
GeofftheMediothere's probably an easier / faster way to do that than editing the code23:07
planetmakerwell. One wants all warnings, but no pointless ones23:08
GeofftheMedioalthough we'll probably update the required / expected boost version at some point.  I think 1.40's been out long enough to upgrade to that soon, although maybe not if you're still on 1.3923:08
planetmakerbesides, I have now r3340 compiled :-)23:08
planetmakerhm... I recall the SIGABRT issue from the forums... :S23:09
GeofftheMedioas in you also have it, or you remember reading about it?23:09
planetmakerboth23:09
planetmakerterminate called after throwing an instance of 'GG::Flags<GG::GraphicStyle>::UnknownFlag'23:11
planetmaker  what():  Invalid flag with value 023:11
*** GeofftheMedio_ has joined #freeorion23:12
planetmakerterminate called after throwing an instance of 'GG::Flags<GG::GraphicStyle>::UnknownFlag'   what():  Invalid flag with value 023:12
*** GeofftheMedio has quit IRC23:14
*** GeofftheMedio_ is now known as GeofftheMedio23:14
GeofftheMediouhm... ok.  can you locate when/where that's happening?23:16
planetmakerstart it and immediate exit23:16
planetmakerI see no starting screen nothing.23:16
planetmakerI built already a debug build23:16
GeofftheMedioI mean can you trace through execution or figure out what class is being initialized that's leading to that throw23:17
planetmakerright. backtrace: http://paste.openttd.org/22114323:18
tpbTitle: OpenTTD PasteBin (at paste.openttd.org)23:18
GeofftheMediouhm... strange.23:21
planetmakerif you can tell me what else I could tell gdb... please do so :-)23:21
GeofftheMediodid GiGi come with the SDK, and did you update it from SVN and rebuild?23:21
GeofftheMedioI don't know anything about how to use gdb23:21
planetmakerGiGi is updated via svn up, too23:21
planetmakerand it got re-compiled23:21
GeofftheMedioand is the freeorion build actually using the built gigi and not a separate one that came with the sdk?23:22
planetmakeruhm... I did svn up in the sdk dir. So, if it up'ed the GiGi (which is part of the SDK), there's no other chance. Or?23:23
GeofftheMedioI'm just wondering if the gigi build put the shared objects somewhere else, or made new verisons with different names, or otherwise made things so the old ones are still used23:24
GeofftheMediowhen building fo23:25
planetmakerhm...23:26
planetmakerwhen I did svn up I got a conflict in chmain.cpp23:26
planetmakerI chose trunk version.23:27
planetmakerbut noteworthy:23:27
planetmaker+<<<<<<< .mine23:27
planetmaker #    define OGRE_INPUT_PLUGIN_NAME "GiGiOgrePlugin_OIS.dll"23:27
planetmaker #  elif defined(FREEORION_MACOSX)23:27
planetmaker      // avoid installing the input plugin as a dynamic object23:27
planetmaker-#    include "../../GG/src/Ogre/Plugins/OISInput.h"23:27
planetmaker+#    include "../../GG/GG/Ogre/Plugins/OISInput.h"23:27
planetmaker+=======23:27
planetmaker+const std::string OGRE_INPUT_PLUGIN_NAME("GiGiOgrePlugin_OIS.dll");23:27
planetmaker+>>>>>>> .r334023:27
planetmakerwas part of the diff23:27
planetmakerbetween r3094 and 3340 where there was an unresolvable difference. r3340 is what I have now23:28
GeofftheMediothe ogre OIS plugin shouldn't have any effect on the flags definition that seems to be causing the crash23:28
GeofftheMediothat change was related to a reorganization of the gigi source tree to separate headers and source files23:29
planetmakerI see.23:30
planetmakerany chance to see the GG version a binary is linked to / currently running with?23:31
planetmakere.g. via symbols?23:31
GeofftheMedioI don't think think SVN version is built into the library, no...23:31
GeofftheMediothe crash doesn't make much sense.  it seems to be arising from initialization of a GG::Flags object on line 34 of FleetWnd.cpp23:32
GeofftheMedioconst GG::Flags<GG::GraphicStyle>23:32
GeofftheMedio                        DATA_PANEL_ICON_STYLE = GG::GRAPHIC_CENTER | GG::GRAPHIC_VCENTER | GG::GRAPHIC_FITGRAPHIC | GG::GRAPHIC_PROPSCALE;23:32
GeofftheMediobut all those flags are given nonzero values in staticgraphic.cpp23:33
planetmakeralso on x64 systems? Maybe a var size issue?23:33
planetmaker*type size23:34
planetmakerI know that stdafx.h on linux != stdafx.h on macos23:34
planetmakerand that x64 can cause trouble.23:34
GeofftheMedioI don't see how that could be relevant...23:35
GeofftheMediofor some reason, when passed nonzero flags, operator| is receiving 023:36
GeofftheMedioit's like GG::GRAPHIC_CENTER is default initialized to 0, then evaluated in FleetWnd.cpp when initializing DATA_PANEL_ICON_STYLE, before being initialized in StaticGraphic.cpp23:39
*** enigmatic has joined #freeorion23:40
planetmakerI guess we have to follow that another night. I start to fall asleep. I'll add the backtrace to the compile thread, though23:45
GeofftheMediook, thanks23:46
planetmakerthank you also for helping me through compiling :-)23:48
planetmakergood night for now23:49
*** planetmaker has quit IRC23:56

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