My System
OS: Gentoo Linux AMD64
GCC: 4.3.3
Boost: 1.37.0
Ogre: 1.6.1
Scons: 1.2.0-r1
Python: 2.5.4-r2
GraphViz: 2.22.1
Devil: 1.7.7
And yes, I did a COMPLETE system recompile (and revdep-rebuild) to ensure that my upgrade from GCC 4.1 to 4.3 didn't leave any packages out in the cold.
The Problem
Upon compiling FreeOrion, I receive the following error:
Code: Select all
UI/TechTreeWnd.cpp: In member function 'void TechTreeWnd::LayoutPanel::Layout(bool, double)':
UI/TechTreeWnd.cpp:1691: error: 'ND_coord_i' was not declared in this scope
FYI, I have already added the two extra includes at the top of TechTreeWnd.cpp, as recommended by another post about TechTreeWnd.cpp. These changes shown below:
Code: Select all
--- UI/TechTreeWnd.cpp (revision 2918)
+++ UI/TechTreeWnd.cpp (working copy)
@@ -21,6 +21,8 @@
#include <gvc.h>
#include <boost/format.hpp>
#include <algorithm>
+#include <geom.h>
+#include <arith.h>
Scons configure seems to work fine, and config.log looks good from what I can tell (no obvious failures).
Anyone have some advice for me? I'd love to compile this game! Thanks in advance.