[vtkusers] VTK Macos Leopard Xcode3
Mike Jackson
imikejackson at gmail.com
Wed Jan 9 16:34:03 EST 2008
From a post entitled "PDF 3D Support" on Jan 8, 2007 Sean McBride
Wrote:
> On 1/8/08 4:05 PM, Michail Vidiassov said:
>
>
>> BTW, does the CVS VTK require CVS cmake to compile on Mac OS X 10.5?
>>
>
> Basically, yes.
>
> CMake 2.4.7 works decently on 10.5, but in my experience you are much
> better off using CVS. And BTW the current VTK (5.0.3) does not even
> build on 10.5, so I recommend CVS there too.
>
> --
So I would start by doing a checkout of CMake 2.6 from CVS HEAD.
Build and install CMake 2.6
Checkout VTK from CVS HEAD and try to build.
There are lots of 64bit portability issues in VTk that are being
fixed in VTK cvs.
Mike
On Jan 9, 2008, at 4:19 PM, Gokhan Mustafa Uzunbas wrote:
> Hi,
> I want to to compile VTK.503 under Mac OS leopard with Cmake. I
> have Xcode installed on my machine adn I got error message:
>
> Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> In member function 'virtual const char*
> vtkCocoaRenderWindow::ReportCapabilities()':
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 224: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 227: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 230: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 233: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 236: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 239: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 242: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 245: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> In member function 'virtual int vtkCocoaRenderWindow::SupportsOpenGL
> ()':
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 269: error: invalid conversion from 'long int*' to 'GLint*'
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> In member function 'virtual int vtkCocoaRenderWindow::IsDirect()':
> /Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:
> 288: error: invalid conversion from 'long int*' to 'GLint*'
> make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/
> vtkCocoaRenderWindow.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
> make: *** [all] Error 2
>
> Do you have any idea? I tried many things writen in this forum before.
> Thanks a lot..
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/
> Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
More information about the vtkusers
mailing list