[Rtk-users] Compile custom application

Simon Rit simon.rit at creatis.insa-lyon.fr
Mon Jun 11 15:19:08 EDT 2018


Hi Vincent,
_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).
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.
Simon

On Mon, Jun 11, 2018 at 6:35 PM, vincent <vl at xris.eu> wrote:

> Hello everyone,
>
> 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.
>
> I created a rtksimulatedtomogeometry directory in the rtk/applications
> folder made a few changes to rtksimulatedgeometry.
>
> I added the corresponding line in the CMakeList.txt in the
> rtk/applications folder.
>
> When I recompile RTK, I get the following error message:
>
> /rtksimulatedtomogeometry.cxx:19:42: fatal error:
> rtksimulatedtomogeometry_ggo.h: No such file or directory
>
> Indeed, this file does not exist but I could not find any rtkXXX_ggo.h in
> my sources folder.
>
> Could someone please tell me what I missed ?
>
> 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.
>
> Thank you for your help,
>
> Kindest regards,
>
> Vincent
>
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> https://public.kitware.com/mailman/listinfo/rtk-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20180611/49ba709e/attachment.html>


More information about the Rtk-users mailing list