<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 4/5/2012 9:44 PM, Matthias Seise wrote:
<blockquote cite="mid:4F7DF636.50603@gmail.com" type="cite">Hi
Martin,
<br>
<br>
I managed somehow to build them for python 2.7 x64 with VS2008
Express.
<br>
<br>
I also tried it for ages and don't remember exactly how I solved
it. Now I'm using SimpleITK since I didn't manage to build the
numpy-connector(PYBuffer) for ITK.
<br>
<br>
But maybe I have some pointers:
<br>
<br>
1. USE the simpleITK-superbuild process to get the correct
versions of gccxml & swig
<br>
<br>
2. build ITK from simpleITK/ITK-build, turn on "WrapITK" (or
similar) and use the "external SWIG" and "external gccxml" option
and point them to the SimpleITK dirtectories
<br>
<br>
3. I think the major problem was gccxml - you have to pass the
argument -D"_HAS_TR1=0" to gccxml (see
<a class="moz-txt-link-freetext" href="http://www.gccxml.org/pipermail/gccxml/2009-January/001253.html">http://www.gccxml.org/pipermail/gccxml/2009-January/001253.html</a>).
For that you have to find the CMakeList.txt where the gccxml
arguments are given.
<br>
<br>
I think that were the major points.
<br>
<br>
Good luck!
<br>
Matthias
<br>
<br>
------------------------------
<br>
<br>
Message: 5
<br>
Date: Thu, 05 Apr 2012 14:23:28 +0200
<br>
From: Martin Dulovits <a class="moz-txt-link-rfc2396E" href="mailto:martin.dulovits@woogieworks.at"><martin.dulovits@woogieworks.at></a>
<br>
Subject: [Insight-users] itk 4.1 VS2008 python 2.6 x64
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:insight-users@itk.org">insight-users@itk.org</a>
<br>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4F7D8EC0.2090604@woogieworks.at"><4F7D8EC0.2090604@woogieworks.at></a>
<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br>
<br>
I am trying to build itk 4.1 VS2008 python 2.6 x64 windows with
python
<br>
bindings for the last few day but failed completely.
<br>
So my question would be is it possible at all ? Has anybody
succeeded to
<br>
build with this configuration ? Especially the python bindings ?
<br>
Sometimes the dll built, but the wrappers always failed.
<br>
Should I choose an older version to work with Studio 2008 ?
<br>
<br>
thx for any help
<br>
<br>
martin
<br>
</blockquote>
<br>
<font color="black"><font size="1">How does one pass an argument to
gccxml ? For each project seperately in the solution or prior in
cmake ?<br>
thanks a lot for the tips .. slowly im going crazy building itk
wrappers .. <br>
<br>
martin<br>
</font></font>
</body>
</html>