[IGSTK-Users] Unable to link with Micron Tracker library (libMTC)
Andinet Enquobahrie
andinet.enqu at kitware.com
Fri Aug 1 10:29:00 EDT 2008
Vincent-
Thank you for the report..
You are right..
The bug was introduced recently while cleaning up the repository for Ubuntu
packaging.
I have committed a fix..Please update your checkout and let us know if
your problem is resolved.
Thanks,
-Andinet
> Hi igstk-users,
>
> I'm trying to use the Micron Tracker library (libMTC) with the current
> version of the IGSTK repository.
> Unfortunately, it seems that there is a problem in the
> IGSTKConfig.cmake file. Actually, the IGSTK_LIBRARY_DIRS variable
> contains the path to the MTC library file, instead of the MTC library
> directory :
>> SET(IGSTK_LIBRARY_DIRS [...]/Micron-2.7/Dist/libMTC.a")
> So my project is unable to use correctly this value for linking to the
> MTC library.
> I think that igstkGenerateIGSTKConfig.cmake file contains the error :
>
> at line 38 :
>
>> IF(IGSTK_USE_MicronTracker)
>> SET(IGSTK_LIBRARY_DIRS_CONFIG
>> ${IGSTK_LIBRARY_DIRS_CONFIG}
>> ${MTC_LIBRARY}
>> )
>> ENDIF(IGSTK_USE_MicronTracker)
> should be replaced by :
>
>> IF(IGSTK_USE_MicronTracker)
>> GET_FILENAME_COMPONENT(MTC_LIBRARY_DIR ${MTC_LIBRARY} PATH)
>>
>> SET(IGSTK_LIBRARY_DIRS_CONFIG
>> ${IGSTK_LIBRARY_DIRS_CONFIG}
>> ${MTC_LIBRARY_DIR}
>> )
>> ENDIF(IGSTK_USE_MicronTracker)
>
> Do you think I'm right, or do I make a mistake ?
>
> Thank you,
>
> Vincent
>
>
>
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
--
==========================================================
Andinet A. Enquobahrie, PhD
R&D Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x124
www.kitware.com
More information about the IGSTK-Users
mailing list