<div dir="ltr"><div>Hi Vincent,</div><div>_ggo.h/c are generated in the binary directory by gengetopt based on the .ggo file. In this case, your file does not seem to be generated. If you look at the CMakeLists.txt, WRAP_GGO asks gengetopt to create these files. The names of the generated files are stored in the cmake variable rtksimulatedtomogeometry_GGO_C. However, you forgot to change the variable name on line 2, rtksimulatedgeometry_GGO_C is still used. Changing it to rtksimulatedtomogeometry_GGO_C should fix your problem (well, other will appear but they'll be easier to understand).</div><div>Good luck with your dev. Note that you can also do AddProjection with 3D coordinates of the source / detector positions + the coordinates of the detector coordinate axes.</div><div>Simon<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 11, 2018 at 6:35 PM, vincent <span dir="ltr"><<a href="mailto:vl@xris.eu" target="_blank">vl@xris.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I wanted to create a small application to simulate a geometry for a tomosynthesis acquisition scanner whose source displacement is along the x axis only.<br>
<br>
I created a rtksimulatedtomogeometry directory in the rtk/applications folder made a few changes to rtksimulatedgeometry.<br>
<br>
I added the corresponding line in the CMakeList.txt in the rtk/applications folder.<br>
<br>
When I recompile RTK, I get the following error message:<br>
<br>
/rtksimulatedtomogeometry.cxx:<wbr>19:42: fatal error: rtksimulatedtomogeometry_ggo.h<wbr>: No such file or directory<br>
<br>
Indeed, this file does not exist but I could not find any rtkXXX_ggo.h in my sources folder.<br>
<br>
Could someone please tell me what I missed ?<br>
<br>
I attached the three files I modified if it can be of any help. If I can make it work, I would be happy to share it with the rest of the RTK community.<br>
<br>
Thank you for your help,<br>
<br>
Kindest regards,<br>
<br>
Vincent<br>
<br>
<br>______________________________<wbr>_________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>