<html><body bgcolor="#FFFFFF"><div>Hi all</div><div><br></div><div>I was wondering if you could explain the visual studio 2008 requirements and process to build and install ITK 64 bit in win7 32 bit.</div><div><br></div><div>I tried using cmake by selecting visual studio 64 bit BUT got an error in cmake that it did not find the 64 bit compiler... Would I need to download some sort of patch?<br><br><div>Sergio</div><div><br></div>Sent from my iPod</div><div><br>On Apr 4, 2011, at 7:16 AM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div><font size="2"><font face="verdana,sans-serif">I just checked one of my executables, and all the dlls are marked as 64bit in DependencyWalker, even the MSVCR90D.DLL and the ones from Qt. And yes, <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">windows\system32 containts 64bit libs on 64bit Win7.</span></font></font><div>
<font><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></font></div><div><font><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">HTH<br>
</span></font></font><br><div class="gmail_quote">On Sun, Apr 3, 2011 at 00:41, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz"><a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a></a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Robert,<br>
<br>
The MinGW64 toolset is:<br>
<br>
=== TDM-GCC Compiler Suite for Windows ===<br>
--- GCC 4.5 Series ---<br>
*** MinGW-w64 64/32-bit Edition ***<br>
<br>
This edition of TDM-GCC is a multilib bootstrap of GCC's x86_64-w64-mingw32<br>
target, built to run on 32-bit or 64-bit Windows and generate binaries for<br>
32-bit or 64-bit Windows.<br>
<br>
It seems to have been released about 5/2010. Although my programs are using x86 Windows DLLs with '32' in the name, they seem to run OK using more than 4GB of memory.<br>
<br>
I don't understand the situation with the Windows DLLs. For example, I see that there are two files kernel32.dll, with different sizes, one in windows\system32, the other in windows\syswow64. I saw an online post claiming that the files in system32 are actually 64-bit, on Windows 7. Is it possible that Dependency Walker is giving wrong information? As I understand it, mixing 32-bit and 64-bit code in a program is not possible, and my programs seem to run fine (so far).<br>
<br>
Gib<div><div></div><div class="h5"><br>
<br>
Quoting Robert Haase <<a href="mailto:robert_haase@gmx.de" target="_blank"><a href="mailto:robert_haase@gmx.de">robert_haase@gmx.de</a></a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Gib,<br>
<br>
after your report, I checked my working x64-EXE. It is compiled on WinXP x64 using VS2008 with dynamically linked ITK-DLL. I found that all dependent Windows-DLLs are 64bit. But my Program is also using 32-Bit DLLs (MSVCR90.DLL, MSVCP90.DLL, QTGUI4.DLL, QTCORE4.DLL). So I don't think this is problematic. You might test your application on x64 compatibility by allocating > 2GB of memory. This should work if it is a valid Win x64 EXE and fail if it is not.<br>
<br>
By the way, where did you get the MinGW-64 compiler? Isn't that sourceforge project in beta status without real progress for years?<br>
<br>
Regards,<br>
Robert<br>
<br>
<br>
-------- Original-Nachricht --------<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Datum: Fri, 01 Apr 2011 13:52:12 +1300<br>
Von: Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz" target="_blank"><a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a></a>><br>
An: "<a href="mailto:insight-users@itk.org" target="_blank"><a href="mailto:insight-users@itk.org">insight-users@itk.org</a></a>" <<a href="mailto:insight-users@itk.org" target="_blank"><a href="mailto:insight-users@itk.org">insight-users@itk.org</a></a>><br>
Betreff: [Insight-users] x64 and x86<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've built the static ITK libraries on 64-bit Windows 7, with MinGW, and<br>
built<br>
an application using these libraries. When I look at the executable with<br>
Dependency Walker it tells me that while the executable is x64, all the<br>
Windows<br>
DLLs (e.g. ADVAPI32, GDI32, KERNEL32, ...) are x86. Should I care about<br>
this?<br>
If so, what's the proper way to build a fully x64 application?<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank"><a href="http://www.kitware.com">www.kitware.com</a></a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank"><a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a></a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank"><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></a><br>
</blockquote>
<br>
--<br>
NEU: FreePhone - kostenlos mobil telefonieren und surfen!<br>
Jetzt informieren: <a href="http://www.gmx.net/de/go/freephone" target="_blank"><a href="http://www.gmx.net/de/go/freephone">http://www.gmx.net/de/go/freephone</a></a><br>
<br>
</blockquote>
<br>
<br>
<br></div></div>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<div><div></div><div class="h5"><br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank"><a href="http://www.kitware.com">www.kitware.com</a></a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank"><a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a></a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank"><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_____________________________________</span><br><span>Powered by <a href="http://www.kitware.com"><a href="http://www.kitware.com">www.kitware.com</a></a></span><br><span></span><br><span>Visit other Kitware open-source projects at</span><br><span><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Kitware offers ITK Training Courses, for more information visit:</span><br><span><a href="http://www.kitware.com/products/protraining.html">http://www.kitware.com/products/protraining.html</a></span><br><span></span><br><span>Please keep messages on-topic and check the ITK FAQ at:</span><br><span><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><br></div></blockquote></body></html>