[IGSTK-Users] Hello! I have a question.
우상윤
woodli14 at snu.ac.kr
Mon Oct 15 01:04:31 EDT 2012
Hello.
I'm Sangyoon Woo who studying IGI in S.Korea.
I built the IGITutorialSourceCode but there are some errors.
(the source from http://public.kitware.com/IGSTKWIKI/images/8/8b/IGITutorialSourceCode.zip)
It said that 'int varient' cannot be change to 'const std::string'
I changed the sourcecode like below.
<<Before>>
this->m_tool->RequestSetMarkerName(m_GUI.idBox->currentText().toInt());
m_ArucoTrackerTool->RequestSetMarkerName(m_PointerId.toInt());
m_ArucoReferenceTrackerTool->RequestSetMarkerName(m_ReferenceId.toInt());
m_ArucoTrackerToolMap[markerId]->RequestSetMarkerName(markerId.toInt());
<<After>>
this->m_tool->RequestSetMarkerName(m_GUI.idBox->currentText().tostdstring());
m_ArucoTrackerTool->RequestSetMarkerName(m_PointerId.tostdstring());
m_ArucoReferenceTrackerTool->RequestSetMarkerName(m_ReferenceId.tostdstring());
m_ArucoTrackerToolMap[markerId]->RequestSetMarkerName(markerId.tostdstring());
Then it was able to be built.
I think IGITutorialSourceCode may need to be changed.
Sangyoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20121015/3d673d98/attachment-0001.html>
More information about the IGSTK-Users
mailing list