[IGSTK-Users] IGSTK 5.0 + NDI Certus Tracker
Jeremy Kooyman
jeremy.kooyman at gmail.com
Fri Jun 29 16:48:38 EDT 2012
Hello Ozgur,
That was exactly what I needed. It compiled perfectly.
Thank you very much for your assistance.
All the best,
Jeremy
On Fri, Jun 29, 2012 at 10:49 AM, Özgür Güler <ozgur_guler at gmx.at> wrote:
> Hi Jeremy,
>
> find enclosed the proper setup for NDI Certus tracker support using CMake.
> Since the IGSTK NDI Certus tracker interface communicates over NDI's
> utilities functions (integrated into IGSTK) with the NDI API,
> future releases will ask only for the NDI API library.
>
> Best,
> Ozgur
>
>
>
> 2012/6/27 Jeremy Kooyman <jeremy.kooyman at gmail.com>:
> > 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
> >
> >
> > _______________________________________________
> > 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
>
>
>
> --
> *********************************************************************
> Dr. Dipl.-Ing. Özgür Güler, Bakk. techn. PhD
> Research Assistant
> 4D-Visualization Laboratory
> Univ. ENT Clinic
> Innsbruck Medical University
> Anichstr. 35, A-6020 Innsbruck, Austria
>
> tel.: +43 512 504 23428, fax.: +43 512 504 25231
>
> voxelmaster.eu
> www.gueler.at
> *********************************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20120629/1c17ba53/attachment-0001.html>
More information about the IGSTK-Users
mailing list