<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thanks, Ziv.<div><br></div><div>I just saw your message after I sent one out. I am sure the way you suggested will get rid of the error message. but not sure if it would work well for the functions. I will try.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Subject: RE: [IGSTK-Users] pure virtual function in<br>Date: Fri, 21 Dec 2012 09:35:01 -0500<br>From: ZYaniv@childrensnational.org<br>To: kevinseanlee@live.com<br>CC: igstk-users@public.kitware.com<br><br>
<title>RE: [IGSTK-Users] pure virtual function in</title>
<font size="2">Hi Sean,<br>
<br>
This seems to be a problem with the C++ code generated by FLTK. The PivotCalibrationFLTKWidgetExampleUI.{cxx,h} are autogenerated by FLTK's fluid program from the PivotCalibrationFLTKWidgetExampleUI.fl file. In the older versions of FLTK the generated cxx file contained the following implementation of the function:<br>
<br>
void PivotCalibrationFLTKWidgetExampleUI::InitializeTrackingAndCalibration() {<br>
}<br>
<br>
<br>
An empty implementation which is overridden in the descendent PivotCalibrationFLTKWidgetExample. Based on the error you get I cannot be sure what is the problem. Please take a look at the *.fl file and the code generated by fluid. You will probably need to modify the *.fl file so that the generated C++ code doesn't cause this error.<br>
<br>
regards<br>
Ziv<br>
<br>
<br>
<br>
--<br>
Ziv Yaniv, Ph.D.,<br>
Principal Investigator,<br>
The Sheikh Zayed Institute for Pediatric Surgical Innovation<br>
Children's National Medical Center<br>
6th Floor Main Hospital, Room M7740<br>
111 Michigan Ave., N.W<br>
Washington, D.C 20010<br>
Phone: 202-476-1288<br>
email: zyaniv@childrensnational.org<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: igstk-users-bounces@public.kitware.com on behalf of Sean Lee<br>
Sent: Fri 12/21/2012 8:29 AM<br>
To: ozgur_guler@gmx.at<br>
Cc: igstk-users@public.kitware.com<br>
Subject: Re: [IGSTK-Users] pure virtual function in<br>
<br>
<br>
Thanks, Ozgur.<br>
It was fltk-1.3.2. But how do I fix it? Can I keep this version and fix the problem?<br>
Sean<br>
<br>
Date: Fri, 21 Dec 2012 07:56:08 -0500<br>
Subject: Re: [IGSTK-Users] pure virtual function in<br>
From: ozgur_guler@gmx.at<br>
To: kevinseanlee@live.com<br>
CC: igstk-users@public.kitware.com<br>
<br>
Hi Sean,<br>
<br>
which FLTK version do you use?<br>
<br>
IGSTK is compatible with FLTK versions 1.1.X<br>
Best,<br>
<br>
Ozgur<br>
On Dec 20, 2012 10:19 PM, "Sean Lee" <kevinseanlee@live.com> wrote:<br>
<br>
<br>
<br>
<br>
<br>
I am getting this link error when I building the calibration example.<br>
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------2>------ Build started: Project: PivotCalibrationFLTKWidgetExample, Configuration: Debug Win32 ------<br>
2>PivotCalibrationFLTKWidgetExampleUI.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PivotCalibrationFLTKWidgetExampleUI::InitializeTrackingAndCalibration(void)" (?InitializeTrackingAndCalibration@PivotCalibrationFLTKWidgetExampleUI@@UAEXXZ)<br>
2>PivotCalibrationFLTKWidgetExampleUI.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PivotCalibrationFLTKWidgetExampleUI::SaveCalibration(void)" (?SaveCalibration@PivotCalibrationFLTKWidgetExampleUI@@UAEXXZ)<br>
2>C:\OpensourceBinary\IGSTK2\bin\Debug\PivotCalibrationFLTKWidgetExample.exe : fatal error LNK1120: 2 unresolved externals========== Build: 1 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========<br>
<br>
But suppose that those two functions are pure virtual functions and would be overridden in PivotCalibrationFLTKWidgetExample.<br>
<br>
Any ideas what are happening? Thanks.<br>
Sean <br>
<br>
<br>
_______________________________________________<br>
<br>
Powered by www.kitware.com<br>
<br>
<br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br>
<br>
<br>
<br>
</font>
<BR></div></div> </div></body>
</html>