<div dir="ltr"><div>Thanks Cyril, <br></div><div><br>Following your advice I have tracked the seg fault down to line 36 in FirstReconstruction<br><br>geometry->AddProjection(sid,<br> sdd,<br> angle,<br> isox,<br> isoy);<br> }<br><br></div>I realised that I managed to build the examples with RTK fine and the same example runs without a seg fault in the build directory. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 9, 2014 at 11:32 AM, Cyril Mory <span dir="ltr"><<a href="mailto:cyril.mory@creatis.insa-lyon.fr" target="_blank">cyril.mory@creatis.insa-lyon.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Padraig,<br>
<br>
With so little information, there isn't much we can do to help you.<br>
I usually track segfaults by compiling in Debug mode (by setting
"CMAKE_BUILD_TYPE" to "Debug"), then running the program in debug in
QT Creator (any decent IDE will do just fine, and should stop when
the segfault occurs, allowing you to trace it back)<br>
<br>
Good luck,<br>
Cyril<div><div class="h5"><br>
<br>
<div>On 09/09/2014 12:05 PM, Padraig Looney
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>When I try to run the "FirstReconstruction" example I am
getting a segmentation fault. <br>
<br>
</div>
The following is the output from gdb<br>
<div><br>
Program received signal SIGSEGV, Segmentation fault.<br>
0x00000000004952d7 in typeinfo for
rtk::ProjectionGeometry<3u> ()<br>
<br>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Rtk-users mailing list
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a>
<a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
--
Cyril Mory, Post-doc
CREATIS
Leon Berard cancer treatment center
28 rue Laënnec
69373 Lyon cedex 08 FRANCE
Mobile: <a href="tel:%2B33%206%2069%2046%2073%2079" value="+33669467379" target="_blank">+33 6 69 46 73 79</a></pre>
</font></span></div>
</blockquote></div><br></div>