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.
<br><br><div><span class="gmail_quote">On 7/5/06, <b class="gmail_sendername">Dominik Szczerba</b> <<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
thanks for a hint on clodeblocks. did you succeed with the same env to<br>compile vtk+python on linux? (I did manage with standard gnu, works fine)<br>--ds<br><br>Randall Hand wrote:<br><br>> I use the minGW that comes with CodeBlocks IDE (
<br>> <a href="http://www.codeblocks.org/">http://www.codeblocks.org/</a>) Which comes with OpenGL, yes.<br>><br>> Oddly enough, I don't have TCL Wrapping enabled (Although ActiveState<br>> TCL is<br>> on my machine). That's what had me so perplexed as to why it was looking
<br>> for it.<br>><br>> On 7/5/06, Dominik Szczerba <<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>> wrote:<br>><br>>><br>>> it sounded like a problem in tcl. by the way, what do you use for
<br>>> opengl? there is no standard in mingw, or is it?<br>>><br>>> --ds<br>>><br>>> Randall Hand wrote:<br>>> > I'm using MinGW/MSys and CMake 2.4.2.<br>>> ><br>>> > I did finally get a semi-successful compile by Disabling the VTK_USE_TK
<br>>> > option. The results were not quite Python-compatible, I had to<br>>> manually<br>>> > rename/copy alot of the resulting libvtk*PythonD.dll files to their<br>>> vtk*<br>>> >
Python.dll equivalents, and now it seems to work.<br>>> ><br>>> ><br>>> > Now if I can get the same to happen on our SGI... stupid "static int<br>>> > select"<br>>> > ....
<br>>> ><br>>> > On 7/5/06, Dominik Szczerba <<a href="mailto:domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>> wrote:<br>>> ><br>>> >><br>>> >> what are you compiling with?
<br>>> >> --ds<br>>> >><br>>> >> Randall Hand wrote:<br>>> >><br>>> >> > I'm attempting to compile VTK on Windows with Python Bindings and<br>>> >> having
<br>>> >> an<br>>> >> > odd error message:<br>>> >> > Error in cmake code at<br>>> >> > <snip>/Wrapping/Tcl/vtkDetermineTkResources.cmake:4:Unknown CMake<br>
>> >> command<br>>> >> > "VTK_GET_TCL_TK_VERSION".<br>>> >> ><br>>> >> > I can compile VTK just fine with all the wrappings disabled, but<br>>> >> turning
<br>>> >> on<br>>> >> > the Python wrapping seems to cause this error, making compilation<br>>> >> > impossible. Any ideas?<br>>> >> ><br>>> >> ><br>
>> >> ><br>>> >><br>>> ------------------------------------------------------------------------<br>>> >> ><br>>> >> > _______________________________________________
<br>>> >> > This is the private VTK discussion list.<br>>> >> > Please keep messages on-topic. Check the FAQ at:<br>>> >> <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>>> >> > Follow this link to subscribe/unsubscribe:<br>>> >> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>>> >>
<br>>> >> _______________________________________________<br>>> >> This is the private VTK discussion list.<br>>> >> Please keep messages on-topic. Check the FAQ at:<br>>> >>
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>> >> Follow this link to subscribe/unsubscribe:<br>>> >> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>>> >><br>>> ><br>>> ><br>>> ><br>>><br>>> _______________________________________________<br>>> This is the private VTK discussion list.<br>>> Please keep messages on-topic. Check the FAQ at:
<br>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>>><br>><br>><br>><br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br><br clear="all">
<br>-- <br>----------------------------------------<br>Randall Hand<br>Visualization Scientist<br>ERDC MSRC-ITL