[IGSTK-Users] MedSafe

Fabian Torres fabian.trobles at gmail.com
Sat Jun 16 13:06:23 EDT 2012


Hi Ozgur,

I have checked the Ascension API function calls in InternalOpen() and it
seems that the functions are the same. If I understand your advice, the
InternalOpen() should call existing methods of the Ascension API that I'm
using, if thats right, Yes the methods that are called in InternalOpen()
exist in the API. If that was not the approach can you explain it a little
bit more?

So if I´m right the tracker interface implementation in IGSTK is the same
in my current API.

What would be the next step to debig the error?

Thanks a lot

On Sat, Jun 16, 2012 at 12:43 AM, Özgür Güler <ozgur.guler.phd at gmail.com>wrote:

> Hi Fabian,
> it seems that the current Ascension tracker interface implementation in
> IGSTK is different then your current API.  In order to check that, you can
> compare e.g. Ascension API function calls inside the IGSTK function
> InternalOpen() with functions corresponding to your new API. If lets say
> the initialization in the IGSTK tracker class is different then your
> initialization code, then  an appropriate new IGSTK tracker class has to be
> implemented.
> Please let me know if the APIs are different or not. If the APIs are the
> same then we have to look at CMake configurations, especially the linking
> configuration.
>
> Best,
> Ozgur
> On Jun 15, 2012 1:47 PM, "Fabian Torres" <fabian.trobles at gmail.com> wrote:
>
>> Hi
>>
>> This is not the first time I post this on IGSTK Users. But I haven`t
>> found Anyone who can help to solve my problem.
>> I`m trying to use IGSTK with medSafe Ascension tracker and I haven`t been
>> able to make it work.
>> About 5 months Ago I was told that the problem I have  will need to work
>> with Ascension to find the best way to resolve this issue.
>>
>> I thought that with IGSTK 5.0 this issue was solved but it doesn't. I`m
>> going to re post the problems I have. Please I need to work with the
>> Ascencion medSafe tracker
>> as soon as possible. If someone has managed to work with it I would be
>> glad to hear how to do this.
>>
>> I'm using VTK 5.8 IGSTK 5.0 VisualStudio2008 and 32 bit Windows7.
>>
>>  Thanks
>>
>> The  errors I get trying to compile IGSTK 5.0 or any other application
>> made by myself using IGSTK 5.0 and medSafe are these:
>>
>> Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport)
>> unsigned long __cdecl atc::GetSensorStatus(unsigned short)"
>> (__imp_?GetSensorStatus at atc <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@YAKG at Z <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) referenced in function "protected:
>> virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalOpen(void)"
>> (?InternalOpen at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> 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 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
>> @@YAHGW4SENSOR_PARAMETER_TYPE at 1 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@PAXH at Z <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) referenced in function "protected:
>> virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalOpen(void)"
>> (?InternalOpen at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> 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 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@YAHW4SYSTEM_PARAMETER_TYPE at 1 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@PAXH at Z <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> referenced in function "protected: virtual enum igstk::Tracker::ResultType
>> __thiscall igstk::Ascension3DGTracker::InternalOpen(void)"
>> (?InternalOpen at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> IGSTK.lib*
>>
>> *Error 4 error LNK2019: unresolved external symbol "__declspec(dllimport)
>> int __cdecl atc::GetBIRDSystemConfiguration(struct
>> atc::tagSYSTEM_CONFIGURATION *)" (__imp_?GetBIRDSystemConfiguration at atc <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
>> @@YAHPAUtagSYSTEM_CONFIGURATION at 1 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@Z) referenced in function "protected:
>> virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalOpen(void)"
>> (?InternalOpen at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> IGSTK.lib*
>>
>> *Error 5 error LNK2019: unresolved external symbol "__declspec(dllimport)
>> int __cdecl atc::InitializeBIRDSystem(void)"
>> (__imp_?InitializeBIRDSystem at atc <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@YAHXZ) referenced in function "protected:
>> virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalOpen(void)"
>> (?InternalOpen at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> IGSTK.lib*
>>
>> *Error 6 error LNK2019: unresolved external symbol "__declspec(dllimport)
>> int __cdecl atc::CloseBIRDSystem(void)" (__imp_?CloseBIRDSystem at atc <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@YAHXZ)
>> referenced in function "protected: virtual enum igstk::Tracker::ResultType
>> __thiscall igstk::Ascension3DGTracker::InternalClose(void)"
>> (?InternalClose at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>)
>> 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 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
>> @@YAHGPAUtagTRANSMITTER_CONFIGURATION at 1 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@Z) referenced in function
>> "protected: virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalStartTracking(void)"
>> (?InternalStartTracking at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
>> @2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) 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 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
>> @@YAHGPAUtagBOARD_CONFIGURATION at 1 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@Z) referenced in function "protected:
>> virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalStartTracking(void)"
>> (?InternalStartTracking at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
>> @2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) IGSTK.lib*
>>
>> *Error 9 error LNK2019: unresolved external symbol "__declspec(dllimport)
>> int __cdecl atc::GetSynchronousRecord(unsigned short,void *,int)"
>> (__imp_?GetSynchronousRecord at atc <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@YAHGPAXH at Z <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) referenced in function
>> "protected: virtual enum igstk::Tracker::ResultType __thiscall
>> igstk::Ascension3DGTracker::InternalThreadedUpdateStatus(void)"
>> (?InternalThreadedUpdateStatus at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@
>> @MAE?AW4ResultType at Tracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@2 at XZ <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) 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 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@YAHHPADHW4MESSAGE_TYPE at 1 <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@@Z) referenced in
>> function "private: int __thiscall
>> igstk::Ascension3DGTracker::CheckAPIReturnStatus(int)"
>> (?CheckAPIReturnStatus at Ascension3DGTracker <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>@igstk@@AAEHH at Z <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>) 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
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>>
>


-- 
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/20120616/9aba02c3/attachment-0001.html>


More information about the IGSTK-Users mailing list