Search found 22 matches

by Maz
Sat Feb 13, 2010 6:47 pm
Forum: Programming
Topic: Coding Tools
Replies: 18
Views: 3526

Re: Coding Tools

vimtutor and google :)
by Maz
Sat Apr 04, 2009 9:32 am
Forum: Programming
Topic: Absolutely weird! (to me...)
Replies: 3
Views: 1085

Re: Absolutely weird! (to me...)

I am willing to bet (not too much though), that you do have optimizations enabled in compile. Thus some values/loops may be optimized, order of operations may change etc. Hence the IDE has problems in following the execution (which is different from what sources tell). It might really help if code w...
by Maz
Sat Jan 10, 2009 1:27 am
Forum: Programming
Topic: FreeOrion bug hunt 2009 #1
Replies: 4
Views: 1381

Re: FreeOrion bug hunt 2009 #1

Valgrind indeed is great tool. But there are certain cases when it does not detect memory issues correctly (or at least there was ... some (longish) time ago). One such situation is when shared memory is reserved / initialized by one process, and another process then uses / frees it (As far as I rem...
by Maz
Mon Aug 04, 2008 4:39 am
Forum: Programming
Topic: Coding Tools
Replies: 18
Views: 3526

Re: Coding Tools

I have never really used any other text editor on linux but vi(m). Okay, I once tried using emacs, and I found out it could've been good operating system - if someone wrote a decent text editor for it. :p Well, seriously. I just thought that I'll remind you vi(m) allows you to map all keys as you wi...
by Maz
Sun Aug 03, 2008 11:12 am
Forum: Programming
Topic: Coding Tools
Replies: 18
Views: 3526

Re: Coding Tools

Eclipse can also co-operate with gdb. And you can always do compiling using terminal.
by Maz
Sat Apr 05, 2008 10:18 am
Forum: Programming
Topic: Could you find use for me?
Replies: 14
Views: 3055

Re: Could you find use for me?

I could have downloaded latest boost source, yes. But I was afraid of consequences. There's many apps using boost, and I did not know about the most recent boost's backwards compatibility. (It may well be something else had broken). And I did not want to have two of em in my machine, I only have bad...
by Maz
Sat Apr 05, 2008 6:06 am
Forum: Programming
Topic: Could you find use for me?
Replies: 14
Views: 3055

Re: Could you find use for me?

I had some problems with locating (at least):

Log4cpp
DevIL
FMOD

If I remember correctly. But since it has been a while since I compiled FO, I do not remember all of problems accurately enough. Sorry :(

EDIT:
But required boost version was the hardest part.
by Maz
Sat Apr 05, 2008 5:53 am
Forum: Compile
Topic: "error: 'PI' was not declared in this scope"
Replies: 2
Views: 3330

Re: "error: 'PI' was not declared in this scope"

In my graphViz package PSINCH define was inside #ifdefs as follows: #ifdef D_HAVE_CONFIG #define PS..... . . . #endif I have no idea what purpose the D_HAVE_CONFIG serves here? However the dirty hack I did was adding includes for other graphviz files as author of this thread did, and adding #define ...
by Maz
Fri Apr 04, 2008 10:22 pm
Forum: Programming
Topic: Could you find use for me?
Replies: 14
Views: 3055

Re: Could you find use for me?

Boost was perhaps the biggest problem for me. I had to upgrade my whole OS to newer one to find new enough version. i wonder how many distros did offer that version an year ago? Anyways, I do not mean to attack you. And I do not really have competence to tell you which libs could be got rid off. I d...
by Maz
Fri Mar 28, 2008 9:52 pm
Forum: Programming
Topic: Could you find use for me?
Replies: 14
Views: 3055

Re: Could you find use for me?

I know this is not going to be a shock, but I wanted to inform you anyways :D I cannot really help you out, even though I like the project. FO simply has too many too bleeding edge libraries as requirements for me to keep up-to-date. I know I never really did anything but gave a few suggestions, but...
by Maz
Sat Feb 09, 2008 10:06 am
Forum: Compile
Topic: Compile error, undefined symbols in UI/TechTreeWnd
Replies: 2
Views: 953

Re: Compile error, undefined symbols in UI/TechTreeWnd

I did a dirty hack in techTree file, and managed to compile & run freeorion :) I am not exactly sure what's the root cause for my problem, since I cannot remember how I did install graphwiz. However, when I included headers which defined PS2INCH nad PI directly from tectTree file, and added #define ...
by Maz
Fri Feb 08, 2008 9:03 pm
Forum: Compile
Topic: Compile error, undefined symbols in UI/TechTreeWnd
Replies: 2
Views: 953

Compile error, undefined symbols in UI/TechTreeWnd

Hi dee ho! Does anyone have a sophisticated guess about what's wrong when I get bunch of undefined symbols while building UI/TechTreeWnd? At least PI and PS2INCH appear to be undefined. Maybe this is the root cause: UI/TechTreeWnd.cpp: At global scope: UI/TechTreeWnd.cpp:31: warning: '<unnamed>::tem...
by Maz
Mon Feb 04, 2008 9:36 am
Forum: FreeOrion Project
Topic: code interface specifications
Replies: 5
Views: 2194

Re: code interface specifications

I am sorry for being confusing with my posts. I just get a bit carried away when I'm typing. The first half of your post is an argument for encapsulation and modularity. And yes, these things are good, so I'm not sure what your point is when posting them...? Regardless, they are not really issues of...
by Maz
Mon Feb 04, 2008 5:56 am
Forum: FreeOrion Project
Topic: code interface specifications
Replies: 5
Views: 2194

Re: code interface specifications

Later is now when I am again at my peacefull work place :D (When I wast writing the previous reply, I had a crying newborn on my arms - it is nasty when 1,5 months old child has a flu :( ) Allright, I bet most of this is well known by you, but I'll just write this anyways. Well planned interfaces ar...
by Maz
Sun Feb 03, 2008 6:37 pm
Forum: FreeOrion Project
Topic: code interface specifications
Replies: 5
Views: 2194

Re: code interface specifications

Geoff the Medio wrote:Regarding specifying the interface for classes or functions that have not been written yet... Figuring that out is half the job of doing the coding.
Yes, it indeed is. And often it is the most crucial job. I'll post some more thoughts regarding this later..