[ITK] [ITK-users] Building ITK4.5.2 with Python wrapping: A tool returned an error code from "Generating ../vcInstall_stamp.c"

Michka Popoff michkapopoff at gmail.com
Sat Jul 26 05:01:18 EDT 2014


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140726/70fd1c14/attachment-0002.html>
-------------- next part --------------
_____________________________________
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


More information about the Community mailing list