[Rtk-users] Compile custom application

vincent vl at xris.eu
Tue Jun 12 03:30:37 EDT 2018


Silly me... :)

Thank you very much for your reply Simon.  It works now !

Best regards,

Vincent


On 2018-06-11 21:19, Simon Rit wrote:
> 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 
> <mailto: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 <mailto:Rtk-users at public.kitware.com>
>     https://public.kitware.com/mailman/listinfo/rtk-users
>     <https://public.kitware.com/mailman/listinfo/rtk-users>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20180612/33b8a7b2/attachment.html>


More information about the Rtk-users mailing list