I'm new to VTK. I've been working on an interface using the GTK/gtkmm toolkit and have recently started trying to add a graphing element to it. I have installed VTK 5.3 and it compiles fine and the examples work fine. In an attempt to test adding a vtk view into my application, I installed vtkmm. Compiling all went fine. However, when I run the application it seg faults when trying to add in the renderer. This happens in both the vtkmm examples as well as my gtkmm application. I realize that this could be due to the merging of the gtk & vtk environments and not related to vtk at all, but I'm just looking for a little direction. <br>
<br>See gdb output below:<br><br>Program received signal EXC_BAD_ACCESS, Could not access memory.<br>Reason: KERN_INVALID_ADDRESS at address: 0x79546587<br>0x91019688 in objc_msgSend ()<br>(gdb) backtrace<br>#0 0x91019688 in objc_msgSend ()<br>
#1 0x931e3306 in CFRetain ()<br>#2 0x931b2a54 in CFDictionarySetValue ()<br>#3 0x92b32efe in -[NSCFDictionary setObject:forKey:] ()<br>#4 0x01fb86b8 in vtkCocoaRenderWindow::SetWindowId ()<br>#5 0x0023fab6 in Gtk::Vtk::RenderingArea::on_realize (this=0xbfffeb80) at renderingarea.cc:34<br>
#6 0x023243d2 in Gtk::Widget_Class::realize_callback ()<br><br><br>Thanks for any and all help!<br><br>Justin<br>