[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. a5b457ce90100e2832f75fd7c391263b3a
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2022-09-23 13:58:33
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via a5b457ce90100e2832f75fd7c391263b3aa80431 (commit)
from 2cda327ea622a1905506e0be6c5086fdc06e31d9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/a5b457ce90100e2832f75fd7c391263b3aa80431/
commit a5b457ce90100e2832f75fd7c391263b3aa80431
Author: Mathieu Malaterre <mat...@gm...>
Date: Fri Sep 23 15:58:13 2022 +0200
Shot in the dark
should fix
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
_shift_jis_to_utf8 in libgdcmMSFF.a(mec_mr3_io.c.o)
"_iconv_close", referenced from:
_mec_mr3_print in libgdcmMSFF.a(mec_mr3_io.c.o)
"_iconv_open", referenced from:
_create_app in libgdcmMSFF.a(mec_mr3_io.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
diff --git a/Source/MediaStorageAndFileFormat/CMakeLists.txt b/Source/MediaStorageAndFileFormat/CMakeLists.txt
index 947f5b6db..7d1ca0550 100644
--- a/Source/MediaStorageAndFileFormat/CMakeLists.txt
+++ b/Source/MediaStorageAndFileFormat/CMakeLists.txt
@@ -228,6 +228,9 @@ endif()
if(GDCM_USE_SYSTEM_JSON)
target_link_libraries(gdcmMSFF LINK_PRIVATE ${JSON_LIBRARIES})
endif()
+if(APPLE)
+ target_link_libraries(gdcmMSFF iconv)
+endif()
# handling of static lib within shared is a mess:
#target_link_libraries(gdcmMSFF gdcmrle)
set_target_properties(gdcmMSFF PROPERTIES ${GDCM_LIBRARY_PROPERTIES})
-----------------------------------------------------------------------
Summary of changes:
Source/MediaStorageAndFileFormat/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
Grassroots DICOM
|