<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<i style="line-height: 20px; color: rgb(42, 42, 42); background-color: rgb(255, 255, 255); font-family: 'Times New Roman'; font-size: medium; ">Hi, Patrick,</i><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; "><br></i></font></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; ">Thank you very much for your prompt reply.</i></font></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; "><br></i></font></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; ">I have not found answers from your reply yet. </i></font></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; "><br></i></font></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; ">I can run the sample code from ATC very well, in which I set "C:\Program Files\Ascension\3D Guidance (Rev D)\3D Guidance API\ATC3DG.lib" in Additional Dependencies. I did same thing to Navigator, it brought out those link errors with titled </i></font><span style="font-family: Tahoma, sans-serif; ">IGSTK.lib(igstkAscension3DGTracker.obj) : error LNK2019: unresolved external symbol</span> ...</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><span style="line-height: 20px; font-family: 'Times New Roman'; font-size: 12pt; "><font face="Tahoma" size="2" style="line-height: normal; "><br style="line-height: 17px; "></font></span><i style="line-height: 20px; font-family: 'Times New Roman'; font-size: medium; ">No compiling error from IGSTK project. So I think it is something regarding the link configuration. dll library?</i></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><i style="line-height: 20px; font-family: 'Times New Roman'; font-size: medium; "><br></i></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><i style="line-height: 20px; font-family: 'Times New Roman'; font-size: medium; ">I look forward to hearing from you soon. Thanks.</i></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; "><br></i></font></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><font face="'Times New Roman'" size="3" style="line-height: normal; "><i style="line-height: 20px; ">Sean</i></font></div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Subject: RE: [IGSTK-Users] Ascension3DGTracker<br>Date: Tue, 24 Jan 2012 15:30:38 -0500<br>From: PCheng@childrensnational.org<br>To: kevinseanlee@live.com; igstk-users@public.kitware.com<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxEmailStyle18
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Sean,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">To enable support for Ascesion3DGTracker, you need to specify the location of Ascension tracker’s library and header files before you can compile the code.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You need to specify:</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ascension3DG_MedSafe (weather you are using the Medsafe version of the tracker, which uses different name for its library)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">ATC_LIBRARY (the path to ATC3DG.dll, or ATC3DGm.dll for MedSafe version)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">ATC_INCLUDE_DIRECTORY (the path includes ATC3DG.h, or ATC3DGm.h for MedSafe version )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Below is the cmake scripts for setting up Ascension tracker build support:</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"># Connect Ascension 3DG tracker</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">OPTION(IGSTK_USE_Ascension3DGTracker "Connect Ascension 3D Guidance Tracker" OFF)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">IF(IGSTK_USE_Ascension3DGTracker)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> OPTION(Ascension3DG_MedSafe "Use MedSafe version of the tracker" OFF)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> IF(Ascension3DG_MedSafe) # Use MedSafe version</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> FIND_PATH(ATC_INCLUDE_DIRECTORY ATC3DGm.h</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> "C:/Program Files/Ascension/3D Guidance medSAFE (Rev F)/3D Guidance API"</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> DOC "Directory where the ATC3DGm.h file is located")</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> INCLUDE_DIRECTORIES( ${ATC_INCLUDE_DIRECTORY} )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> FIND_LIBRARY( ATC_LIBRARY </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> NAMES ATC3DGm ATC3DGm.dll</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> PATHS "C:/Program Files/Ascension/3D Guidance medSAFE (Rev F)/3D Guidance API"</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> DOC "Full path to the ATC3DG.dll file"</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> ELSE(Ascension3DG_MedSafe) # Use non MedSafe version</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> FIND_PATH(ATC_INCLUDE_DIRECTORY ATC3DG.h</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> "C:/Program Files/Ascension/3D Guidance (Rev D)/3D Guidance API"</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> DOC "Directory where the ATC3DG.h file is located")</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> INCLUDE_DIRECTORIES( ${ATC_INCLUDE_DIRECTORY} )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> FIND_LIBRARY( ATC_LIBRARY </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> NAMES ATC3DG ATC3DG.dll</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> PATHS "C:/Program Files/Ascension/3D Guidance (Rev D)/3D Guidance API"</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> DOC "Full path to the ATC3DG.dll file"</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> ENDIF(Ascension3DG_MedSafe)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> GET_FILENAME_COMPONENT( ATC_LIBRARY_DIRS ${ATC_LIBRARY} PATH )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> LINK_DIRECTORIES( ${ATC_LIBRARY_DIRS} )</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">ENDIF(IGSTK_USE_Ascension3DGTracker)</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="ecxMsoNormal"><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""> igstk-users-bounces@public.kitware.com [mailto:igstk-users-bounces@public.kitware.com] <b>On Behalf Of </b>Sean Lee<br><b>Sent:</b> Tuesday, January 24, 2012 2:43 PM<br><b>To:</b> igstk-users@public.kitware.com<br><b>Subject:</b> [IGSTK-Users] Ascension3DGTracker</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I am trying to use this tracking tool in Navigator. Always got a link error like the following</span></p><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2>Link:</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2> Creating library C:/IGSTK-4.4/bin/bin/Debug/Navigator.lib and object C:/IGSTK-4.4/bin/bin/Debug/Navigator.exp</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2>IGSTK.lib(igstkAscension3DGTracker.obj) : error LNK2019: unresolved external symbol __imp_GetSensorStatus referenced in function "protected: virtual enum igstk::Tracker::ResultType __cdecl igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen@Ascension3DGTracker@igstk@@MEAA?AW4ResultType@Tracker@2@XZ)</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2>IGSTK.lib(igstkAscension3DGTracker.obj) : error LNK2019: unresolved external symbol __imp_SetSensorParameter referenced in function "protected: virtual enum igstk::Tracker::ResultType __cdecl igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen@Ascension3DGTracker@igstk@@MEAA?AW4ResultType@Tracker@2@XZ)</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2>IGSTK.lib(igstkAscension3DGTracker.obj) : error LNK2019: unresolved external symbol __imp_SetSystemParameter referenced in function "protected: virtual enum igstk::Tracker::ResultType __cdecl igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen@Ascension3DGTracker@igstk@@MEAA?AW4ResultType@Tracker@2@XZ)</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2>IGSTK.lib(igstkAscension3DGTracker.obj) : error LNK2019: unresolved external symbol __imp_GetBIRDSystemConfiguration referenced in function "protected: virtual enum igstk::Tracker::ResultType __cdecl igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen@Ascension3DGTracker@igstk@@MEAA?AW4ResultType@Tracker@2@XZ)</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">2>IGSTK.lib(igstkAscension3DGTracker.obj) : error LNK2019: unresolved external symbol __imp_InitializeBIRDSystem referenced in function "protected: virtual enum igstk::Tracker::ResultType __cdecl igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen@Ascension3DGTracker@igstk@@MEAA?AW4ResultType@Tracker@2@XZ)</span></p></div></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">If I set off the use of Ascension3DGTracker in CMake, I would not get this link error. What did I do wrong?</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Thanks.</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Kevin</span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div></div></div></div> </div></body>
</html>