[vtkusers] Help with VTK on Mac OS X 10.2.6

Deepa Shroff vtk_user at yahoo.com
Mon Oct 20 13:50:58 EDT 2003


Hi:

Thanks for getting back at me.

I tried adding the following lines to CMakeLists.txt
in Step1/Cxx directory after TARGET_LINK_LIBRARIES
command. I also tried the command 

   ARGS -t APPL -o ./Cone Carbon.r

as i do it for my FLTK application.

But both dont work. I still cannot interact with the
window.

Any ideas?

==========


IF(APPLE)
  FIND_PROGRAM(VTK_APPLE_RESOURCE Rez
/Developer/Tools)
  IF(VTK_APPLE_RESOURCE)
    ADD_CUSTOM_COMMAND(
      SOURCE Cone
      COMMAND ${VTK_APPLE_RESOURCE}
#      ARGS -t APPL -o ./Cone Carbon.r
        ARGS Carbon.r -o ./Cone
      TARGET Cone
      )
  ENDIF(VTK_APPLE_RESOURCE)
ENDIF(APPLE)

===========

Thanks

Deepa



--- Chris Scharver <scharver at evl.uic.edu> wrote:
> At 10:18 AM -0700 10/20/2003, Deepa Shroff wrote:
> >Are there any other options that need to be set
> when i
> >run CMake for Mac OS X??
> 
> You can generate a custom CMake command to
> automatically include the resources with your
> executable. Refer to the CMake FAQ:
> 
>
<http://www.cmake.org/cgi-bin/cmakefaq.cgi?req=show&file=faq04.001.htp>
> 
> Chris
> --
> Chris Scharver
> Electronic Visualization Laboratory
> The University of Illinois at Chicago
> Ph: 312-996-3002   FAX: 312-413-7585
> <http://www.evl.uic.edu/scharver/>

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the vtkusers mailing list