[IGSTK-Users] AuroraTrackerTest2.cxx Project Error
Yaniv, Ziv
ZYaniv at childrensnational.org
Wed Nov 13 10:11:55 EST 2013
Hi Chuck,
This is not an answer to your question, but possibly it is a simple solution.
In the IGSTK examples we have a program which does data logging for most of the tracking devices supported by IGSTK. Not surprisingly it is called TrackerDataLogger . This program receives as input an xml file describing the configuration: communication protocol, which tools are connected to what ports, do you want to use a dynamic reference frame, do you use a calibrated tool....
A sample file for the Polaris can be found in the TrackerDataLogger Directory. To modify it for the aurora you can take a look at the aurora configuration which is given as part of the testing data (either in your binary directory under Data/TrackerConfiguration or in original form in your source directory under Testing/Data/Input/TrackerConfiguration).
A general description of tags and their meaning for configuring IGSTK supported tracking devices is found in the IGSTK book (http://igstk.org/IGSTK/img/IGSTKTheBookV2.pdf), page 263.
hope this helped
Ziv
From: igstk-users-bounces at public.kitware.com [mailto:igstk-users-bounces at public.kitware.com] On Behalf Of Chuck Hatt
Sent: Tuesday, November 12, 2013 10:18 PM
To: igstk-users at public.kitware.com
Subject: [IGSTK-Users] AuroraTrackerTest2.cxx Project Error
Hi,
I'm getting a strange build error with a project I am trying to create. I want to try a very simple Aurora data logger, so I thought I'd start with AuroraTrackerTest.cxx. Can someone let me know if I even have a correct CMakeLists.txt file? If so, does anyone have any ideas about the error?
I'm running Ubuntu 12.04
Thanks in advance,
Chuck
Here is the cmake file
____________________________
cmake_minimum_required(VERSION 2.8)
PROJECT( AuroraTest )
FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})
FIND_PACKAGE(IGSTK REQUIRED)
INCLUDE(${IGSTK_USE_FILE})
ADD_EXECUTABLE(AuroraTest
igstkAuroraTrackerTest.cxx
)
TARGET_LINK_LIBRARIES(AuroraTest IGSTK ITKCommon )
__________________________
Here is what happens when I make
>> make
Scanning dependencies of target AuroraTest
[100%] Building CXX object CMakeFiles/AuroraTest.dir/igstkAuroraTrackerTest.cxx.o
In file included from /usr/include/c++/4.6/backward/strstream:52:0,
from /usr/local/vtk/VTK5.10.1/Common/vtkIOStream.h:108,
from /usr/local/vtk/VTK5.10.1/Common/vtkSystemIncludes.h:40,
from /usr/local/vtk/VTK5.10.1/Common/vtkIndent.h:24,
from /usr/local/vtk/VTK5.10.1/Common/vtkObjectBase.h:43,
from /usr/local/vtk/VTK5.10.1/Common/vtkObject.h:41,
from /usr/local/vtk/VTK5.10.1/Common/vtkMatrix4x4.h:27,
from /usr/local/igstk/IGSTK-5.2/Source/igstkTransform.h:26,
from /usr/local/igstk/IGSTK-5.2/Source/igstkEvents.h:23,
from /usr/local/igstk/IGSTK-5.2/Source/igstkSerialCommunication.h:32,
from /home/user/Documents/igstk/Examples/AuroraTrackerTest2/igstkAuroraTrackerTest.cxx:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
Linking CXX executable AuroraTest
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [AuroraTest] Error 1
make[1]: *** [CMakeFiles/AuroraTest.dir/all] Error 2
make: *** [all] Error 2
________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2014.0.4158 / Virus Database: 3629/6829 - Release Date: 11/12/13
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20131113/9c543069/attachment.html>
More information about the IGSTK-Users
mailing list