No subject


Wed May 9 12:08:04 EDT 2012


go.<BR>
<BR>
As a side comment, we are shifting most of our GUI development to use Qt =
and will only maintain existing FLTK code but won't develop it further. =
You may also find the applications in our IGI tutorial (<A =
HREF=3D"http://public.kitware.com/IGSTKWIKI/index.php/IGI_Tutorial">http:=
//public.kitware.com/IGSTKWIKI/index.php/IGI_Tutorial</A>) of interest. =
The source code is available in the IGSTK apps git repo (details here: =
<A =
HREF=3D"http://www.igstk.org/Wiki/IGSTK/Git">http://www.igstk.org/Wiki/IG=
STK/Git</A>).<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp; regards<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ziv<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 at childrensnational.org<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: igstk-users-bounces at public.kitware.com on behalf of Sean Lee<BR>
Sent: Fri 12/21/2012 10:04 AM<BR>
To: Yaniv, Ziv<BR>
Cc: igstk-users at public.kitware.com<BR>
Subject: Re: [IGSTK-Users] pure virtual function in<BR>
<BR>
<BR>
<BR>
Thanks Again for your reply.<BR>
Another solution could be changing those to pure virtual functions in =
head file, as followings,<BR>
&nbsp; virtual void InitializeTrackingAndCalibration()=3D0;&nbsp; =
virtual void SaveCalibration()=3D0;<BR>
Which way is better?<BR>
SeanSubject: RE: [IGSTK-Users] pure virtual function in<BR>
Date: Fri, 21 Dec 2012 09:35:01 -0500<BR>
From: ZYaniv at childrensnational.org<BR>
To: kevinseanlee at live.com<BR>
CC: igstk-users at public.kitware.com<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
RE: [IGSTK-Users] pure virtual function in<BR>
<BR>
<BR>
<BR>
<BR>
Hi Sean,<BR>
<BR>
<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>
<BR>
<BR>
void =
PivotCalibrationFLTKWidgetExampleUI::InitializeTrackingAndCalibration() =
{<BR>
<BR>
}<BR>
<BR>
<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>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; regards<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Ziv<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
--<BR>
<BR>
Ziv Yaniv, Ph.D.,<BR>
<BR>
Principal Investigator,<BR>
<BR>
The Sheikh Zayed Institute for Pediatric Surgical Innovation<BR>
<BR>
Children's National Medical Center<BR>
<BR>
6th Floor Main Hospital, Room M7740<BR>
<BR>
111 Michigan Ave., N.W<BR>
<BR>
Washington, D.C 20010<BR>
<BR>
Phone: 202-476-1288<BR>
<BR>
email: zyaniv at childrensnational.org<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
<BR>
From: igstk-users-bounces at public.kitware.com on behalf of Sean Lee<BR>
<BR>
Sent: Fri 12/21/2012 8:29 AM<BR>
<BR>
To: ozgur_guler at gmx.at<BR>
<BR>
Cc: igstk-users at public.kitware.com<BR>
<BR>
Subject: Re: [IGSTK-Users] pure virtual function in<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Thanks, Ozgur.<BR>
<BR>
It was fltk-1.3.2. But how do I fix it? Can I keep this version and fix =
the problem?<BR>
<BR>
Sean<BR>
<BR>
<BR>
<BR>
Date: Fri, 21 Dec 2012 07:56:08 -0500<BR>
<BR>
Subject: Re: [IGSTK-Users] pure virtual function in<BR>
<BR>
From: ozgur_guler at gmx.at<BR>
<BR>
To: kevinseanlee at live.com<BR>
<BR>
CC: igstk-users at public.kitware.com<BR>
<BR>
<BR>
<BR>
Hi Sean,<BR>
<BR>
<BR>
<BR>
which FLTK version do you use?<BR>
<BR>
<BR>
<BR>
IGSTK is compatible with FLTK versions 1.1.X<BR>
<BR>
Best,<BR>
<BR>
<BR>
<BR>
Ozgur<BR>
<BR>
On Dec 20, 2012 10:19 PM, &quot;Sean Lee&quot; =
&lt;kevinseanlee at live.com&gt; wrote:<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
I am getting this link error when I building the calibration =
example.<BR>
<BR>
1&gt;------ Build started: Project: ZERO_CHECK, Configuration: Debug =
Win32 ------2&gt;------ Build started: Project: =
PivotCalibrationFLTKWidgetExample, Configuration: Debug Win32 ------<BR>
<BR>
2&gt;PivotCalibrationFLTKWidgetExampleUI.obj : error LNK2001: unresolved =
external symbol &quot;public: virtual void __thiscall =
PivotCalibrationFLTKWidgetExampleUI::InitializeTrackingAndCalibration(voi=
d)&quot; =
(?InitializeTrackingAndCalibration at PivotCalibrationFLTKWidgetExampleUI@@U=
AEXXZ)<BR>
<BR>
2&gt;PivotCalibrationFLTKWidgetExampleUI.obj : error LNK2001: unresolved =
external symbol &quot;public: virtual void __thiscall =
PivotCalibrationFLTKWidgetExampleUI::SaveCalibration(void)&quot; =
(?SaveCalibration at PivotCalibrationFLTKWidgetExampleUI@@UAEXXZ)<BR>
<BR>
2&gt;C:\OpensourceBinary\IGSTK2\bin\Debug\PivotCalibrationFLTKWidgetExamp=
le.exe : fatal error LNK1120: 2 unresolved =
externals=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Build: 1 succeeded, 1 failed, 4 =
up-to-date, 0 skipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>
<BR>
<BR>
<BR>
But suppose that those two functions are pure virtual functions and =
would be overridden in&nbsp; PivotCalibrationFLTKWidgetExample.<BR>
<BR>
<BR>
<BR>
Any ideas what are happening? Thanks.<BR>
<BR>
Sean&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
<BR>
<BR>
<BR>
Powered by www.kitware.com<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Visit other Kitware open-source projects at <A =
HREF=3D"http://www.kitware.com/opensource/opensource.html">http://www.kit=
ware.com/opensource/opensource.html</A><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<BR>
<BR>
<BR>
<A =
HREF=3D"http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users">h=
ttp://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</A><BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01CDDFA8.A42E040A--


More information about the IGSTK-Users mailing list