[Paraview] Configuring with VTK_USE_CARBON=OFF not working as expected
Michael Jackson
mike.jackson at bluequartz.net
Wed Jun 10 11:26:22 EDT 2009
And just to follow up with more info, even if I do use the CMake gui
(ncurses) to set VTK_USE_CARBON=OFF and VTK_USE_COCOA=ON I get the
following compile error:
[ 18%] Building CXX object VTK/Rendering/CMakeFiles/vtkRendering.dir/
vtkGraphicsFactory.o
In file included from /Users/Shared/Kitware-CVS/ParaView3/VTK/
Rendering/vtkGraphicsFactory.cxx:52:
/Users/Shared/Kitware-CVS/ParaView3/VTK/Rendering/
vtkCarbonRenderWindow.h:35:4: error: #error vtkCarbonRenderWindow does
not work in 64 bit
make[2]: *** [VTK/Rendering/CMakeFiles/vtkRendering.dir/
vtkGraphicsFactory.o] Error 1
make[1]: *** [VTK/Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
make: *** [all] Error 2
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Jun 10, 2009, at 11:20 AM, Michael Jackson wrote:
> I am trying to run the following cmake command:
>
> cmake -DQT_QMAKE_EXECUTABLE=/Users/Shared/Toolkits/Qt-4.5.1-
> UBFramework/bin/qmake -DCMAKE_BUILD_TYPE=Debug -
> DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -
> DPVRoboMet_SOURCE_DIR=/Users/mjackson/Workspace/PVRoboMet -
> DPARAVIEW_USE_PVRoboMet=ON -DVTK_USE_64BIT_IDS=ON -
> DVTK_USE_CARBON=OFF -DVTK_USE_COCOA=ON -
> DPARAVIEW_EXTRA_EXTERNAL_MODULES=PVRoboMet -
> DPARAVIEW_BUILD_PLUGIN_Prism=OFF -
> DPARAVIEW_BUILD_PLUGIN_PointSprite=OFF -DCMAKE_INSTALL_PREFIX=/Users/
> Shared/Toolkits/ParaView-64 ../
>
> .. which is run from a clean build directory. When I search for
> VTK_USE_CARBON I get the following:
>
> 543:[mjackson at Ferb:Build]$ grep "VTK_USE_CARBON" CMakeCache.txt
> VTK_USE_CARBON:BOOL=ON
> //Advanced flag for variable: VTK_USE_CARBON
> VTK_USE_CARBON-ADVANCED:INTERNAL=1
>
> So I am guessing that there is some cmake commands in the vtk cmake
> files that is over-riding my choice? Can anyone else reproduce this?
> Should I file a bug report?
>
> This is on OS X 10.5.7, Intel, Mac Pro.
>
> Thanks
> _________________________________________________________
> Mike Jackson mike.jackson at bluequartz.net
> BlueQuartz Software www.bluequartz.net
> Principal Software Engineer Dayton, Ohio
>
>
>
More information about the ParaView
mailing list