[IGSTK-Users] Using MedSafe and getting building errors

Cheng, Patrick PCheng at childrensnational.org
Wed Jan 25 16:07:05 EST 2012


Hi Fabian,

 

Thanks for the report. I did reproduce the error with the MedSafe version of their API ( ATC3DGm.h & .lib).

 

We will need to work with Ascension to find the best way to resolve this issue.

 

At this point, you can ignore the Ascension3DG_MedSafe option and build you code with the ATC3DG.h & .lib. Based on my experience, the code should work with the MedSafe version of the tracker. Could you do a quick test and confirm this? (I don't have access to AscensionTracker at the moment)

 

Thank you,

 

Patrick

 

From: igstk-users-bounces at public.kitware.com [mailto:igstk-users-bounces at public.kitware.com] On Behalf Of Fabian Torres
Sent: Wednesday, January 25, 2012 12:50 PM
To: igstk-users at public.kitware.com
Subject: [IGSTK-Users] Using MedSafe and getting building errors

 

Hi 

 

I`m trying to use an Ascension MedSafe equipment with IGSTK 4.4.

When I create a VS 2009 IGSTK project using CMAKE and checking IGSTK_USE_Ascension3DGTracker  

 

After I click Configure CMAKE is unable to found the ATC_LIB and the ATC_INCLUDE_DIRECTORY automatically

 

I entered them manualy

 

ATC_INCLUDE_DIRECTORY C:/Program Files/Ascension/3D Guidance medSAFE (Rev F)/3D Guidance API

ATC_LIB C:/Program Files/Ascension/3D Guidance medSAFE (Rev F)/3D Guidance API/ATC3DGm.lib

 

The configuration and building of IGSTK continues without trouble.

 

When I make a new VS project using igstk and the igstkAscension3DGTracker class I get the errors mention at the end of the message

 

I have checked if the ATC3DGm.lib ATC3DGm API include filesare linked to the project and this is not the problem.

 

If I try to compile the igstkAscension3DGTrackerTest in the IGSTK source I get the same erros.

 

Please I hope you can help me. These is a vital error I have to correct to continue working on my IGSTK appplication

 

Thanks for your time

 

Error   1          error LNK2019: unresolved external symbol "__declspec(dllimport) unsigned long __cdecl atc::GetSensorStatus(unsigned short)" (__imp_?GetSensorStatus at atc@@YAKG at Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)     IGSTK.lib

 

Error   2          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::SetSensorParameter(unsigned short,enum atc::SENSOR_PARAMETER_TYPE,void *,int)" (__imp_?SetSensorParameter at atc@@YAHGW4SENSOR_PARAMETER_TYPE at 1@PAXH at Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)         IGSTK.lib

 

Error   3          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::SetSystemParameter(enum atc::SYSTEM_PARAMETER_TYPE,void *,int)" (__imp_?SetSystemParameter at atc@@YAHW4SYSTEM_PARAMETER_TYPE at 1@PAXH at Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)         IGSTK.lib

 

Error   4          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::GetBIRDSystemConfiguration(struct atc::tagSYSTEM_CONFIGURATION *)" (__imp_?GetBIRDSystemConfiguration at atc@@YAHPAUtagSYSTEM_CONFIGURATION at 1@@Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)         IGSTK.lib

 

Error   5          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::InitializeBIRDSystem(void)" (__imp_?InitializeBIRDSystem at atc@@YAHXZ) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalOpen(void)" (?InternalOpen at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)         IGSTK.lib

 

Error   6          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::CloseBIRDSystem(void)" (__imp_?CloseBIRDSystem at atc@@YAHXZ) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalClose(void)" (?InternalClose at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)         IGSTK.lib

 

Error   7          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::GetTransmitterConfiguration(unsigned short,struct atc::tagTRANSMITTER_CONFIGURATION *)" (__imp_?GetTransmitterConfiguration at atc@@YAHGPAUtagTRANSMITTER_CONFIGURATION at 1@@Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalStartTracking(void)" (?InternalStartTracking at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)        IGSTK.lib

 

Error   8          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::GetBoardConfiguration(unsigned short,struct atc::tagBOARD_CONFIGURATION *)" (__imp_?GetBoardConfiguration at atc@@YAHGPAUtagBOARD_CONFIGURATION at 1@@Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalStartTracking(void)" (?InternalStartTracking at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)        IGSTK.lib

 

Error   9          error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::GetSynchronousRecord(unsigned short,void *,int)" (__imp_?GetSynchronousRecord at atc@@YAHGPAXH at Z) referenced in function "protected: virtual enum igstk::Tracker::ResultType __thiscall igstk::Ascension3DGTracker::InternalThreadedUpdateStatus(void)" (?InternalThreadedUpdateStatus at Ascension3DGTracker@igstk@@MAE?AW4ResultType at Tracker@2 at XZ)            IGSTK.lib

 

Error   10        error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl atc::GetErrorText(int,char *,int,enum atc::MESSAGE_TYPE)" (__imp_?GetErrorText at atc@@YAHHPADHW4MESSAGE_TYPE at 1@@Z) referenced in function "private: int __thiscall igstk::Ascension3DGTracker::CheckAPIReturnStatus(int)" (?CheckAPIReturnStatus at Ascension3DGTracker@igstk@@AAEHH at Z)    IGSTK.lib

 

-- 
Fabián Torres Robles
Maestria en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
tel. 58081280, 0445534661338
e-mail fabian.trobles at gmail.com, dae.wong at gmail.com  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20120125/7073c996/attachment.html>


More information about the IGSTK-Users mailing list