Search found 318 matches

by Jan Schlamelcher
Wed, 2014-06-25, 08:54
Forum: DCMTK - Installation
Topic: Usage DCMTK on OS X 10.9
Replies: 10
Views: 16361

Re: Usage DCMTK on OS X 10.9

Strange output. It seems you are using zlib, so you need at least: ~$ g++-4.9 t.cpp -o t -L/usr/local/include/dcmtk -ldcmdata -loflog -lofstd -lz I'm not sure about the missing STL symbols however. They are either just consequential errors from the missing zlib symbols, or you are missing -lstdc++, ...
by Jan Schlamelcher
Tue, 2014-06-24, 18:33
Forum: DCMTK - Installation
Topic: Usage DCMTK on OS X 10.9
Replies: 10
Views: 16361

Re: Usage DCMTK on OS X 10.9

Which symbols are missing?
by Jan Schlamelcher
Tue, 2014-06-24, 16:51
Forum: DCMTK - Installation
Topic: Usage DCMTK on OS X 10.9
Replies: 10
Views: 16361

Re: Usage DCMTK on OS X 10.9

Try:

Code: Select all

~$ g++-4.9 t.cpp -o t -L/usr/local/include/dcmtk -ldcmdata -loflog -lofstd
by Jan Schlamelcher
Tue, 2014-06-24, 16:17
Forum: DCMTK - Installation
Topic: Usage DCMTK on OS X 10.9
Replies: 10
Views: 16361

Re: Usage DCMTK on OS X 10.9

You might take a look at this: viewtopic.php?f=4&t=2689
by Jan Schlamelcher
Tue, 2014-06-24, 15:53
Forum: DCMTK - Installation
Topic: Usage DCMTK on OS X 10.9
Replies: 10
Views: 16361

Re: Usage DCMTK on OS X 10.9

I'm sorry, but you need to provide a bit more information. What exactly are you trying to achive? I presume you succeded in building DCMTK and you now try to use it in the file t.cpp. I can see no -L/PATH/TO/DCMTK/LIBS -lofstd -l... parameters in your compiler commandline, so i would expect your com...
by Jan Schlamelcher
Tue, 2014-06-24, 15:36
Forum: DCMTK - General
Topic: mingw problems
Replies: 16
Views: 18334

Re: mingw problems

It seems that i have identified the problem. Your QT-Version is 32 bit software and contains a 32 bit mingw. I've been working with a 64 bit mingw only so far, which was also true when i created the mingw fix. Looking at dcmtk/ofstd/include/dcmtk/ofstd/offile.h, lines 79, 384 and 448 you can see tha...
by Jan Schlamelcher
Fri, 2014-06-20, 13:14
Forum: DCMTK - General
Topic: mingw problems
Replies: 16
Views: 18334

Re: mingw problems

Could you give me more details about these problems? Maybe i can create a workaround. FYI i use this mingw version: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.0/threads-posix/seh/x86_64-4.9.0-release-posix-seh-rt_v3-rev2.7z/down...
by Jan Schlamelcher
Tue, 2014-06-17, 13:38
Forum: DCMTK - General
Topic: SR Node copying
Replies: 17
Views: 14003

Re: SR Node copying

I would want to be able to, say, copy some text as my template, but allow the template to be editted by the user. My aproach was to generate Code for the templates defined in part 16, which can't be edited afterwards (you would need to change the document the code generator parses beforehand to cus...
by Jan Schlamelcher
Tue, 2014-06-17, 11:54
Forum: DCMTK - General
Topic: SR Node copying
Replies: 17
Views: 14003

Re: SR Node copying

This sounds related to what i did for my Master's thesis, which i plan to contribute to DCMTK (but this may take some time, as it's based on C++11). What i did was to translate the SR-Templates to custom classes. These classes are "normal" objects and can therefore be copied freely, like what you pr...
by Jan Schlamelcher
Tue, 2014-06-17, 11:42
Forum: DCMTK - General
Topic: mingw problems
Replies: 16
Views: 18334

Re: mingw problems

The problems regarding mingw should have been fixed in this commit: http://git.dcmtk.org/web?p=dcmtk.git;a=commit;h=7077471eed1911a21cddec8e00b3e866bfa743f3 You might use the just released snapshot: http://dicom.offis.de/download/dcmtk/snapshot/dcmtk-3.6.1_20140617.tar.gz I use mingw to test dcmtk u...
by Jan Schlamelcher
Wed, 2014-04-30, 14:25
Forum: DCMTK - General
Topic: DLL-Initialization causes application hangup
Replies: 7
Views: 4901

Re: DLL-Initialization causes application hangup

Is this supported in 3.6.0? As J. Riesmeier already mentioned, building shared libraries was introduced after version 3.6.0, you would need to use a snapshot, at least http://dicom.offis.de/download/dcmtk/snapshot/old/dcmtk-3.6.1_20120222.tar.gz, but better take the newest one http://www.dcmtk.org/...
by Jan Schlamelcher
Wed, 2014-04-30, 12:47
Forum: DCMTK - General
Topic: DLL-Initialization causes application hangup
Replies: 7
Views: 4901

Re: DLL-Initialization causes application hangup

Do you use the static or the DLL version of the DCMTK-libraries? Maybe linking to a oflog.dll helps. WSAStartup might only be called when the DLL is first loaded and in that case and not by every service DLL using DCMTK. I'm not exactly sure how windows does this things (order of execution + loading...
by Jan Schlamelcher
Wed, 2014-04-23, 08:58
Forum: DCMTK - Installation
Topic: Install external libraries (e.g. libtiff 3.9.4)
Replies: 14
Views: 33621

Re: Install external libraries (e.g. libtiff 3.9.4)

Which compiler would you recommend? I personally use gcc derivates, e.g. mingw for windows. But that would also require you to build the tiff-library yourself. Another option is clang , but with the same restriction. I once tested building DCMTK with windows-clang and everything worked, but i could...
by Jan Schlamelcher
Tue, 2014-04-22, 17:20
Forum: DCMTK - Installation
Topic: Install external libraries (e.g. libtiff 3.9.4)
Replies: 14
Views: 33621

Re: Install external libraries (e.g. libtiff 3.9.4)

Are you familiar with this problem? MSVC is not really my preferred compiler ;-). Google shows that LNK2005 might refer to a /MT / /MD problem. Note that two different versions of the support libraries are provided. Perhaps you should try again with this version: ftp://dicom.offis.de/pub/dicom/offi...
by Jan Schlamelcher
Tue, 2014-04-22, 15:33
Forum: DCMTK - Installation
Topic: Install external libraries (e.g. libtiff 3.9.4)
Replies: 14
Views: 33621

Re: Install external libraries (e.g. libtiff 3.9.4)

To me this looks like a CMake-missconfiguration. Try deleting the CMake-cache and create a clean project for VS 10, if you didn't do that since this error occured: CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "C:/Progra...