Menu

Gizmod Lucid compile err: memset not declared

Help
Cefn Hoile
2010-10-01
2013-04-23
  • Cefn Hoile

    Cefn Hoile - 2010-10-01

    Stopped trying to compile based on the 3.4 source distribution in the Ubuntu Luucid repository, and started working with 3.5 following the instructions on the wiki.

    I hit this error which doesn't appear to be documented in the forum.

    Building CXX object libGizmod/CMakeFiles/Gizmod.dir/CPUUsage.o
    /home/cefn/gizmod/gizmod-3.5/libGizmod/CPUUsage.cpp: In constructor ‘Gizmod::CPUUsageInfo::CPUUsageInfo()’:
    /home/cefn/gizmod/gizmod-3.5/libGizmod/CPUUsage.cpp:83: error: ‘memset’ was not declared in this scope
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2

     
  • Panther

    Panther - 2010-12-05

    The issue has been listed on the bug tracker.

    The simplest fix is to add one include line to CPUUsage.cpp:
    #include <cstring>

     

Log in to post a comment.