Search found 28 matches

by gavin_dcm
Wed, 2010-05-12, 18:18
Forum: DCMTK - General
Topic: error C2371: redefinition; different basic types
Replies: 4
Views: 5566

Jörg Riesmeier wrote:Have you already searched for "SBYTE" in the forum? I guess not.
===============
yes,now ,i know what to do now, thanks
by gavin_dcm
Tue, 2010-05-11, 21:09
Forum: DCMTK - General
Topic: error C2371: redefinition; different basic types
Replies: 4
Views: 5566

error C2371: redefinition; different basic types

hello: i include dcmtk .h file in my MFC program on vc++2008 , when i compile it get error belowing. dcmtk-3.5.4-win32-i386\include\dcmtk/dcmdata/dctypes.h(57) : error C2371: “SBYTE” redefinition; different basic types C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\oledb.h(807) how to figure ...
by gavin_dcm
Fri, 2010-05-07, 20:02
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

Michael Onken wrote:Hi,

You miss linking ZLIB.

Best regards,
Michael
==========================
thanks ,i revise it now。i think i have learned so much from you. it's so lucky to be taught by such a expert who is full of intelligence and patience .good luck and best wishes
by gavin_dcm
Thu, 2010-05-06, 19:24
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

here is the cmakelists.txt in stey5 ,ot have a little change by me --------------------------------------- PROJECT(testapp) CMAKE_MINIMUM_REQUIRED(VERSION 2.0) SET(DCMTK_DIR D:/dcmtk-3.5.4/dcmtk-3.5.4-win32-i386) # settings for Microsoft Visual C++ 6 SET(CMAKE_C_FLAGS "/nologo /W3 /GX /Gy /YX") SET(...
by gavin_dcm
Thu, 2010-05-06, 19:19
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

i generalte dcmk with support of libpng libtiff、OpenSSL and so on ,then i compile it using vc++6.0 ,i get 10 warnings belowing,what is worse,i can't compile the source code in stey5 of FAQ40 --------------------Configuration: dcmmklut - Win32 Debug-------------------- Compiling... dcmmklut.cxx Link...
by gavin_dcm
Thu, 2010-05-06, 11:09
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

i appreciate your help!

will the cmake setting support MFC or CLR(.net frameworks)?
by gavin_dcm
Thu, 2010-05-06, 08:59
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

perfectly, i have general idea about cmake.and i can implement stey 1 throught stey5 of FAQ40.thanks! but i want to develop my program with visual studio 2008 and above,must i change the cmake conmand of the setting for visual studio 2008 ???? if so,how todo it? # settings for Microsoft Visual C++ 6...
by gavin_dcm
Tue, 2010-05-04, 20:28
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

Select the target "INSTALL" on the left side of the screen and then "Build" it. This is the same mechanism as you've used in step 3 when you've selected "ALL_BUILD". ========================================== thanks, when i use cmake, I write the source code path which is equal to binaries path, fo...
by gavin_dcm
Sun, 2010-05-02, 05:00
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

The header files are in the include directories, as usual. Btw, did you read FAQ #40 ======================================= yes,i read it ,but in FAQ#40 the step 4 belowing, 4.Select INSTALL in order to install the DCMTK files to the directory specified using CMake. How to do it in detail? thanks!
by gavin_dcm
Sat, 2010-05-01, 16:32
Forum: DCMTK - Installation
Topic: where is the .h header file?
Replies: 12
Views: 13585

where is the .h header file?

firstly, i have read the install file of dcmtk. following the step of install file, i use cmake to generate dcmtk, then use ms vs6.0 to rebuild it successfully.there are many .cxx files and others,but none of .h file. i can't find it in corresponding folder. so how to #include the .h file to my .cpp...
by gavin_dcm
Fri, 2009-10-02, 19:45
Forum: DCMTK - General
Topic: some trubles on dcmcjpeg.
Replies: 15
Views: 12620

So, you are now writing a BMP image to a file with ".jpeg" extension? Why don't you use option +oj in order to write an 8-bit lossy JPEG (baseline) image (as you can read in the documentation of this tool). =============================== YES,i have used option +oj to write a jpeg image. thanks,you...
by gavin_dcm
Thu, 2009-10-01, 11:42
Forum: DCMTK - General
Topic: some trubles on dcmcjpeg.
Replies: 15
Views: 12620

gavin_dcm wrote:C:\aaa\bin>dcmj2pnm -v +ob 111 333.jpeg
reading DICOM file: 111
preparing pixel data.
disabling VOI window computation
writing frame 1 to 333.jpeg
cleaning up memory.
===========================
when i use the command line above adding the output option ,i succeed!

thanks!
by gavin_dcm
Thu, 2009-10-01, 11:41
Forum: DCMTK - General
Topic: some trubles on dcmcjpeg.
Replies: 15
Views: 12620

C:\aaa\bin>dcmj2pnm -v +ob 111 333.jpeg
reading DICOM file: 111
preparing pixel data.
disabling VOI window computation
writing frame 1 to 333.jpeg
cleaning up memory.
===========================
when i use the aommand line above adding the output option ,i succeed!

thanks!
by gavin_dcm
Thu, 2009-10-01, 11:21
Forum: DCMTK - General
Topic: some trubles on dcmcjpeg.
Replies: 15
Views: 12620

i use dcmj2nm to convert a dicom file to a jpeg file,but fail.
here is the command line:
dcmj2nm 111 222.jpeg.
i can get the 222.jpeg file successfully,but i can't open the file .

may be the file i get by dcmj2jpeg tool is not a real jpeg file.

thanks.
by gavin_dcm
Wed, 2009-09-30, 16:53
Forum: DCMTK - General
Topic: some trubles on dcmcjpeg.
Replies: 15
Views: 12620

Jörg Riesmeier wrote:I can't see any error message. So, where exactly is your problem with dcmj2pnm?
========================================

i download the tool from dcmtk.org. do the tools not support windows 2003 server os of chinese verson ?