<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>check the line 279 on itkSPSAOptimizer.cxx(279). Replace the arguments of
pow function by casting the types to the one of the overload conversions.eg.
pow(mval, powval)if mval is double try this-> pow(mval, (double) powval)or
replace the casting type according to your mval type.</DIV>
<DIV> </DIV>
<DIV>For the second part search for fstream.h your and if it exists
explicitly show the location of the file to your project. </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Ugur</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hacihaliloglu@gmail.com href="mailto:hacihaliloglu@gmail.com">ilker
hacıhaliloğlu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=insight-users@itk.org
href="mailto:insight-users@itk.org">insight-users@itk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, April 16, 2006 5:37
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Insight-users] SPSA optimizer
based registration</DIV>
<DIV><BR></DIV>Hi all<BR><BR>i am trying to use the SPSA optimizer based
registration algorithm. <BR>I have dowloaded the folder from the site given
below. But after I built it with Cmake I am getting an error like
<BR><BR><BR>c:\insight
toolkit\programs\vesela_ilker\itkSPSAOptimizer.cxx(279): error C2666: 'pow'
: 7 overloads have similar conversions<BR>c:\insight
toolkit\programs\vesela_ilker\includes.h(15): fatal error C1083: Cannot open
include file: 'fstream.h': No such file or directory<BR><BR><BR>Can somone
help me out with this ...I am using microsoft visual <A
href="http://studio.net">studio.net</A> 2003 and itk 2.2 <BR><BR><PRE><I><A href="http://euterpe.tele.ucl.ac.be/Waleo2/vesale/"><SPAN style="FONT-STYLE: italic">WEB page: </SPAN>http://euterpe.tele.ucl.ac.be/Waleo2/vesale/</A><BR><BR><BR></I></PRE><BR
clear=all><BR>--
<BR>------------------------------------------------------------------<BR><BR>'.....ich
möchte mir eine ader öffnen, die mir die ewige freiheit
schaffte....'<BR><BR>--------------------------------------------------------------------
<P>
<HR>
<P></P>_______________________________________________<BR>Insight-users
mailing
list<BR>Insight-users@itk.org<BR>http://www.itk.org/mailman/listinfo/insight-users<BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>