Menu

Linux build problem

Help
2011-10-10
2012-09-14
  • Nobody/Anonymous

    umask 0;g++ -Wall -g -D_DEBUG -c GBayesianNetwork.cpp -o
    ../../obj/GClasses/dbg/GBayesianNetwork.o

    In file included from GBayesianNetwork.cpp:13:0:

    GRand.h:60:2: error: ‘size_t’ does not name a type

    GRand.h:118:34: error: ‘size_t’ has not been declared

    GRand.h:121:41: error: ‘size_t’ has not been declared

    GRand.h:124:32: error: ‘size_t’ has not been declared

    make: *** Error 1

    make: Leaving directory `/home/will/Downloads/waffles/src/GClasses'

    make: *** Error 2

    any ideas?

     
  • Mike Gashler

    Mike Gashler - 2011-10-12

    I think this issue is related to g++ 4.6 because it doesn't seem to repro with
    g++ 4.5. I have checked a fix into the Subversion repository. In the meantime,
    you can work around it by adding these lines to the header files that the
    compiler complains about:

    include <sys types.h=""></sys>

    include<cstddef></cstddef>

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.