[IGSTK-Users] IGSTK 5.0 + NDI Certus Tracker

Jeremy Kooyman jeremy.kooyman at gmail.com
Wed Jun 27 17:13:34 EDT 2012


Hello All,

I'm attempting to build IGSTK 5.0 with support for NDI's Certus tracker but
am running into problems.

I've successfully built IGSTK 5.0 WITHOUT the Certus option, indicating
that my supporting libraries (ITK, VTK, FLTK) aren't the likely cause.

I suspect that part of the problem is with CMake: when it asks for
NDICERTUS_INCLUDE_DIRECTORY, I point it to .../NDIoapi/ndlib/include
This is the location of ndopto.h, amongst other header files, which I
believe is what the build is after according to the Wiki build instructions.

However, when you attempt to build the solution (I'm using Visual Studio
2008), it gives errors like
\igstk-5.0\source\igstkNDICertusTracker.h(40) : fatal error C1083: Cannot
open include file: 'certus_aux.h': No such file or directory

This missing file is located in ...\NDIoapi\samples

Copying the missing dependent header and source files (certus_aux,
datatypes, ot_aux) into .../NDIoapi/ndlib/include starts giving
substantially more complicated errors.

For example:

3>C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) :
error C2148: total size of array must not exceed 0x7fffffff bytes
3>C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) :
error C2079: 'igstk::NDICertusTracker::rigidBodyDescrArray' uses undefined
struct 'igstk::OptotrakRigidDescrStruct'
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2452)
: error C2036: 'igstk::OptotrakRigidDescrStruct *' : unknown size
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2452)
: error C2027: use of undefined type 'igstk::OptotrakRigidDescrStruct'
3>        C:\IGSTK Source
Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : see declaration
of 'igstk::OptotrakRigidDescrStruct'
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2452)
: error C2228: left of '.lnStartMarker' must have class/struct/union
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2453)
: error C2036: 'igstk::OptotrakRigidDescrStruct *' : unknown size
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2453)
: error C2027: use of undefined type 'igstk::OptotrakRigidDescrStruct'
3>        C:\IGSTK Source
Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : see declaration
of 'igstk::OptotrakRigidDescrStruct'
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2453)
: error C2228: left of '.lnNumberOfMarkers' must have class/struct/union
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2454)
: error C2036: 'igstk::OptotrakRigidDescrStruct *' : unknown size
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2454)
: error C2027: use of undefined type 'igstk::OptotrakRigidDescrStruct'
3>        C:\IGSTK Source
Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : see declaration
of 'igstk::OptotrakRigidDescrStruct'
3>..\..\..\IGSTK Source
Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2454)
: error C2228: left of '.szName' must have class/struct/union

It appears that OptotrakRigidDescrStruct isn't defined anywhere, and
hunting through the project files appears to confirm this.

I'm using the latest version of the OAPI (3.07 or something, as indicated
by Optoupdate), and have tried with a previous version (3.05) as well, with
the same errors being reported.

It's worth mentioning that the example files included with the OAPI work
perfectly, so I believe that the problem isn't with the contents of the
OAPI.

Have any IGSTK users out there successfully build 5.0 with Certus support?

Thanks for your help,

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20120627/be15b525/attachment-0001.html>


More information about the IGSTK-Users mailing list