[IGSTK-Users] compiling IGSTK with MicronTracker support
Christopher Heath
christopher.c.heath at gmail.com
Fri Apr 25 16:20:01 EDT 2008
Hello,
I am having trouble compiling IGSTK with MicronTracker support set to
"ON". I have no trouble compiling IGSTK and the Sandbox with this
option turned off. However, when I try compiling with support on, I
get the following errors when igstkMTCu is building:
Compiling...
Xform3D.cpp
Vector.cpp
Persistence.cpp
Markers.cpp
..\..\..\..\IGSTK-3.0\Utilities\MicronTracker\src\Markers.cpp(249) :
error C3861: 'Markers_ExtrapolatedFramesGet': identifier not found
..\..\..\..\IGSTK-3.0\Utilities\MicronTracker\src\Markers.cpp(265) :
error C3861: 'Markers_ExtrapolatedFramesSet': identifier not found
..\..\..\..\IGSTK-3.0\Utilities\MicronTracker\src\Markers.cpp(281) :
error C3861: 'Markers_SmallerXPFootprint': identifier not found
..\..\..\..\IGSTK-3.0\Utilities\MicronTracker\src\Markers.cpp(297) :
error C3861: 'Markers_SmallerXPFootprintSet': identifier not found
Marker.cpp
MCamera.cpp
Facet.cpp
..\..\..\..\IGSTK-3.0\Utilities\MicronTracker\src\Facet.cpp(157) :
warning C4018: '<' : signed/unsigned mismatch
..\..\..\..\IGSTK-3.0\Utilities\MicronTracker\src\Facet.cpp(221) :
warning C4018: '<' : signed/unsigned mismatch
Collection.cpp
Cameras.cpp
Generating Code...
To try and get rid of these errors, I added the following definitions
to mtc.h:
EXT mtCompletionCode CCONV Markers_ExtrapolatedFramesGet(int *p_out);
EXT mtCompletionCode CCONV Markers_ExtrapolatedFramesSet(int newval);
EXT bool CCONV Markers_SmallerXPFootprint();
EXT mtCompletionCode CCONV Markers_SmallerXPFootprintSet(bool newval);
This lets igstkMTCu build, but I get the following type of error when
I try and build a project that uses igstkMTCu (such as
OneViewAndTrackingUsingMicronTracker):
igstkMTCu.lib(Markers.obj) : error LNK2019: unresolved external symbol
_Markers_ExtrapolatedFramesGet at 4 referenced in function "public: int
__thiscall Markers::getExtrapolatedFrames(void)" (?
getExtrapolatedFrames at Markers@@QAEHXZ)
Has anyone seen anything like this? Am I using an outdated version of
the MTC API (R2.1)? If so, what version do I need to be using and
does anyone know where to find it? Also, if anyone knows of a word-
around, I would be thrilled to hear of it.
Thanks for all your help,
Christopher
Christopher Heath
Vanderbilt University School of Engineering
christopher.c.heath at vanderbilt.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20080425/9210b2ff/attachment-0001.html>
More information about the IGSTK-Users
mailing list