[Gdcm-hackers] [ gdcm-Bugs-3451408 ] FAQ Entry "How do I use GDCM in my project" is misleading
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: SourceForge.net <no...@so...> - 2011-12-05 15:02:53
|
Bugs item #3451408, was opened at 2011-12-05 06:58 Message generated for change (Comment added) made by malat You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=739587&aid=3451408&group_id=137895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General (default) Group: 2.0.18 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Harald Fricke (hfricke) Assigned to: Mathieu Malaterre (malat) Summary: FAQ Entry "How do I use GDCM in my project" is misleading Initial Comment: The FAQ entry "Common questions - How do I use GDCM in my project ?" IMHO is misleading. The things I had to do for version 2.0.18 on Win32, static libraries, were: - Apply the fix from bug 3380038 to get GDCM_LIBRARY_DIRS defined. - find_package(GDCM) - include(${GDCM_USE_FILE}) - Repeat until program links ok: - Build. - For the first undefined symbol the linker complains about: - Identify the GDCM library it lives in. - Add this library to the target libraries. - If gdcmCommon was added: - Also add ws2_32 to the target libraries. I'd be grateful if someone with write access could fix the FAQ. It took me the better half of a day to get this sorted out. ---------------------------------------------------------------------- >Comment By: Mathieu Malaterre (malat) Date: 2011-12-05 07:02 Message: Harald, thanks very much for your input. You do have write access to the wiki now. Would you please apply your fix directly ? Thanks much ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=739587&aid=3451408&group_id=137895 |