But I can operate with DJDecoderRegistration::registerCodecs() (JPEG Lossless), with no problem.
The error always occur in the line where I register codecs:
Code: Select all
DJLSDecoderRegistration::registerCodecs()
I'm including:
Code: Select all
#include "dcmtk/dcmjpls/djdecode.h"
#include "dcmtk/dcmjpeg/djdecode.h"
#include "dcmtk/dcmdata/dcrledrg.h"
#include "dcmtk/dcmimage/diregist.h"
#include "dcmtk/dcmjpls/djlsutil.h"
#include "dcmtk/dcmjpls/djcodecd.h"
#include "dcmtk/dcmjpls/djcparam.h"
#include "dcmtk/dcmjpls/djrparam.h"
Compile output:
dcmjpls.lib(djcodecd.obj) : error LNK2019: unresolved external symbol _JpegLsDecode referenced in function "private: static class OFCondition __cdecl DJLSDecoderBase::decodeFrame(class DcmPixelSequence *,class DJLSCodecParameter const *,class DcmItem *,unsigned long,unsigned long &,void *,unsigned long,long,unsigned short,unsigned short,unsigned short,unsigned short)" (?decodeFrame@DJLSDecoderBase@@CA?AVOFCondition@@PAVDcmPixelSequence@@PBVDJLSCodecParameter@@PAVDcmItem@@KAAKPAXKJGGGG@Z)
Library linkage:
Code: Select all
-loflog
-lofstd
-ldcmdata
-ldcmimgle
-ldcmimage
-lijg8
-lijg12
-lijg16
-ldcmjpeg
-ldcmjpls
-ldcmnet
-llibi2d
-ldcmdsig
-ldcmsr
-ldcmtls
-ldcmpstat
-ldcmwlm
-ldcmqrdb
.File not found: dcmjpls.lib(djcodecd.lib)
Can anyone help?
Thankyou in advance.