<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000066">
I figured it out! I had originally merged all the gdcm include files
together in one directory instead of including all the source
directories. I changed it to use the source directories and now its
running correctly. Its weird because it compiled and linked fine both
ways... I guess VC++ does actually care about some things even though
it doesn't throw errors.<br>
I am running into another problem now though... While retrieving tag
labels and values in a loop, it fails at the end of the first iteration
of the loop, apparently upon deleting the std::pair.<br>
<br>
sf.SetFile( file );<br>
<br>
/* loop through all the doc elements */<br>
gdcm::DataSet::ConstIterator it = dataSet.Begin();<br>
for( ; it != dataSet.End(); ++it)<br>
{<br>
const gdcm::DataElement &ref = *it;<br>
//tag = ref.GetTag();<br>
std::pair<std::string, std::string> s = sf.ToStringPair(
ref.GetTag() );<br>
}<br>
<br>
-Greg<br>
<br>
<br>
<br>
Greg Book wrote:
<blockquote cite="mid:48C57222.10606@gbook.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
It does work, both debug and release of gdcminfo and gdcmdump do work.
That means I've got something going on :(<br>
Hopefully just a library problem.<br>
-Greg<br>
<br>
</blockquote>
<br>
</body>
</html>