Hello All,<br><br>I'm attempting to build IGSTK 5.0 with support for NDI's Certus tracker but am running into problems.<br><br>I've successfully built IGSTK 5.0 WITHOUT the Certus option, indicating that my supporting libraries (ITK, VTK, FLTK) aren't the likely cause.<br>
<br>I suspect that part of the problem is with CMake: when it asks for NDICERTUS_INCLUDE_DIRECTORY, I point it to .../NDIoapi/ndlib/include<br>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.<br>
<br>However, when you attempt to build the solution (I'm using Visual Studio 2008), it gives errors like<br>\igstk-5.0\source\igstkNDICertusTracker.h(40) : fatal error C1083: Cannot open include file: 'certus_aux.h': No such file or directory<br>
<br>This missing file is located in ...\NDIoapi\samples<br><br>Copying the missing dependent header and source files (certus_aux, datatypes, ot_aux) into .../NDIoapi/ndlib/include starts giving substantially more complicated errors.<br>
<br>For example:<br><br>3>C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : error C2148: total size of array must not exceed 0x7fffffff bytes<br>3>C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : error C2079: 'igstk::NDICertusTracker::rigidBodyDescrArray' uses undefined struct 'igstk::OptotrakRigidDescrStruct'<br>
3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2452) : error C2036: 'igstk::OptotrakRigidDescrStruct *' : unknown size<br>3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2452) : error C2027: use of undefined type 'igstk::OptotrakRigidDescrStruct'<br>
3> C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : see declaration of 'igstk::OptotrakRigidDescrStruct'<br>3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2452) : error C2228: left of '.lnStartMarker' must have class/struct/union<br>
3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2453) : error C2036: 'igstk::OptotrakRigidDescrStruct *' : unknown size<br>3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2453) : error C2027: use of undefined type 'igstk::OptotrakRigidDescrStruct'<br>
3> C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : see declaration of 'igstk::OptotrakRigidDescrStruct'<br>3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2453) : error C2228: left of '.lnNumberOfMarkers' must have class/struct/union<br>
3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2454) : error C2036: 'igstk::OptotrakRigidDescrStruct *' : unknown size<br>3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2454) : error C2027: use of undefined type 'igstk::OptotrakRigidDescrStruct'<br>
3> C:\IGSTK Source Downloads\IGSTK-5.0\Source\igstkNDICertusTracker.h(105) : see declaration of 'igstk::OptotrakRigidDescrStruct'<br>3>..\..\..\IGSTK Source Downloads\IGSTK-5.0\Examples\TrackerConfiguration\igstkTrackerController.cxx(2454) : error C2228: left of '.szName' must have class/struct/union<br>
<br>It appears that OptotrakRigidDescrStruct isn't defined anywhere, and hunting through the project files appears to confirm this.<br><br>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.<br>
<br>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.<br><br>Have any IGSTK users out there successfully build 5.0 with Certus support?<br>
<br>Thanks for your help,<br><br>Jeremy<br><br>