Search found 318 matches

by Jan Schlamelcher
Wed, 2015-03-04, 16:45
Forum: DCMTK - Installation
Topic: Error in "3rdparty.cmake" on MinGW or MinGW64
Replies: 2
Views: 6680

Re: Error in "3rdparty.cmake" on MinGW or MinGW64

Yes, that is a known issue. I personally always changed "3rdparty.cmake" as follows: diff --git a/CMake/3rdparty.cmake b/CMake/3rdparty.cmake old mode 100755 new mode 100644 index 9fcca77..b40f88b --- a/CMake/3rdparty.cmake +++ b/CMake/3rdparty.cmake @@ -1,4 +1,4 @@ -IF(WIN32) +IF(WIN32 AN...
by Jan Schlamelcher
Wed, 2015-02-11, 17:13
Forum: DCMTK - General
Topic: Connect to a PACS
Replies: 3
Views: 17658

Re: Connect to a PACS

I see, sorry, did not understand that from your first post. Have a look at the source code for findscu and storescu then.
by Jan Schlamelcher
Tue, 2015-02-10, 11:22
Forum: DCMTK - General
Topic: Connect to a PACS
Replies: 3
Views: 17658

Re: Connect to a PACS

Yes, have a look at the PACS howto in our wiki.
by Jan Schlamelcher
Wed, 2015-02-04, 16:28
Forum: DCMTK - General
Topic: DIMSE_receiveDataSetInMemory runs out of virtual memory
Replies: 2
Views: 3369

Re: DIMSE_receiveDataSetInMemory runs out of virtual memory

Are you on Windows? Are you using 32 bit or 64 bit binaries? As written here, 32 bit binaries would have a 2 GiB memory limit, so most likely 1.5 GiB file + the required manament data structures won't fit with no possible workaround for that.
by Jan Schlamelcher
Fri, 2015-01-30, 14:13
Forum: DCMTK - General
Topic: DcmSCP: addPresentationContext resulting in a Segfault
Replies: 16
Views: 20483

Re: DcmSCP: addPresentationContext resulting in a Segfault

EDIT2: it seems gcc previous to 4.9 (what i was testing with while writing the code) only outputs the patch version when using g++ --version instead of g++ -dumpversion. This is quite ugly since i will have to parse away the other information to get the version using this command, but i think i wil...
by Jan Schlamelcher
Tue, 2015-01-27, 16:45
Forum: DCMTK - Installation
Topic: Ofstd and oflog errors on MSVC 2003 dcmtk-3.6.1_20140617
Replies: 3
Views: 8567

Re: Ofstd and oflog errors on MSVC 2003 dcmtk-3.6.1_20140617

feldman_joel wrote:It appears all of these additional errors are related to "possible loss of data" in going from 32 bit to 64 bit platform.
See this nearly one year old thread regarding that issue. I hope I find the time to fix the remaining warnings in the near future.
by Jan Schlamelcher
Tue, 2015-01-27, 08:48
Forum: DCMTK - Installation
Topic: Ofstd and oflog errors on MSVC 2003 dcmtk-3.6.1_20140617
Replies: 3
Views: 8567

Re: Ofstd and oflog errors on MSVC 2003 dcmtk-3.6.1_20140617

Code: C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(574) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc Are you building shared libraries? At least I can confirm this issue when building shared libraries, since our com...
by Jan Schlamelcher
Fri, 2015-01-16, 14:56
Forum: DCMTK - General
Topic: Errors using the dcmtk 3.6.1 snapshot
Replies: 1
Views: 2959

Re: Errors using the dcmtk 3.6.1 snapshot

This has already been answered quite often, for example in this thread.
by Jan Schlamelcher
Fri, 2014-10-17, 16:54
Forum: DCMTK - General
Topic: Error compilation dcmtk-3.6.1_20140617 with Qt 5.3
Replies: 3
Views: 4539

Re: Error compilation dcmtk-3.6.1_20140617 with Qt 5.3

JR is probably referring to this post regarding DCMTK vs. QT: By disabling UNICODE in the qmake project file, I was able to compile a project linking dcmtk libraries (cloned from git repository on date 30/07/14). Just add the following line to the .pro file: DEFINES -= UNICODE See this thread for de...
by Jan Schlamelcher
Thu, 2014-10-09, 16:03
Forum: DCMTK - Installation
Topic: dcmtk-3.6.1_20140617 64 bit with MacOsX 10.9.5
Replies: 5
Views: 11503

Re: dcmtk-3.6.1_20140617 64 bit with MacOsX 10.9.5

std::basic_string is part of the STL and therefore part of your compiler. I can imagine two reasons for this kind of problem: You are using a custom compiler that was configured incorrectly during build. DCMTK was compiled with different (incompatible) flags than what the QT project is using, especi...
by Jan Schlamelcher
Fri, 2014-08-15, 12:38
Forum: DCMTK - Installation
Topic: install DCMTK
Replies: 7
Views: 13925

Re: install DCMTK

I'm sorry, but i never worked with Xcode, so i can't help you with that. Maybe try using the makefile generator instead.
by Jan Schlamelcher
Fri, 2014-08-15, 10:18
Forum: DCMTK - Installation
Topic: install DCMTK
Replies: 7
Views: 13925

Re: install DCMTK

Kaori wrote:But it stopped with a error "undeclared use of identifier 'Init' " for the code.
Code:
if (Init(pixel))

What is the problem of me?
You did nothing wrong, thats a known issue on MacOS, fixed in this commit. So maybe use the latest snapshot instead of DCMTK 3.6.0.
by Jan Schlamelcher
Thu, 2014-08-14, 14:13
Forum: DCMTK - Installation
Topic: install DCMTK
Replies: 7
Views: 13925

Re: install DCMTK

The steps necessary to install DCMTK depend on your setup. From what you posted i would think you typed 'make' in a terminal to build DCMTK after you configured it using CMake. So you may type 'make install' in a terminal from the same location to install DCMTK to a directory specified by CMAKE_INST...
by Jan Schlamelcher
Wed, 2014-08-13, 08:29
Forum: DCMTK - General
Topic: Common issue loading dicom image
Replies: 6
Views: 6241

Re: Common issue loading dicom image

Note: this may be a consequential error. For example your DICOM file may contain invalid image dimension attributes and DCMTK therefore tries to allocate more ram for the image than you've installed in your system.
by Jan Schlamelcher
Tue, 2014-08-12, 08:40
Forum: DCMTK - General
Topic: Common issue loading dicom image
Replies: 6
Views: 6241

Re: Common issue loading dicom image

I don't see anything wrong so far, so i would need the specific error / exception message for further inspection. You may enable DCMTK's logging output (for example TRACE-level) to post a dump about what happened before the error occured. Also, maybe creating a debug build could help tracking the er...