[vtkusers] Problem running vtk

Stroila, Matei MNS3M at hscmail.mcc.virginia.edu
Fri Jul 19 17:03:41 EDT 2002


Bill, 

Thanks a lot. 
Before getting your message, I uninstalled everything and re-installed in c:\vtk, and now everything works fine. 
But I learnt something good from you, thanks.

Matei


-----Original Message-----
From: William Greathouse [mailto:William.Greathouse at telocity.com]
Sent: Friday, July 19, 2002 4:37 PM
To: vtkusers at public.kitware.com
Subject: RE: [vtkusers] Problem running vtk


Matei,

This is a common problem with Windows and associations when the full
path to the associated file contains spaces.  To correct this issue,
you need to edit the registry entry for the association.

Running regedit and looking for the association, I find:
HKEY_CLASSES_ROOT\.tcl is set to vtk.Document

Going to:
   HKEY_CLASSES_ROOT\vtk.Document\shell\open\command

it is necessary to add quotation marks around the argument reference
for the key value -- change %1 to "%1"

On my system, the value is set to:
  C:\PROGRA~1\vtk40\bin\vtk.exe "%1"

Enjoy,
Bill

-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of Stroila, Matei
Sent: Friday, July 19, 2002 3:59 PM
To: vtkusers at public.kitware.com
Subject: [vtkusers] Problem running vtk



Dear all,

I have just installed vtk 4.0 and perhaps I am not able to set the
environment variables.

I associate the file extension TCL with the vtk.exe and when I double click
on such file I get the error message:

"couldn't read file "C:\Program": no such file or directory

I have windows 2000 and I installed vtk from binnaries in C:\Program
Files\vtk40\

If I first run tclsh and then change the directory and source in the file
everything works fine. But, it would be much easier to run it directly.

Thanks a lot for any suggestion

Matei
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers



More information about the vtkusers mailing list