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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
The issue has been listed on the bug tracker.
The simplest fix is to add one include line to CPUUsage.cpp:
#include <cstring>