<div dir="ltr"><div><div><div>Thanks for the reply Ziv. I was able to get it working using TrackerDataLogger.<br></div>
Ozgur, thanks for the tip, I didn't catch that there wasn't a main, but your explanation makes sense.<br></div><div><br></div>Best,<br></div>Chuck<br><div><br><div><div><br><br></div></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 9:11 AM, Yaniv, Ziv <span dir="ltr"><<a href="mailto:ZYaniv@childrensnational.org" target="_blank">ZYaniv@childrensnational.org</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">Hi Chuck,<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">This is not an answer to your question, but possibly it is a simple solution.<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">In the IGSTK examples we have a program which does data logging for most of the tracking devices supported by IGSTK. Not surprisingly it is called TrackerDataLogger
 . This program receives as input an xml file describing the configuration: communication protocol, which tools are connected to what ports, do you want to use a dynamic reference frame, do you use a calibrated tool….<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">A sample file for the Polaris can be found in the TrackerDataLogger Directory. To modify it for the aurora you can take a look at the aurora configuration which
 is given as part of the testing data (either in your binary directory under Data/TrackerConfiguration or in original form in your source directory under Testing/Data/Input/TrackerConfiguration).<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">A general description of tags and their meaning for configuring IGSTK supported tracking devices is found in the IGSTK book (<a href="http://igstk.org/IGSTK/img/IGSTKTheBookV2.pdf" target="_blank">http://igstk.org/IGSTK/img/IGSTKTheBookV2.pdf</a>),
 page 263.<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">            hope this helped<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">                       Ziv<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"><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:igstk-users-bounces@public.kitware.com" target="_blank">igstk-users-bounces@public.kitware.com</a> [mailto:<a href="mailto:igstk-users-bounces@public.kitware.com" target="_blank">igstk-users-bounces@public.kitware.com</a>]
<b>On Behalf Of </b>Chuck Hatt<br>
<b>Sent:</b> Tuesday, November 12, 2013 10:18 PM<br>
<b>To:</b> <a href="mailto:igstk-users@public.kitware.com" target="_blank">igstk-users@public.kitware.com</a><br>
<b>Subject:</b> [IGSTK-Users] AuroraTrackerTest2.cxx Project Error<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi, <br>
<br>
<br>
I'm getting a strange build error with a project I am trying to create.  I want to try a very simple Aurora data logger, so I thought I'd start with AuroraTrackerTest.cxx.  Can someone let me know if I even have a correct CMakeLists.txt file?  If so, does anyone
 have any ideas about the error?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm running Ubuntu 12.04<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Thanks in advance,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Chuck<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Here is the cmake file<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">____________________________<br>
cmake_minimum_required(VERSION 2.8)<br>
<br>
PROJECT( AuroraTest )<br>
<br>
<br>
FIND_PACKAGE(ITK REQUIRED) <br>
INCLUDE(${ITK_USE_FILE})<br>
<br>
FIND_PACKAGE(IGSTK REQUIRED) <br>
INCLUDE(${IGSTK_USE_FILE})<br>
<br>
ADD_EXECUTABLE(AuroraTest<br>
               igstkAuroraTrackerTest.cxx<br>
               )<br>
<br>
TARGET_LINK_LIBRARIES(AuroraTest IGSTK ITKCommon )<br>
<br>
__________________________<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Here is what happens when I make<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
>>  make<br>
Scanning dependencies of target AuroraTest<br>
[100%] Building CXX object CMakeFiles/AuroraTest.dir/igstkAuroraTrackerTest.cxx.o<br>
In file included from /usr/include/c++/4.6/backward/strstream:52:0,<br>
                 from /usr/local/vtk/VTK5.10.1/Common/vtkIOStream.h:108,<br>
                 from /usr/local/vtk/VTK5.10.1/Common/vtkSystemIncludes.h:40,<br>
                 from /usr/local/vtk/VTK5.10.1/Common/vtkIndent.h:24,<br>
                 from /usr/local/vtk/VTK5.10.1/Common/vtkObjectBase.h:43,<br>
                 from /usr/local/vtk/VTK5.10.1/Common/vtkObject.h:41,<br>
                 from /usr/local/vtk/VTK5.10.1/Common/vtkMatrix4x4.h:27,<br>
                 from /usr/local/igstk/IGSTK-5.2/Source/igstkTransform.h:26,<br>
                 from /usr/local/igstk/IGSTK-5.2/Source/igstkEvents.h:23,<br>
                 from /usr/local/igstk/IGSTK-5.2/Source/igstkSerialCommunication.h:32,<br>
                 from /home/user/Documents/igstk/Examples/AuroraTrackerTest2/igstkAuroraTrackerTest.cxx:34:<br>
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality
 instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]<br>
Linking CXX executable AuroraTest<br>
<b>/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':<br>
(.text+0x20): undefined reference to `main'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [AuroraTest] Error 1<br>
make[1]: *** [CMakeFiles/AuroraTest.dir/all] Error 2<br>
make: *** [all] Error 2</b><u></u><u></u></p>
</div>
</div>
</div></div><div class="MsoNormal" style="text-align:center" align="center">
<hr style="color:gray" align="center" noshade size="1" width="100%">
</div>
<p class="MsoNormal">No virus found in this message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
Version: 2014.0.4158 / Virus Database: 3629/6829 - Release Date: 11/12/13<u></u><u></u></p>
</div>

<hr>Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.<br>

</div>

</blockquote></div><br></div>