users > RE: Compile issue
Jan 10, 2023  08:01 PM | Greg Jefferis
RE: Compile issue
Might need some more details of what you have done, but have you successfully run cmake before starting the build?

See e.g. this thread for the steps required to build:

https://www.nitrc.org/forum/forum.php?th...

Best,

Greg.

Originally posted by Antonio Ulloa:
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
Antonio Ulloa Jan 10, 2023
Antonio Ulloa Jan 17, 2023
Antonio Ulloa Jan 12, 2023
Greg Jefferis Jan 12, 2023
RE: Compile issue
Greg Jefferis Jan 10, 2023
Antonio Ulloa Jan 12, 2023