*** tpb has joined #freeorion | 00:00 | |
*** STalKer-X has joined #freeorion | 00:16 | |
*** mithro has joined #freeorion | 00:32 | |
*** Carmina has quit IRC | 00:33 | |
*** Mikk- is now known as MikkAsleep | 00:49 | |
*** greywolf has joined #freeorion | 00:53 | |
*** greywolf has quit IRC | 01:19 | |
*** greywolf has joined #freeorion | 01:33 | |
*** Jo-Con-El_ has joined #freeorion | 01:35 | |
*** Jo-Con-El has quit IRC | 01:49 | |
*** mithro has quit IRC | 01:49 | |
*** mithro has joined #freeorion | 02:08 | |
*** tyreth has joined #freeorion | 02:21 | |
*** GeofftheMedio has joined #freeorion | 02:22 | |
GeofftheMedio | greywolf: No, I did not get your message last night.. or the night before. whichever you asked about | 02:22 |
---|---|---|
greywolf | hey Geoff | 02:27 |
greywolf | ok | 02:27 |
greywolf | I tried compiling it again, but it gave me another error message | 02:27 |
greywolf | I'll paste it really fast and give you the link | 02:27 |
greywolf | http://rafb.net/p/yWoTZ455.html | 02:28 |
tpb | Title: Nopaste - No description (at rafb.net) | 02:28 |
greywolf | that was after I added the #include ../universe/Enums.h to the TechTree cpp file | 02:29 |
greywolf | I tried adding it to the header as well, but it didn't do anything | 02:29 |
GeofftheMedio | you put the #include at the top of the header before line 9? | 02:31 |
greywolf | I didn't notice what line it was, but it was along with the other #includes | 02:34 |
greywolf | let me check again | 02:34 |
GeofftheMedio | what errors do you get if you put it on line 6 of the header, after #include "CUIWnd.h" | 02:35 |
greywolf | I'll check that in one second... | 02:36 |
greywolf | I deleted the old version and grabbed a new one from the svn checkout, just in case | 02:36 |
greywolf | so I'm restoring the old one so I don't have to build it again | 02:37 |
greywolf | I put the include line on line 12 in the TechTreeWnd.cpp file: http://rafb.net/p/WKWi7x34.html | 02:39 |
tpb | Title: Nopaste - No description (at rafb.net) | 02:39 |
greywolf | am I supposed to be putting it in the header or the main cpp file? | 02:40 |
GeofftheMedio | I said the cpp before, but looking at the errors, I'm thinking header now. | 02:42 |
greywolf | this is the error I get when putting it in the header: http://rafb.net/p/tf5QcO52.html | 02:43 |
tpb | Title: Nopaste - No description (at rafb.net) | 02:43 |
greywolf | that's on line 7, after #include "CUIWnd.h" | 02:43 |
GeofftheMedio | that's certainly a lot better than it was before | 02:43 |
greywolf | heh, true | 02:44 |
GeofftheMedio | hmm. odd... it compiles fine for me with just the forward declarations of the enums TechStatus and TechType, but gcc seems to need the full Enums.h header included... | 02:44 |
greywolf | :\ | 02:45 |
STalKer-X | did you notice it gets fuller here? :) | 02:46 |
STalKer-X | gone are the days when i was really alone :< | 02:47 |
greywolf | heh | 02:47 |
greywolf | you should see the #kubuntu channel | 02:47 |
GeofftheMedio | there are people in the channel, but they don't seem to be paying much attention | 02:47 |
greywolf | there's like 500 people in there | 02:47 |
greywolf | do any other devs come to the channel? | 02:48 |
STalKer-X | penguins do live in groups usually | 02:48 |
GeofftheMedio | anyway... it seems that I can't use "unsigned int(1)" put an unsigned int constant value into the code... but I can't just use "1" because MSVC complain the type was ambiguous | 02:48 |
greywolf | lol stalker | 02:48 |
greywolf | can you just make a const variable that will never be used again? | 02:49 |
STalKer-X | con't you do it with an #ifdef or something? :p | 02:49 |
greywolf | messy, but... :\ | 02:49 |
GeofftheMedio | I suppose... but "const unsigned int one = 1" seems a tad overkill... | 02:49 |
STalKer-X | lol ;-) | 02:50 |
GeofftheMedio | I'm not throwing in #ifdef special cases so I can put a 1 into the code... | 02:50 |
STalKer-X | why not put in 2-1 :) | 02:50 |
GeofftheMedio | that would also be ambiugously typed, alas | 02:50 |
STalKer-X | now is the perfect time to port freeorion over to C# and XNA ;-P | 02:51 |
greywolf | heh | 02:51 |
GeofftheMedio | feel free | 02:51 |
STalKer-X | no thanks | 02:51 |
GeofftheMedio | greywolf: you getting the file send request? | 02:56 |
greywolf | yeah | 02:56 |
greywolf | sorry, I was salvating over the screenshots :P | 02:56 |
greywolf | can you send it again? :\ | 02:57 |
greywolf | crap, I have to go | 02:57 |
greywolf | I'll be back in about 30 minutes though | 02:57 |
GeofftheMedio | k | 02:57 |
greywolf | bleh, just email it to me | 02:57 |
greywolf | [email protected] | 02:57 |
greywolf | adios | 02:57 |
*** greywolf is now known as greywolf|away | 02:58 | |
GeofftheMedio | if I get the other thing I'm working on done, I'll just upload to svn. | 02:58 |
GeofftheMedio | but let me know when you're back and I'll email then if not yet committed | 02:58 |
*** greywolf|away is now known as greywolf | 04:03 | |
greywolf | ok I'm back | 04:03 |
GeofftheMedio | k | 04:03 |
GeofftheMedio | sec | 04:04 |
greywolf | no problem | 04:04 |
GeofftheMedio | I sent an svn diff patch... if you know how to apply those, feel free, or just remove the lines preceeded with - and replace with the lines preceeded with + | 04:08 |
greywolf | ok | 04:08 |
GeofftheMedio | or just make the changes. you can likely leave out the last part... the changes to TechDoubleClickedSlot | 04:08 |
greywolf | hmm.. where's the patch at? | 04:11 |
greywolf | I can't find it in the downloads section | 04:11 |
GeofftheMedio | emailed | 04:11 |
greywolf | ah ok :) | 04:11 |
greywolf | I applied the patches manually and am testing now | 04:19 |
GeofftheMedio | I await the next round of errors... | 04:20 |
greywolf | but how do I apply them via the console (or some other way?) | 04:20 |
*** mithro has quit IRC | 04:20 | |
GeofftheMedio | if you've got subversion or a compatible patching program | 04:21 |
GeofftheMedio | then you'd do somehting like | 04:21 |
GeofftheMedio | patch -p0 < | 04:21 |
GeofftheMedio | Modified_Sept_6_2006_2.patch | 04:21 |
GeofftheMedio | without the linebreak, and repacing the patch name with the one you want | 04:21 |
GeofftheMedio | run this in the root dir of the thing you're patching | 04:21 |
GeofftheMedio | I don't really know what -p0 means, but it's necessary | 04:22 |
GeofftheMedio | you can probably google for details | 04:22 |
greywolf | ok | 04:22 |
greywolf | well, it gives me these warnings: http://rafb.net/p/Z52wJQ62.html | 04:25 |
tpb | Title: Nopaste - No description (at rafb.net) | 04:25 |
greywolf | but aside from that it looks good! =D | 04:25 |
greywolf | it's compiling other stuff now | 04:25 |
GeofftheMedio | I (think I) have fixed the warnings locally, but won't bother sending you a special patch | 04:28 |
greywolf | meh, it's fine as long as it works :P | 04:29 |
greywolf | woo! done building targets! :D | 04:29 |
greywolf | now to install... | 04:30 |
greywolf | bleh, I can't find the executable :( | 04:34 |
greywolf | what's the command to run it from the console? | 04:34 |
GeofftheMedio | probably "freeorion" | 04:34 |
greywolf | no such luck :\ | 04:34 |
greywolf | oh wait | 04:38 |
greywolf | gah, how stupid of me | 04:38 |
GeofftheMedio | ? | 04:38 |
greywolf | I deleted the folder thinking I didn't need it after it had been installed and the executable was in there the whole time >_< | 04:39 |
GeofftheMedio | ah.. | 04:39 |
STalKer-X | haha | 04:40 |
greywolf | crap, it won't execute :( | 04:48 |
GeofftheMedio | in a particular way...? | 04:49 |
greywolf | I double click it, and nothing happens | 04:50 |
greywolf | I right click it, use bash to open it, and a console window opens for a split-second and closes again | 04:50 |
GeofftheMedio | there's probably an error message | 04:50 |
GeofftheMedio | open a console window, run freeorion, and see output | 04:50 |
greywolf | bash: freeorion: command not found | 04:52 |
greywolf | that's what it tells me when I try to run it from the console | 04:52 |
GeofftheMedio | you probably need to run it from the directory in which the executable is located, or add that directory to your path | 04:52 |
GeofftheMedio | why right-click running doesn't work, I'm not sure | 04:52 |
GeofftheMedio | is the file marked executable? (chmod u+x freeorion*) ? | 04:53 |
greywolf | yeah, it says it's an executable | 04:54 |
greywolf | but I'm in the directory where it's at | 04:54 |
GeofftheMedio | ./freeorion then? | 04:55 |
GeofftheMedio | if not, I have no idea | 04:55 |
greywolf | ./freeorion: error while loading shared libraries: libGiGiSDL.so: cannot open shared object file: No such file or directory | 04:55 |
greywolf | :\ | 04:55 |
GeofftheMedio | ok, that's different | 04:55 |
GeofftheMedio | have you built GG? | 04:56 |
greywolf | yes, I'm pretty sure | 04:56 |
greywolf | well | 04:56 |
greywolf | I didn't build the one I got from SVN last time | 04:56 |
greywolf | I built GG the very first time | 04:56 |
GeofftheMedio | it hasn't changed recently | 04:56 |
greywolf | I'll build it again just in case | 04:57 |
GeofftheMedio | and even if it had, you'd have an old version of libGiGiSDL.so, not no version | 04:57 |
GeofftheMedio | regardless, you need to tell it where the library file is located | 04:57 |
GeofftheMedio | I'm not sure how to do that | 04:57 |
greywolf | hmm | 04:57 |
greywolf | I think I know what went wrong | 05:28 |
greywolf | I forgot to install it with the sudo command | 05:28 |
greywolf | but it didn't give me any errors, so I figured it was fine | 05:28 |
greywolf | but I'm doing that now, and it's taking a lot longer | 05:28 |
GeofftheMedio | and people wonder why linux isn't capturing more marketshare... | 05:29 |
greywolf | haha | 05:29 |
greywolf | yeah, I've come to the conclusion that linux is only for power users/hackers/smart people | 05:29 |
greywolf | not your average joe | 05:30 |
greywolf | crap, no luck :( | 05:33 |
GeofftheMedio | if you're missing libraries still, somebody's user story suggests, for Fedora, export LD_LIBRARY_PATH=/opt/freeorion/lib:/usr/lib/graphviz | 05:41 |
GeofftheMedio | maybe do something similar? | 05:41 |
greywolf | I don't even know what's wrong | 05:41 |
greywolf | the executable refuses to execute | 05:42 |
greywolf | it doesn't even give me any errors :( | 05:42 |
GeofftheMedio | from the command line? | 05:42 |
greywolf | oh wait :p | 05:42 |
greywolf | hmm, it still gives me that shared libraries error | 05:43 |
greywolf | bleh, it's too late, I'll tackle it tomrrow | 05:44 |
greywolf | *tomorrow | 05:44 |
greywolf | talk to you later Geoff and thanks for helping me out | 05:46 |
GeofftheMedio | later | 05:46 |
GeofftheMedio | thanks for your help finding linux / gcc compile bugs that I don't get | 05:47 |
greywolf | my pleasure | 05:47 |
greywolf | later | 05:47 |
*** greywolf has quit IRC | 05:47 | |
*** tpb has joined #freeorion | 06:00 | |
*** mithro has joined #freeorion | 06:08 | |
*** MikkAsleep has quit IRC | 06:14 | |
*** GeofftheMedio has quit IRC | 06:43 | |
*** mrBabble has joined #freeorion | 07:29 | |
*** mrBabble is now known as Mikk- | 07:29 | |
*** Mystiqq has joined #freeorion | 09:26 | |
*** Jo-Con-El_ has quit IRC | 09:29 | |
*** tpb` has joined #freeorion | 09:54 | |
*** tpb` is now known as tpb | 09:54 | |
*** tpb` has joined #freeorion | 10:05 | |
*** tpb` is now known as tpb | 10:05 | |
*** tyreth has quit IRC | 12:34 | |
*** Mystiqq has quit IRC | 12:49 | |
*** GeofftheMedio has joined #freeorion | 12:58 | |
*** GeofftheMedio_ has joined #freeorion | 13:00 | |
*** GeofftheMedio has quit IRC | 13:09 | |
*** Jo-Con-El_ has joined #freeorion | 13:32 | |
*** GeofftheMedio_ has quit IRC | 13:54 | |
*** GeofftheMedio has joined #freeorion | 15:04 | |
*** GeofftheMedio_ has joined #freeorion | 15:26 | |
*** GeofftheMedio has quit IRC | 15:44 | |
*** GeofftheMedio_ has quit IRC | 19:30 | |
*** STalKer-X has quit IRC | 20:16 | |
*** STalKer-X has joined #freeorion | 20:16 | |
*** tyreth has joined #freeorion | 20:52 | |
*** tyreth has quit IRC | 21:15 | |
*** _Jo-Con-El has joined #freeorion | 21:29 | |
*** mithro has quit IRC | 21:33 | |
*** Jo-Con-El_ has quit IRC | 21:43 | |
*** Mikk- is now known as mikkAsleep | 21:57 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!