users > Compile issue
Jan 10, 2023  07:01 PM | Antonio Ulloa
Compile issue
Hello, while compiling 3.3.2 from source we get the error below and we were hoping to get some guidance as to how to fix it. Thanks!

--------------------------------
In file included from cmtk/core/Utilities/numdiff-5.2.1/analyze.c:52:0:
cmtk/core/Utilities/numdiff-5.2.1/numdiff.h:117:28: error: 'FIELDMASK_SIZE' undeclared here (not in a function); did you mean 'FD_SETSIZE'?
unsigned char ghostmask1[FIELDMASK_SIZE];
^~~~~~~~~~~~~~
FD_SETSIZE
In file included from cmtk/core/Utilities/numdiff-5.2.1/numdiff.h:23:0,
from cmtk/core/Utilities/numdiff-5.2.1/analyze.c:52:
cmtk/core/Utilities/numdiff-5.2.1/system.h:354:15: error: unknown type name 'uintmax_t'
# define word uintmax_t
^
cmtk/core/Utilities/numdiff-5.2.1/numdiff.h:494:5: note: in expansion of macro 'word'
word *buffer;
^~~~
make[2]: *** [Utilities/numdiff-5.2.1/CMakeFiles/numdiff.dir/analyze.o] Error 1
make[1]: *** [Utilities/numdiff-5.2.1/CMakeFiles/numdiff.dir/all] Error 2
make: *** [all] Error 2
------------------------------------

Threaded View

TitleAuthorDate
Compile issue
Antonio Ulloa Jan 10, 2023
Antonio Ulloa Jan 17, 2023
Antonio Ulloa Jan 12, 2023
Greg Jefferis Jan 12, 2023
Greg Jefferis Jan 10, 2023
Antonio Ulloa Jan 12, 2023