Search found 16 matches

by rickf
Thu, 2024-04-25, 21:38
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

Oy

https://forum.dcmtk.org/viewtopic.php?t=4744


OK now it seems to build ok.
by rickf
Thu, 2024-04-25, 21:26
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

OK I undid that and added

cmake ../dcmtk -DHAVE_OPENSSL_DECLARATION_NEW_EVP_MD_CTX=1 ....


to my command line.


Seems like now the only thing I see is


Error LNK1104 cannot open file 'Y:\openssl321.bin\lib\dcmtkssl_o.lib' dcmtls Y:\dcmtk.bin\dcmtls\libsrc\LINK 1
by rickf
Thu, 2024-04-25, 21:00
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

I modified the code BEGIN_EXTERN_C #include <openssl/opensslv.h> #include <openssl/types.h> ///////////////////////// ADD THIS END_EXTERN_C #if 0 ///////////// REMOVE THIS #ifndef HAVE_OPENSSL_DECLARATION_NEW_EVP_MD_CTX struct env_md_ctx_st; typedef struct env_md_ctx_st EVP_MD_CTX; #else struct evp_...
by rickf
Thu, 2024-04-25, 20:28
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

OK I switched over completely to command line: mkdir dcmtk.bin cd dcmtk.bin cmake ../dcmtk -DOPENSSL_ROOT_DIR=Y:/openssl321.bin -DDCMTK_WITH_OPENSSL=ON -DWITH_OPENSSLINC=Y:/openssl321.bin -DCMAKE_INSTALL_PREFIX=Y:/dcmtk.ins -DDCMTK_WIDE_CHAR_FILE_IO_FUNCTIONS=ON -DDCMTK_WITH_ICU=ON -DICU_DATA_LIBRAR...
by rickf
Thu, 2024-04-25, 02:10
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

On a different machine, same drive setup:

Performing Test OPENSSL_VERSION_CHECK
Performing Test OPENSSL_VERSION_CHECK - Success
Info: DCMTK OPENSSL support will be enabled

I wonder if the check for OpenSSL is picking up another version that is installed on the other machine?
by rickf
Thu, 2024-04-25, 01:08
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

Hmmm. I'm compiling on a different windows machine and I get Info: DCMTK OPENSSL support will be disabled: DCMTK requires OpenSSL version 1.0.1 or newer git status says: AzureAD+RichardFrank@SXRT2022 MINGW64 /y/dcmtk ((23fd8fc83...)) I tried pointing at the root / Y:\openssl321.bin and Y:\openssl321...
by rickf
Fri, 2024-04-05, 14:21
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

Re: OpenSSL version

I pulled the updated code from get hub and it now works. Thanks
by rickf
Thu, 2024-04-04, 00:59
Forum: DCMTK - General
Topic: OpenSSL version
Replies: 10
Views: 167

OpenSSL version

Hi, I have build OpenSSL 3.2.1 for windows and installed in a non-default location. I build Qt 663 with OpenSSL no problems. When I configure DCMTK and point the WITHOPENSSLINC to the includes path, DCMTK complains that it requires version greater than 1.0.1... But as far as I can tell it's looking ...
by rickf
Tue, 2019-12-31, 02:59
Forum: DCMTK - Installation
Topic: DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS not working in 3.6.5
Replies: 1
Views: 7403

DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS not working in 3.6.5

I turn off the flag.

I change the Compile settings in CMAKE to /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1


and it switches it back to /D_DEBUG /MTd /Zi /Ob0 /Od /RTC1

Where can I Modify the CMAKE file to fix this?

I need to keep my settings.

Thanks

Rick Frank
by rickf
Mon, 2017-07-31, 18:56
Forum: DCMTK - General
Topic: CIF_UseAbsolutePixelRange and conversions
Replies: 4
Views: 3864

Re: CIF_UseAbsolutePixelRange and conversions

So it seems that if I want the pixels "rendered" with the LUT I should do: DicomImage * di = new DicomImage(path.c_str(), flags); size_t sizeInBytes = di->getOutputDataSize(); void * bits = malloc(sizeInBytes); di->getOutputData(buffer, sizeInBytes, bitsStored); But I read: /**render pixel...
by rickf
Sat, 2017-07-29, 22:37
Forum: DCMTK - General
Topic: CIF_UseAbsolutePixelRange and conversions
Replies: 4
Views: 3864

Re: CIF_UseAbsolutePixelRange and conversions

I'm reading slices and building a volume in VTK, and if some of the slices come in at a different pixel width, it might save a little memory but it's not really helpful cause I have to rescale them
by rickf
Sat, 2017-07-29, 15:32
Forum: DCMTK - General
Topic: CIF_UseAbsolutePixelRange and conversions
Replies: 4
Views: 3864

CIF_UseAbsolutePixelRange and conversions

Hi, I'm using DicomImage() to create a volume from slices. I find that for some images, DicomImage() converts the data to 8 bit from 16, even though the file is 16 bits. ( tracing through the code it seems to think it needs 17 bits for the representation, which is strange) I found that if I used the...
by rickf
Mon, 2014-01-20, 23:44
Forum: DCMTK - Installation
Topic: static lib builds in Release mode Visual Studio 2012
Replies: 1
Views: 7274

static lib builds in Release mode Visual Studio 2012

If I download and build DCMTK 3.6.0, configure, and build Debug and Release, all is well. My own Cmake file has the following: target_link_libraries(${PROJECT_NAME} debug netapi32 debug ${DCMTK_oflog_LIBRARY} debug ${DCMTK_ofstd_LIBRARY} debug ${DCMTK_dcmdata_LIBRARY} debug ${ITK_LIBRARIES} debug ${...
by rickf
Mon, 2014-01-20, 12:07
Forum: DCMTK - General
Topic: Reading from CD
Replies: 4
Views: 4785

Re: Reading from CD

Ok, so then I think that to read a CD that does not already contain a DICOMDIR I have to loop through all the files, read tags, and build my own hierarchy patient-study-series-image etc
by rickf
Mon, 2014-01-20, 04:38
Forum: DCMTK - General
Topic: Reading from CD
Replies: 4
Views: 4785

Re: Reading from CD

It seems that the DICOMDIR file needs to be at the root level of the directory hierarchy? In the case of the CD, in other words a read-only medium do I have to copy the files from CD to a local storage in order to create the DICOMDIR information or can that be kept in memory and never written to disk?