[vtkusers] Building vtk on Windows7 64bit with TCL wrappers

David Partyka david.partyka at kitware.com
Mon Mar 28 07:45:59 EDT 2011


Hi Raul, Is your build tree in a particularly deep sub directory? Can you
give us your entire build output log so we can see what build step this
is coming from?

On Mon, Mar 28, 2011 at 7:23 AM, Raúl Ferriz <raul at torresyvalero.com> wrote:

> El 25/03/2011 12:37, Raúl Ferriz escribió:
>
>  Hello!
>>
>> I have some troubles trying to build VTK on Windows 7 64 with TCL
>> wrappers. Here I post the output of Visual Studio 2010. Sorry about spanish
>> language, but I think is pretty easy to understand.
>>
>>
>> Error    81    error MSB4018: Error inesperado en la tarea "CL".
>> System.InvalidOperationException: El bloque de entorno utilizado para
>> iniciar un proceso no puede ser superior a los 65.535 bytes. El bloque de
>> entorno tiene 67890 bytes.  Elimine algunas variables de entorno y vuelva a
>> intentarlo.
>>   en System.Diagnostics.EnvironmentBlock.ToByteArray(StringDictionary sd,
>> Boolean unicode)
>>   en System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
>> startInfo)
>>   en System.Diagnostics.Process.Start()
>>   en Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool,
>> String responseFileCommands, String commandLineCommands)
>>   en Microsoft.Build.CPPTasks.TrackedVCToolTask.TrackerExecuteTool(String
>> pathToTool, String responseFileCommands, String commandLineCommands)
>>   en Microsoft.Build.CPPTasks.CL.ExecuteTool(String pathToTool, String
>> responseFileCommands, String commandLineCommands)
>>   en Microsoft.Build.Utilities.ToolTask.Execute()
>>   en Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
>>   en
>> Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
>>   en
>> Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
>> taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
>> ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
>>    C:\Program Files
>> (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets
>>  146
>> Error    82    error MSB4018: Error inesperado en la tarea "SetEnv".
>> System.ArgumentException: El nombre o el valor de la variable de entorno
>> es demasiado largo.
>>   en System.Environment.SetEnvironmentVariable(String variable, String
>> value)
>>   en System.Environment.SetEnvironmentVariable(String variable, String
>> value, EnvironmentVariableTarget target)
>>   en Microsoft.Build.CPPTasks.SetEnv.Execute()
>>   en
>> Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
>>   en
>> Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
>> taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
>> ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
>>    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.targets
>>  40
>>
>>
>> This error doesn't throw if I run cmake again and unmark TCL wrappers.
>>
>> Any idea?
>>
>> Thanks.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
> No body can help me ?
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110328/19336374/attachment.htm>


More information about the vtkusers mailing list