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

Raúl Ferriz raul at torresyvalero.com
Fri Mar 25 07:37:54 EDT 2011


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.



More information about the vtkusers mailing list