[vtkusers] VTK compile error: gcc 3.32, Solaris 10
Francois Bertel
francois.bertel at kitware.com
Mon Oct 20 10:53:27 EDT 2008
Which version of VTK are use using? A release (4.4, 5.0.x, 5.2.x)? or VTK CVS ?
On Mon, Oct 20, 2008 at 10:46 AM, Stephen Hamer <sthamer at vt.edu> wrote:
> Hi vtkusers!
>
>
>
> I am new to this list, and sort of new to VTK. My problem though is building
> it. I am using gcc 3.3.2, cmake 2.4.8, and make 3.8.1 on a Solaris 10
> machine (not the native packages), and get the following error.
>
>
>
> [ 68%] Building CXX object
>
> Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o
>
> /packages/VTK/Rendering/vtkOpenGLExtensionManager.cxx: In member function
> `virtual void (*vtkOpenGLExtensionManager::GetProcAddress(const char*))()':
>
> /packages/VTK/Rendering/vtkOpenGLExtensionManager.cxx:261: error: invalid
> static_cast from type `void (*)(...)' to type `void (*)()'
>
> make[2]: ***
> [Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o] Error 1
>
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
>
>
>
> It seems like some sort of incompatibility with my gcc version, but I really
> am not sure. I get something similar when building FTLK on the same machine.
> I've searched the internet and this list and come up short for a solution. I
> was wondering if anyone has seen something like this before and could help
> me out. Thank you very much!
>
>
>
> -Stephen
>
> _______________________________________________
> 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
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list