[Insight-users] vtkITK application on Mac OSX

Jon Harald Kaspersen Jon.H.Kaspersen@unimed.sintef.no
Tue, 19 Nov 2002 15:07:06 +0100


--Apple-Mail-67--721915852
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



> From: Jon Harald Kaspersen <jonk@sintef.no>
> Date: Tue Nov 19, 2002  11:28:02 AM Europe/Oslo
> To: Joshua Cates <cates@sci.utah.edu>
> Subject: Re: [Insight-users] vtkITK application on Mac OSX
>
> Hi,
>
> I think that this might be related to the "SetFrontProcess" thing.
>
> Are you running the script from the command line ?
> You should try to drop the script on the Wish application and see if 
> that helps.
>
> I had a similar problem when compiling and running the 
> Auxiliary/vtk/vtk2itk application.
>
> To run this app. successfully from the command line I did the 
> following:
>
> mkdir vtk2itk.app/Contents/MacOS
> cp vtk2itk vtk2itk.app/Contents/MacOS
> /Developer/Tools/Rez -t APPL Carbon.r -o 
> vtk2itk.app/Contents/MacOS/vtk2itk
> Then run :
> vtkITK.app/Contents/MacOS/vtk2itk Some_data_file.vtk
> This will set up the resources for running the application from the 
> command line.
>
> I have the Auxiliary/vtk/vtk2itk running on my OS X system (10.2.2, 
> gcc3.1)
>
> Regards
> Jon
>
> On Monday, November 18, 2002, at 10:14 PM, Joshua Cates wrote:
>
>> Hi,
>>
>> Has anyone successfully compiled and run the vtkITK application on a 
>> Mac
>> OSX (or the analogous tcl "vtk" executable)?
>>
>> We are able to compile the vtkITK executable.  But when run, (i.e. 
>> vtkITK
>> script.tcl), it simply spawns an empty window and drops to a command 
>> line
>> interpreter.  The command line arg Script.tcl is never processed and 
>> the
>> window fails to respond to events.
>>
>> Any insights or advice?
>>
>> Thanks,
>>
>> Josh.
>>
>> ______________________________
>>  Josh Cates			
>>  School of Computer Science	
>>  University of Utah
>>  Email: cates@sci.utah.edu
>>  Phone: (801) 587-7697
>>  URL:   www.cs.utk.edu/~cates
>>
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
> ========================================================
> Jon Harald Kaspersen			Tel: 		+47 73 59 75 89
> Ph.D. Mechanical Engineering		Mob:		+47 93 03 65 90
> Senior Scientist				Pager	+47 96 84 29 94
> SINTEF Unimed - Ultralyd		Fax: 		+47 73 59 78 73
> N-7465 Trondheim
> NORWAY			e-mail:	Jon.H.Kaspersen@unimed.sintef.no
> 				WEB:	http://www.us.unimed.sintef.no/
> ========================================================
>
========================================================
Jon Harald Kaspersen			Tel: 		+47 73 59 75 89
Ph.D. Mechanical Engineering		Mob:		+47 93 03 65 90
Senior Scientist				Pager	+47 96 84 29 94
SINTEF Unimed - Ultralyd		Fax: 		+47 73 59 78 73
N-7465 Trondheim
NORWAY			e-mail:	Jon.H.Kaspersen@unimed.sintef.no
				WEB:	http://www.us.unimed.sintef.no/
========================================================

--Apple-Mail-67--721915852
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII




<excerpt>From: Jon Harald Kaspersen <<jonk@sintef.no>

Date: Tue Nov 19, 2002  11:28:02 AM Europe/Oslo

To: Joshua Cates <<cates@sci.utah.edu>

Subject: Re: [Insight-users] vtkITK application on Mac OSX


Hi,


I think that this might be related to the "SetFrontProcess" thing.


Are you running the script from the command line ?

You should try to drop the script on the Wish application and see if
that helps.


I had a similar problem when compiling and running the
Auxiliary/vtk/vtk2itk application.


To run this app. successfully from the command line I did the
following:


mkdir vtk2itk.app/Contents/MacOS

cp vtk2itk vtk2itk.app/Contents/MacOS

/Developer/Tools/Rez -t APPL Carbon.r -o
vtk2itk.app/Contents/MacOS/vtk2itk

Then run :

vtkITK.app/Contents/MacOS/vtk2itk Some_data_file.vtk

This will set up the resources for running the application from the
command line.


I have the Auxiliary/vtk/vtk2itk running on my OS X system (10.2.2,
gcc3.1)


Regards

Jon


On Monday, November 18, 2002, at 10:14 PM, Joshua Cates wrote:


<excerpt>Hi,


Has anyone successfully compiled and run the vtkITK application on a
Mac

OSX (or the analogous tcl "vtk" executable)?


We are able to compile the vtkITK executable.  But when run, (i.e.
vtkITK

script.tcl), it simply spawns an empty window and drops to a command
line 

interpreter.  The command line arg Script.tcl is never processed and
the 

window fails to respond to events.


Any insights or advice?  


Thanks,


Josh.


______________________________

 Josh Cates			

 School of Computer Science	

 University of Utah

 Email: cates@sci.utah.edu

 Phone: (801) 587-7697

 URL:   www.cs.utk.edu/~cates



_______________________________________________

Insight-users mailing list

Insight-users@public.kitware.com

http://public.kitware.com/mailman/listinfo/insight-users



</excerpt><fontfamily><param>Helvetica</param>========================================================

Jon Harald Kaspersen			Tel: 		+47 73 59 75 89

Ph.D. Mechanical Engineering		Mob:		+47 93 03 65 90

Senior Scientist				Pager	+47 96 84 29 94

SINTEF Unimed - Ultralyd		Fax: 		+47 73 59 78 73

N-7465 Trondheim

NORWAY			e-mail:	Jon.H.Kaspersen@unimed.sintef.no

				WEB:	<underline><color><param>1A19,1A19,FFFE</param>http://www.us.unimed.sintef.no/</color></underline>

========================================================</fontfamily>


</excerpt><fontfamily><param>Helvetica</param>========================================================

Jon Harald Kaspersen			Tel: 		+47 73 59 75 89

Ph.D. Mechanical Engineering		Mob:		+47 93 03 65 90

Senior Scientist				Pager	+47 96 84 29 94

SINTEF Unimed - Ultralyd		Fax: 		+47 73 59 78 73

N-7465 Trondheim

NORWAY			e-mail:	Jon.H.Kaspersen@unimed.sintef.no

				WEB:	<underline><color><param>1A1A,1A1A,FFFF</param>http://www.us.unimed.sintef.no/</color></underline>

========================================================</fontfamily>


--Apple-Mail-67--721915852--