Compile error, undefined symbols in UI/TechTreeWnd

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
Maz
Space Floater
Posts: 22
Joined: Tue Jan 29, 2008 6:25 am

Compile error, undefined symbols in UI/TechTreeWnd

#1 Post by Maz »

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>::temp_bool' defined but not used
?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Compile error, undefined symbols in UI/TechTreeWnd

#2 Post by Geoff the Medio »

viewtopic.php?f=24&t=1826

Same problem (I think), and some suggestions, but I'm not sure if there's a fix...

Edit: However, there's also this post: viewtopic.php?p=28928#p28928

Maz
Space Floater
Posts: 22
Joined: Tue Jan 29, 2008 6:25 am

Re: Compile error, undefined symbols in UI/TechTreeWnd

#3 Post by Maz »

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 D_HAVE_CONFIG and #undef D_HAVE_CONFIG before and after the includes, I got it compiled and working. :)

It seems there's some quite big memory leaks in some ogg handling, as well as some other things... I guess I could check if I can say anything more, when I find the next peacefull moment :)

Thx for help Geoff, you pointed me to right direction by mentioning the graphviz headers :)

Post Reply