[vtkusers] Problems compiling VTK on Windows
Randall Hand
randall.hand at gmail.com
Wed Jul 5 23:11:32 EDT 2006
I haven't tried LInux yet, I've been trying to get it to work on our SGI
Irix system in 64-bit mode. Seems there's some nastiness with "select"
being defined in both sys/time.h and unistd.h, and not defined compatibly.
On 7/5/06, Dominik Szczerba <domi at vision.ee.ethz.ch> wrote:
>
> thanks for a hint on clodeblocks. did you succeed with the same env to
> compile vtk+python on linux? (I did manage with standard gnu, works fine)
> --ds
>
> Randall Hand wrote:
>
> > I use the minGW that comes with CodeBlocks IDE (
> > http://www.codeblocks.org/) Which comes with OpenGL, yes.
> >
> > Oddly enough, I don't have TCL Wrapping enabled (Although ActiveState
> > TCL is
> > on my machine). That's what had me so perplexed as to why it was
> looking
> > for it.
> >
> > On 7/5/06, Dominik Szczerba <domi at vision.ee.ethz.ch> wrote:
> >
> >>
> >> it sounded like a problem in tcl. by the way, what do you use for
> >> opengl? there is no standard in mingw, or is it?
> >>
> >> --ds
> >>
> >> Randall Hand wrote:
> >> > I'm using MinGW/MSys and CMake 2.4.2.
> >> >
> >> > I did finally get a semi-successful compile by Disabling the
> VTK_USE_TK
> >> > option. The results were not quite Python-compatible, I had to
> >> manually
> >> > rename/copy alot of the resulting libvtk*PythonD.dll files to their
> >> vtk*
> >> > Python.dll equivalents, and now it seems to work.
> >> >
> >> >
> >> > Now if I can get the same to happen on our SGI... stupid "static int
> >> > select"
> >> > ....
> >> >
> >> > On 7/5/06, Dominik Szczerba <domi at vision.ee.ethz.ch> wrote:
> >> >
> >> >>
> >> >> what are you compiling with?
> >> >> --ds
> >> >>
> >> >> Randall Hand wrote:
> >> >>
> >> >> > I'm attempting to compile VTK on Windows with Python Bindings and
> >> >> having
> >> >> an
> >> >> > odd error message:
> >> >> > Error in cmake code at
> >> >> > <snip>/Wrapping/Tcl/vtkDetermineTkResources.cmake:4:Unknown CMake
> >> >> command
> >> >> > "VTK_GET_TCL_TK_VERSION".
> >> >> >
> >> >> > I can compile VTK just fine with all the wrappings disabled, but
> >> >> turning
> >> >> on
> >> >> > the Python wrapping seems to cause this error, making compilation
> >> >> > impossible. Any ideas?
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------
> >> >> >
> >> >> > _______________________________________________
> >> >> > 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
> >> >>
> >> >> _______________________________________________
> >> >> 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
> >> >>
> >> >
> >> >
> >> >
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> >
> >
>
> _______________________________________________
> 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
>
--
----------------------------------------
Randall Hand
Visualization Scientist
ERDC MSRC-ITL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060705/8e586180/attachment.htm>
More information about the vtkusers
mailing list