[ITK-users] Building ITK4.5.2 with Python wrapping: A tool returned an error code from "Generating ../vcInstall_stamp.c"
Bradley Lowekamp
blowekamp at mail.nih.gov
Sat Jul 26 08:46:34 EDT 2014
Hello,
Have you looked into SimpleITK[1]? It provides binary distributions for windows that are readily available, if you are having too much difficulty compiling with the native WrapITK.
[1] http://www.itk.org/Wiki/SimpleITK
On Jul 26, 2014, at 5:01 AM, Michka Popoff <michkapopoff at gmail.com> wrote:
> Hi
>
> I don’t know if it’s a solution, but last time I had trouble with the gccxml part, I had to disable my antivirus (Avast in my case).
> It blocks some files to be extracted or to run. You may start with a new build folder and try this.
>
> If it’s still not working, please report back, I will then try to compile it myself, but it should be OK as we have a machine running with this setup on our Dashboard.
>
> Michka
>
> On 26 juil. 2014, at 06:29, zhe <soccer_zhe at hotmail.com> wrote:
>
>> Dear All
>>
>> I am trying to build ITK with Python wrapping on windows (python 2.7.7 32bit, VS 2008 32bit and Windows 7 64bit). But during the compiling, the VS 2008 reported a error as follow:
>>
>>
>> 1>1>------ Build started: Project: vcInstallPatch, Configuration: Release Win32 ------
>> 1>1>Generating ../vcInstall_stamp.c
>> 1>1>Executing D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vccat.exe D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vc9Include.patch | D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vcpatch.exe -p0 -t -d D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML-build\GCC_XML\Support\Vc9\Include
>> 1>1>Error running patch. Output is []
>> 1>1>Executing D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vccat.exe D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vc9PlatformSDK.patch | D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vcpatch.exe -p0 -t -d D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML-build\GCC_XML\Support\Vc9\PlatformSDK
>> 1>1>Error running patch. Output is []
>> 1>1>Executing D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vccat.exe D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vc10Include.patch | D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vcpatch.exe -p0 -t -d D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML-build\GCC_XML\Support\Vc10\Include
>> 1>1>Error running patch. Output is []
>> 1>1>Executing D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vccat.exe D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vc10PlatformSDK.patch | D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML\GCC_XML\VcInstall\vcpatch.exe -p0 -t -d D:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML-build\GCC_XML\Support\Vc10\PlatformSDK
>> 1>1>Error running patch. Output is []
>> 1>1>Project : error PRJ0019: A tool returned an error code from "Generating ../vcInstall_stamp.c"
>> 1>1>Build log was saved at "file://d:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\gccxml\src\GCC_XML-build\GCC_XML\VcInstall\vcInstallPatch.dir\Release\BuildLog.htm"
>> 1>1>vcInstallPatch - 1 error(s), 0 warning(s)
>> 1>========== Build: 0 succeeded, 1 failed, 36 up-to-date, 0 skipped ==========
>> 1>Project : error PRJ0019: A tool returned an error code from "Performing build step for 'GCC_XML'"
>> 1>Build log was saved at "file://d:\ITK4.5.2\ITK_Build\Wrapping\Generators\GccXML\GCC_XML.dir\Release\BuildLog.htm"
>> 1>GCC_XML - 2 error(s), 0 warning(s)
>>
>> How can I solve this problem?
>> Thank you very much.
>>
>> Best regards
>>
>> Zhe Luo
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/insight-users
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20140726/9c82edc4/attachment.html>
More information about the Insight-users
mailing list