VC7.1: cmdApps crash:INTERNAL ERROR: cannot map stderr

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
hmeyer
Posts: 5
Joined: Fri, 2005-07-15, 11:40

VC7.1: cmdApps crash:INTERNAL ERROR: cannot map stderr

#1 Post by hmeyer »

Hello,

I successfully build storescp.exe and storescu.exe with VC7.1 from dcmtk-3.5.3.
But when starting one of these I get:

Code: Select all

INTERNAL ERROR: cannot map stderr
This happens in:
dcmtk-3.5.3\dcmdata\libsrc\cmdlnarg.cxx(115)

Something about duplicating the stderr file descriptor be the same as stdout..

I have no Idea why...but interestingly enough the same happend with VC7.0 and dcmtk-3.2.5.

What am I doing wrong?

BTW: I have these two additional switches in cfwin32.h:

Code: Select all

#define HAVE_STD_STRING 1
#define HAVE_STL 1
Any hints?

Henning

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1444
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

The error message is caused by the function prepareCmdLineArgs() which is defined in dcmdata/libsrc/cmdlnarg.cxx and does some very low-level things on Windows platforms to make sure that output to stderr actually gets printed on stdout. Possibly some of this does not work anymore with VC7 (our main test platform is still VC6).

hmeyer
Posts: 5
Joined: Fri, 2005-07-15, 11:40

no support for VC7?

#3 Post by hmeyer »

So I need to switch back to VC6.
You still don't have support for VC7?
Did nobody else have these problems before???

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1444
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#4 Post by Marco Eichelberg »

I think that a number of people are using the toolkit with VC7, and sofar nobody has reported this problem. Possibly this only surfaces with VC7.1. No idea :(

hmeyer
Posts: 5
Joined: Fri, 2005-07-15, 11:40

#5 Post by hmeyer »

no..I had the same trouble with VC7.
A I doing something stupid?
Unpack the zip, delete all dsp and dsw files, start cmake, give cmake the path to the zlib, open the project and build ....

Henning

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest