[Rtk-users] Unknown CMake command "WRAP_GGO"

Simon Rit simon.rit at creatis.insa-lyon.fr
Thu Oct 1 11:23:48 EDT 2015


Sorry if I wasn't clear. What I meant is that you should just compile RTK
as usual, don't try to point to applications/CMakeLists.txt but to the root
CMakeLists.txt of the RTK project. Since you mentionned that RTK
successfully compiled, you should have already built rtktutorialapplication.


On Thu, Oct 1, 2015 at 4:57 PM, Shen, Weicheng <WEICHENG.SHEN at leidos.com>
wrote:

> Hello Simon,
>
>
>
> Thanks for the tip! When I run CMake on applications/CMakeLists.txt inside
> RTK, the following error message appears:
>
>
>
>
> ================================================================================================
>
>
>
> CMake Warning at CMakeLists.txt:1 (FIND_PACKAGE):
> By not providing "FindGengetopt.cmake" in CMAKE_MODULE_PATH this project
> has asked CMake to find a package configuration file provided by
> "Gengetopt", but CMake did not find one.
>
> Could not find a package configuration file provided by "Gengetopt" with
> any of the following names:
>
> GengetoptConfig.cmake
> gengetopt-config.cmake
>
> Add the installation prefix of "Gengetopt" to CMAKE_PREFIX_PATH or set
> "Gengetopt_DIR" to a directory containing one of the above files. If
> "Gengetopt" provides a separate development package or SDK, be sure it has
> been installed.
>
>
>
>
> ================================================================================================
>
>
>
> It looks like “FIND_PACKAGE(Gengetopt)” can’t find either GengetoptConfig.cmake
> or gengetopt-config.cmake. I did a manual search for these files in the RTK
> directories, and they don’t exist. So I added a variable CMAKE_MODULE_PATH
> in the cmake GUI when performing configuration. The value of
> CMAKE_MODULE_PATH is set to the path of FindGengetopt.cmake. The .sln
> file can now be successfully generated.
>
>
>
> Next I need to build the project using Visual Studio 2013.
>
>
>
> Thanks you very much for your help!
>
>
>
> Weicheng Shen, Ph.D.
>
> Lead Research Scientist | Leidos
>
> 4001 N. Fairfax Drive, Arlington, VA 22203 | Suite 700
>
> O: (703) 907-2548 | Weicheng.shen at leidos.com
>
> [image: leidos_logo]
>
>
>
> *From:* simon.rit at gmail.com [mailto:simon.rit at gmail.com] *On Behalf Of *Simon
> Rit
> *Sent:* Thursday, October 01, 2015 2:19 AM
> *To:* Shen, Weicheng
> *Cc:* rtk-users at public.kitware.com
> *Subject:* Re: [Rtk-users] Unknown CMake command "WRAP_GGO"
>
>
>
> Hi,
>
> WRAP_GGO is defined in cmake/FindGengetopt.cmake. To be able to use
> WRAP_GGO in an external project you need to do the same as in
> applications/CMakeLists.txt, i.e., FIND_PACKAGE(Gengetopt). But the
> easiest, to start with, is to build the rtktutorialapplication in the RTK
> project.
>
> Let us know if that answered your problem,
>
> Simon
>
>
>
> On Wed, Sep 30, 2015 at 11:32 PM, Shen, Weicheng <WEICHENG.SHEN at leidos.com>
> wrote:
>
> I am a new user of the RTK. The first thing I did is to build the RTK
> 1.1.0 using Microsoft Visual Studio 2013 on my Window 7 machine. After the
> RTK is successfully built, I attempted to build a sample application
> rtkMyApp following the instructions given at the
> rtktutorialapplication.cxx. rtkMyApp is really a copy of the
> rtktutorialapplication. Necessary changes are made according to the
> instructions in rtktutorialapplication.cxx
>
>
>
> However, when I use the CMake to build rtkMyApp, the following error
> appears in the “configure” phase:
>
> CMake Error at CMakeLists.txt:1 (WRAP_GGO):
> Unknown CMake command "WRAP_GGO".
>
>
>
> I couldn’t figure out where WRAP_GGO is defined. Any help will be greatly
> appreciated.
>
>
>
> Thanks,
>
>
>
> Weicheng Shen, Ph.D.
>
> Lead Research Scientist | Leidos
>
> 4001 N. Fairfax Drive, Arlington, VA 22203 | Suite 700
>
> O: (703) 907-2548 | Weicheng.shen at leidos.com
>
> [image: leidos_logo]
>
>
>
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/rtk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20151001/c54cc9fc/attachment-0010.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15591 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20151001/c54cc9fc/attachment-0020.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 15591 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20151001/c54cc9fc/attachment-0021.png>


More information about the Rtk-users mailing list