<div dir="ltr"><div><div>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.<br></div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 4:57 PM, Shen, Weicheng <span dir="ltr"><<a href="mailto:WEICHENG.SHEN@leidos.com" target="_blank">WEICHENG.SHEN@leidos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Simon,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks for the tip! When I run CMake on applications/CMakeLists.txt inside RTK, the following error message appears:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">================================================================================================<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:red">CMake Warning at CMakeLists.txt:1 (FIND_PACKAGE):<br>
By not providing "FindGengetopt.cmake" in CMAKE_MODULE_PATH this project<br>
has asked CMake to find a package configuration file provided by<br>
"Gengetopt", but CMake did not find one.<br>
<br>
Could not find a package configuration file provided by "Gengetopt" with<br>
any of the following names:<br>
<br>
GengetoptConfig.cmake<br>
gengetopt-config.cmake<br>
<br>
Add the installation prefix of "Gengetopt" to CMAKE_PREFIX_PATH or set<br>
"Gengetopt_DIR" to a directory containing one of the above files. If<br>
"Gengetopt" provides a separate development package or SDK, be sure it has<br>
been installed.</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">================================================================================================<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It looks like “FIND_PACKAGE(Gengetopt)” can’t find either
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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
</span><span style="color:red">CMAKE_MODULE_PATH</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> in the cmake GUI when performing configuration. The value of
</span><span style="color:red">CMAKE_MODULE_PATH</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> is set to the path of FindGengetopt.cmake. The .sln file can now be successfully generated.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Next I need to build the project using Visual Studio 2013.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks you very much for your help!</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Weicheng Shen, Ph.D.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Lead Research Scientist | Leidos<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">4001 N. Fairfax Drive, Arlington, VA 22203 | Suite 700<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">O: <a href="tel:%28703%29%20907-2548" value="+17039072548" target="_blank">(703) 907-2548</a> |
<a href="mailto:Weicheng.shen@leidos.com" target="_blank"><span style="color:blue">Weicheng.shen@leidos.com</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img src="cid:image001.png@01D0FC38.06D5FE00" alt="leidos_logo" height="53" border="0" width="218"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:simon.rit@gmail.com" target="_blank">simon.rit@gmail.com</a> [mailto:<a href="mailto:simon.rit@gmail.com" target="_blank">simon.rit@gmail.com</a>]
<b>On Behalf Of </b>Simon Rit<br>
<b>Sent:</b> Thursday, October 01, 2015 2:19 AM<br>
<b>To:</b> Shen, Weicheng<br>
<b>Cc:</b> <a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a><br>
<b>Subject:</b> Re: [Rtk-users] Unknown CMake command "WRAP_GGO"<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<p class="MsoNormal">Let us know if that answered your problem,<u></u><u></u></p>
</div>
<p class="MsoNormal">Simon<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Sep 30, 2015 at 11:32 PM, Shen, Weicheng <<a href="mailto:WEICHENG.SHEN@leidos.com" target="_blank">WEICHENG.SHEN@leidos.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">However, when I use the CMake to build rtkMyApp, the following error appears in the “configure” phase:<u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">CMake Error at CMakeLists.txt:1 (WRAP_GGO):<br>
Unknown CMake command "WRAP_GGO".</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:red"> </span><u></u><u></u></p>
<p class="MsoNormal">I couldn’t figure out where WRAP_GGO is defined. Any help will be greatly appreciated.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Weicheng Shen, Ph.D.<u></u><u></u></p>
<p class="MsoNormal">Lead Research Scientist | Leidos<u></u><u></u></p>
<p class="MsoNormal">4001 N. Fairfax Drive, Arlington, VA 22203 | Suite 700<u></u><u></u></p>
<p class="MsoNormal">O:
<a href="tel:%28703%29%20907-2548" target="_blank">(703) 907-2548</a> | <a href="mailto:Weicheng.shen@leidos.com" target="_blank">
Weicheng.shen@leidos.com</a><u></u><u></u></p>
<p class="MsoNormal"><img src="cid:image004.png@01D0FC33.9386C8C0" alt="leidos_logo" height="53" border="0" width="218"><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>