[vtk-developers] IRC Chat (9/3/2002)
Andy Cedilnik
andy.cedilnik at kitware.com
Tue Sep 3 10:54:48 EDT 2002
Hi All,
Unfortunately I missed first 10 minutes of the chat.
Here it is the rest:
Sep 03 10:09:36 --> You are now talking on #vtk
Sep 03 10:09:36 --- Topic for #vtk is VTK devel meeting at 1400 GMT
Sep 03 10:09:36 --- Topic for #vtk set by burp at Tue Sep 3 07:52:08
Sep 03 10:09:39 <burp> It's probably not interesting for anybody but
Andy.
Sep 03 10:09:41 <legoandy> Hello
Sep 03 10:09:46 <burp> legoandy: Hallo Andy.
Sep 03 10:09:53 <legoandy> Sorry I'm late but I am still on Monday
time...
Sep 03 10:10:25 <legoandy> burp: what are you talking about?
Sep 03 10:11:28 <prabhu> hi!
Sep 03 10:11:46 <legoandy> Looks like latency today really high...
Sep 03 10:11:59 <prabhu> I also have a couple of questions.
Sep 03 10:12:05 <prabhu> sorry I'm late too.
Sep 03 10:12:16 <prabhu> Sorry also about the delayed announcement
Sep 03 10:13:10 <burp> legoandy: Your posting on vtk-devel... I just
wanted to note that python 2.1.3 compiled with SGI (MIPSPro) C and VTK
compiled with MIPSPro C++ work fine on office-mate's Octane with Irix
6.5.
Sep 03 10:13:50 <prabhu> burp: i.e. vtkpython (the interpreter) works?
Sep 03 10:14:11 <legoandy> burp: Can you run vtkpython and import vtk?
Sep 03 10:14:56 <prabhu> and also use the Tkwidgets?
Sep 03 10:15:06 <prabhu> hello?
Sep 03 10:15:19 <legoandy> prabhu: your solution for TkWidget does not
work on Apple
Sep 03 10:15:48 <legoandy> For some reason I am getting the same problem
on Apple but the solution might not be as easy
Sep 03 10:15:53 <burp> prabhu: Sorry, doing many things at once.
Sep 03 10:16:21 <legoandy> maybe we could link both
libvtkCommonPython.so and libvtkCommonPython.dylib
Sep 03 10:16:24 <prabhu> legoandy: yes, I saw your post but what if the
libvtkRenderingTkWidgets thing were compiled to be a .dylib?
Sep 03 10:16:59 <prabhu> yes so we'd need some if APPLE kind of thing in
CMakeList.txt ...
Sep 03 10:17:04 <burp> prabhu: Hmmm, office-mate is not using vtkpython,
but just python with all paths appropriately set...
Sep 03 10:17:26 <prabhu> burp: but then do the tKwidget work then/
Sep 03 10:17:39 <burp> prabhu: That's untested.
Sep 03 10:17:49 <burp> prabhu: I misread the "vtkpython" bit.
Sep 03 10:17:55 <prabhu> i.e. what happens when he runs
vtkTkRenderWidget.
Sep 03 10:18:26 <burp> prabhu: It seems he doesn't even build the tcl
bits... only python.
Sep 03 10:18:35 <burp> prabhu: Sorry. :(
Sep 03 10:19:00 <legoandy> prabhu: I think you need to have .so for
python to work but I am not an apple person anyway
Sep 03 10:19:21 <legoandy> prabhu: I just want to setup VTK built with
everything on Apple
Sep 03 10:20:17 <prabhu> I believe andy's original problem occured only
when Tk was involved. Right Andy?
Sep 03 10:20:56 <prabhu> hmm, Starreveld is the expert on that.
Sep 03 10:21:01 <legoandy> prabhu: No. I am not able to even do "import
vtk"
Sep 03 10:21:17 <legoandy> prabhu: David had similar problem
Sep 03 10:21:25 <prabhu> on apple?
Sep 03 10:21:35 <prabhu> Is this recent -- did it work earlier?
Sep 03 10:21:35 <legoandy> prabhu: Looks like interpreter does not get
initialized properly (On SGI)
Sep 03 10:21:46 <legoandy> On apple it just does not compile
Sep 03 10:22:07 <prabhu> even if you use vtkpython?
Sep 03 10:22:51 <prabhu> I think I'm lost having no experience on apple
and sgi. :(
Sep 03 10:23:10 <legoandy> Ok, one more time
Sep 03 10:24:16 <legoandy> On SGI using Sgi's compiler for python and
VTK, everything compiles but when I do "import vtk" in vtkpython I get
"Fatal Python error: Interpreter not initialized (version mismatch?)"
Sep 03 10:25:08 <legoandy> On Apple, during compiling I get something
about missing vtkPythonUnmanglePointer
Sep 03 10:25:09 <prabhu> Ok.
Sep 03 10:25:09 <prabhu> I thought you got around this by creating
vtkpython
Sep 03 10:25:09 <prabhu> that was a special interpreter built with c++
and linked to all the vtk libs?
Sep 03 10:25:24 <prabhu> I get that on linux too.
Sep 03 10:25:45 <prabhu> so I added the libvtkCommonPython to the
CMakeLists and it fixed everything.
Sep 03 10:25:56 <legoandy> prabhu: Yes, but that solved problem on Sun
and HP
Sep 03 10:26:09 <legoandy> prabhu: Looks like Sgi has a problem in
Python
Sep 03 10:26:17 <prabhu> You mentioned about the .dylib so maybe we
should link with the .dylib also.
Sep 03 10:26:31 <prabhu> ahh
Sep 03 10:26:46 <legoandy> prabhu: libvtkCommonPython only exists as .so
Sep 03 10:27:00 <legoandy> prabhu: maybe we could generate both .dylib
and .so
Sep 03 10:27:09 <legoandy> prabhu: oh apples...
Sep 03 10:28:08 <legoandy> burp: Could you test it and let me know?
Sep 03 10:28:35 <prabhu> IIRC David said that he too needed to create
something like vtkpython to get things working on SGI.
Sep 03 10:28:36 <prabhu> oh.
Sep 03 10:28:36 <prabhu> IIRC this vtkPythonUnmangle stuff came up after
the recent addition by Dan.
Sep 03 10:28:38 <prabhu> legoandy: Is that easy to do?
Sep 03 10:28:42 <prabhu> legoandy: generating .so and .dylib?
Sep 03 10:29:03 <legoandy> prabhu: maybe, I will try
Sep 03 10:29:12 <KenMartin> OK Folks, are other issues?
Sep 03 10:29:26 <prabhu> yes
Sep 03 10:29:29 <prabhu> testing for python
Sep 03 10:29:34 <KenMartin> go ahead
Sep 03 10:29:38 <prabhu> I think this week I;ll be able to manage
something
Sep 03 10:29:44 <prabhu> I want to know a couple of things
Sep 03 10:29:44 <legoandy> Can we take the vtkImageDataToTkPhoto out,
because it does not compile?
Sep 03 10:29:56 <legoandy> Oh... sorry
Sep 03 10:29:59 <prabhu> legoandy: YOu should really ask Dan. :)
Sep 03 10:30:07 <legoandy> Looks like it is fixed...
Sep 03 10:30:21 <prabhu> (1) I plan to add the testing interface to
Wrapping/Python/vtk/test
Sep 03 10:30:33 <prabhu> Now where do I stick the tests in?
Sep 03 10:30:47 <legoandy> Why not in Common/Testing/Python?
Sep 03 10:30:53 <KenMartin> Are the tests organized by toolkit or is the
same test used for all tookits?
Sep 03 10:30:58 <prabhu> I'd like to start adding simple tests for the
widgets
Sep 03 10:31:09 <prabhu> There are few tests for the vtkTkRenderWidget
etc.
Sep 03 10:31:27 <KenMartin> I'd put those in
VTK/Rendering/Testing/Python
Sep 03 10:31:29 <prabhu> hmm each toolkit will need to be tested
Sep 03 10:31:58 <KenMartin> We put gloabl tests (such as PrintSelf) in
VTK/COmmon/Testing/Lang
Sep 03 10:32:23 <KenMartin> Toolkit specific tests we put in the
VTK/Foo/Testing/Lang directory
Sep 03 10:34:19 <KenMartin> Other issues?
Sep 03 10:35:15 <KenMartin> OK, Going...
Sep 03 10:35:35 <KenMartin> Going...
Sep 03 10:35:56 <KenMartin> Gone...
Sep 03 10:36:06 <KenMartin> Thanks Folks
Sep 03 10:36:18 <prabhu> separately
Sep 03 10:36:18 <prabhu> besides everyone will not have every toolkit
Sep 03 10:36:18 <prabhu> so maybe just a Tk test for now will be run
Sep 03 10:36:18 <prabhu> the rest should be there but not run.
Sep 03 10:36:20 <prabhu> If you need to run all the toolkit tests you;d
need to have Wx, Tk, Gtk, and Qt.
Sep 03 10:36:22 <prabhu> which might be a big pain.
Sep 03 10:36:26 <prabhu> So I'm thinking of a tk test alone (and Tk
seems the most problematic anyway)
Sep 03 10:36:28 <prabhu> questiuon is where do i put it?
Sep 03 10:36:30 <prabhu> rendering/testing
Sep 03 10:36:32 <prabhu> ahh
Sep 03 10:36:34 <prabhu> ok
Sep 03 10:36:36 <prabhu> sounds good
Sep 03 10:36:40 <prabhu> I'll work on a first cut
Sep 03 10:36:42 <prabhu> commit it this week (hopefully)
Sep 03 10:36:44 <prabhu> and then put in a few tests
Sep 03 10:36:48 <prabhu> Sounds ok?
Sep 03 10:36:54 <prabhu> Toolkit meaning Rendering, Hybrid etc.
Sep 03 10:36:56 <prabhu> right?
Sep 03 10:36:58 <legoandy> Yes
Sep 03 10:37:00 <prabhu> thanks.
Sep 03 10:37:04 <prabhu> burp: logging?
Sep 03 10:37:08 <prabhu> thanks ken!
Sep 03 10:37:15 <KenMartin> Bad Lag
Sep 03 10:38:24 <KenMartin> Thanks Prabhu, hopefully next time the lag
will be better.
Sep 03 10:38:37 <-- KenMartin (~ken at tripoint.kitware.com) has left #vtk
More information about the vtk-developers
mailing list