<p>I get the following error when building the insightapplication-2.4.0<br>When it comes to the morphogenesis...it fails...due to the clock() function.<br>Anyone can help? Thanks a lot!!</p>
<p>Build : warning : failed to (or don't know how to) build 'D:\Research\ITK\InsightApplications-2.4.0\bin\Morphogenesis\fluid'<br>Compiling...<br>CellsViewerBase.cxx<br>D:\Research\ITK\InsightApplications-2.4.0\src\Morphogenesis\CellsViewerBase.h
(118) : warning C4002: too many actual parameters for macro 'GetCurrentTime'<br>D:\Research\ITK\InsightApplications-2.4.0\src\Morphogenesis\CellsViewerBase.cxx(196) : error C2065: 'clock' : undeclared identifier<br>D:\Research\ITK\InsightApplications-
2.4.0\src\Morphogenesis\CellsViewerBase.cxx(379) : warning C4002: too many actual parameters for macro 'GetCurrentTime'</p>
<p>&nbsp;&nbsp;Error due to the function clock() shown below; &nbsp;<br>Please help!</p>
<p><br>/**<br>&nbsp;*&nbsp;&nbsp;&nbsp; Initiate the execution of the simulation<br>&nbsp;*/ <br>void<br>CellsViewerBase<br>::Run(void)<br>{<br>&nbsp; m_Stop = false;<br>&nbsp; if( !m_StartTime ) <br>&nbsp; { <br>&nbsp;&nbsp; m_StartTime = clock();<br>&nbsp; }<br>&nbsp; while( !m_Stop )
<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; m_Cells-&gt;AdvanceTimeStep();<br>&nbsp;&nbsp;&nbsp; Fl::check();<br>&nbsp;&nbsp;&nbsp; }<br>}</p>