try with uint64 for MacOS memory info
CCBUGS: 445061
-
🗼 @cgillesDeveloperMaik,
Under MacOS, it do not compile :
[ 32%] Built target core_libwso2_obj Scanning dependencies of target core_kmemoryinfo_obj_autogen [ 32%] Automatic MOC for target core_kmemoryinfo_obj [ 32%] Built target core_kmemoryinfo_obj_autogen Scanning dependencies of target core_kmemoryinfo_obj [ 32%] Building CXX object core/libs/kmemoryinfo/CMakeFiles/core_kmemoryinfo_obj.dir/core_kmemoryinfo_obj_autogen/mocs_compilation.cpp.o [ 32%] Building CXX object core/libs/kmemoryinfo/CMakeFiles/core_kmemoryinfo_obj.dir/kmemoryinfo.cpp.o In file included from /var/root/dktemp/digikam-master/core/libs/kmemoryinfo/kmemoryinfo.cpp:215: /var/root/dktemp/digikam-master/core/libs/kmemoryinfo/libstatgrab/kmemoryinfo_backend.cpp:254:5: error: unknown type name 'u_int64' u_int64 page_size; ^ 1 error generated. make[2]: *** [core/libs/kmemoryinfo/CMakeFiles/core_kmemoryinfo_obj.dir/kmemoryinfo.cpp.o] Error 1 make[1]: *** [core/libs/kmemoryinfo/CMakeFiles/core_kmemoryinfo_obj.dir/all] Error 2 make: *** [all] Error 2
Gilles
-
🗼 @cgillesDeveloperOk, the problem still here when i replace
u_int64
byuint64_t
. So it's fine to disable this code for the moment.