Project

General

Profile

Actions

Bug #471

closed

DcmAttributeFilter doesn't like DLLs

Added by Uli Schlachter over 12 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Jan Schlamelcher
Category:
Library
Target version:
Start date:
2013-01-15
Due date:
% Done:

100%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

Hi,

when building the toolkit as shared libraries (with MSC6), dcmdata_tests.exe fails to link:

tfilter.obj: unresolved external symbol "[...] DcmAttributeFilter::createIteratorBasedFilter([...])

(Once for "OFString const * const &" and once for "char const * * const &")

I guess the compiler expects an explicit instantiation of the createIteratorBasedFilter() function template to be exported from the DLL.

So far I have not found any good way around that, just the attached hack which I call a "patch".

Ideas?


Files

dcfilter.patch (1.82 KB) dcfilter.patch Hack! Uli Schlachter, 2013-01-15 13:46
Actions

Also available in: Atom PDF