[CIG-LONG] Mercurial compilation trouble

Walter Landry walter at geodynamics.org
Sat Oct 22 17:22:07 PDT 2011


Patrice Rey <patrice.rey at me.com> wrote:
> Hi Walter
> 
> This morning I had some trouble to compile Gale's Mercurial version.
> 
> I got the error message:  built/include/StGermain/Base/Context/
> AbstractContext.h:171: error: 'uint' does not name a type

That is very odd.  AbstractContext.cxx is one of the few files that
includes sys/types.h, which should define uint.  What compiler and
operating system are you using?

Thanks,
Walter Landry

> It seems that the problem is in the following files:
> 
> StGermain/Base/Context/src/AbstractContext.h
> StGermain/Base/Context/src/AbstractContext.cxx
> 
> In these files, replacing uint by int seems to have solved the problem since
> I've got an executable.
> 
> Cheers
> 
> Patrice
> 
> Associate Professor Patrice F. Rey
> EarthByte Research Group
> School of Geosciences
> The University of Sydney
> +61 2 9351 2067
> patrice.rey at mac.com
> patrice.rey at sydney.edu.au
> 


More information about the CIG-LONG mailing list