users > RE: Compile issue
Jan 12, 2023  03:01 PM | Antonio Ulloa
RE: Compile issue
Actually, I wanted to clarify that this is (partial output) what I get at the "cmake..." step:

-------------------------------
[...]
-- Using system zlib
-- Could NOT find MXML (missing: MXML_LIBRARIES MXML_INCLUDE_DIRS)
-- Building bundled mxml due to missing system mxml
-- Found system libbz2
-- Could NOT find LZMA (missing: LZMA_LIBRARIES LZMA_INCLUDE_DIRS)
-- Could NOT find DCMTK (missing: DCMTK_config_INCLUDE_DIR DCMTK_ofstd_INCLUDE_DIR DCMTK_ofstd_LIBRARY DCMTK_dcmdata_INCLUDE_DIR DCMTK_dcmdata_LIBRARY DCMTK_dcmimgle_INCLUDE_DIR DCMTK_dcmimgle_LIBRARY)
-- DCMTK library not found - defaulting to bundled version.
-- Building bundled DCMTK library for DICOM support.
-- BUILD_TESTING is active - building numdiff for tolerant numerical comparisons
[...]
-- Configuring done
-- Generating done
-- Build files have been written to: cmtk/3.3.2
-----------------------------

and then at the "make..." step I get warnings regarding several include *.h files are not found and this at the end:

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