Problem is OFString, please help

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
cgraus
Posts: 12
Joined: Wed, 2005-08-24, 22:56
Location: Australia

Problem is OFString, please help

#1 Post by cgraus »

I've had some people from the Microsoft compiler team looking at the output and they've told me that basically I am linking with two different versions of the STL. Well, it would appear that at least one problem is OFString. The top of the file looks like this:

#ifndef HAVE_STD_STRING

#include "ofstring.h"
#include "ofcast.h"

#define INCLUDE_CCTYPE
#include "ofstdinc.h"

Now, the code should define HAVE_STD_STRING. If I redefine it here, I cannot compile anymore. If I add a #define for OFString to std::string, I get a bunch of linker errors to do with std::string.

If anyone has any suggestions, I sure would appreciate it.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest