<div dir="ltr">I wanted to add that if I take out the instant of the QVTKWidget from the <span style="font-family:arial,sans-serif;font-size:12.800000190734863px"> mainwindow.ui, then the code runs fine without the "</span><font face="arial, sans-serif"> glibc detected" and "core dumped"</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 1, 2014 at 10:42 PM, Mike Rob <span dir="ltr"><<a href="mailto:mikerob2015@gmail.com" target="_blank">mikerob2015@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a simple example which has an instant of QVTKWidget. I can compile the code successfully using the following cmake file, but when I run the binary file, I get *** glibc detected *** core dumped....</div><div><br></div><div>Here is my CMakeFile. Is there anything wrong in cmake?</div><div><br></div><div><div>cmake_minimum_required(VERSION 2.8)</div><div> </div><div>PROJECT(HelloWorld)</div><div> </div><div>find_package(Qt5Widgets)</div><div><br></div><div>find_package(ITK REQUIRED)</div><div>include(${ITK_USE_FILE})</div><div>if (ITKVtkGlue_LOADED)</div><div>       find_package(VTK REQUIRED)</div><div>       include(${VTK_USE_FILE})</div><div>else()</div><div>       find_package(ItkVtkGlue REQUIRED)</div><div>       include(${ItkVtkGlue_USE_FILE})</div><div>       set(Glue ItkVtkGlue)</div><div>endif()</div><div><br></div><div>QT5_WRAP_UI(UISrcs mainwindow.ui)<br></div><div>QT5_WRAP_CPP(MOCSrcs mainwindow.h)</div><div><br></div><div>ADD_EXECUTABLE(MyProject HelloWorld.cpp mainwindow.cpp ${MOCSrcs} ${UISrcs})<br></div><div><br></div><div>include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})</div><div><br></div><div>qt5_use_modules(MyProject Widgets)</div><div><br></div><div>target_link_libraries(MyProject  ${Glue}  ${VTK_LIBRARIES} ${ITK_LIBRARIES})</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Mike</div></font></span></div>
</blockquote></div><br></div>