advertisement

Article:
  3-D Data Visualization on Mac OS X
Subject:   Cannot run VTK (2)
Date:   2002-06-29 11:49:40
From:   michele
Ok, I've found how to update the database:


/usr/libexec/locate.updatedb


Next, there is a discrepancy between the directory.


First, we are told to login to CVS VTK from /Develop. Then to checkout from root. And to run CMake from /Develop/osxBin with:


cmake ../VTK


VTK is not found in ../ from /Develop/osxBin


So I checkout from /Develop. Am I right?


Then, I don't understand well why we make a new CMakeCache.txt file in /Develop/VTK (it does not exist) and insert into it:


BUILD_SHARED_LIBS:BOOL=ON


though there is a CMakeCache.txt in /Develop/osxBin with the line:


BUILD_SHARED_LIBS:BOOL=OFF


Then, when I try to run TimeRenderer, I get the following error:


error: in /Develop/VTK/Rendering/vtkCarbonRenderWindow.cxx line 758 vtkCarbonRenderWindow (ox3e3cd0): Could not find valid pixel format.


Idem for Mace with a different address (0x4c7bf0).


A window appears with nothing in it. I have to quit the terminal to get access to the window and close it.


And for Tcl, I get the following error after making:


In file included from /Develop/osxBin/Common/vtkCommonTCLInit.cxx:1:
/Develop/VTK/Common/vtkTclUtil.h:24: tcl.h: No such file or directory
make[3]: *** [vtkCommonTCLInit.o] Erreur 1
make[2]: *** [default_target] Erreur 2
make[1]: *** [default_target_Common] Erreur 2
make: *** [default_target] Erreur 2


I run this on a G3, maybe that is the reason why it cannot make?


Michèle