<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Only ITK_VERSION_MAJOR is needed to evaluate #if() and it is defined
in itkConfigure.h - and an additional argument from the practical
point of view: it works...<br>
<br>
Christina<br>
<br>
Am 15.02.2012 14:55, schrieb David Doria:
<blockquote
cite="mid:CABDpjTm91mkqUmqcdJqSjJnms1jib=K94Koz+9-ziXJmtTn0_A@mail.gmail.com"
type="cite">
<div>On Wed, Feb 15, 2012 at 8:49 AM, Chr. Rossmanith <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:cr@neuro.ma.uni-heidelberg.de">cr@neuro.ma.uni-heidelberg.de</a>></span>
wrote:</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
I've added<br>
<br>
#include "itkConfigure.h"<br>
<br>
to the example.<br>
<br>
Christina<br>
</blockquote>
<div><br>
</div>
<div>I'm not sure this is the way to go. Perhaps:</div>
<div><br>
</div>
<div>#include "itkImage.h"</div>
<div> </div>
<div>#if ( ITK_VERSION_MAJOR < 4 ) //These are all defaults
in ITKv4</div>
<div>// Not supported in ITKv3.</div>
<div>int main(int argc, char *argv[])</div>
<div>{</div>
<div> return 0;</div>
<div>}</div>
<div>#else</div>
<div>...</div>
<div class="gmail_quote"><br>
</div>
?<br>
</div>
</blockquote>
<br>
</body>
</html>