[Insight-users] problems on building the insight-application 2.4.0

ask ITK askitk at gmail.com
Thu Jan 19 23:21:02 EST 2006


I get the following error when building the insightapplication-2.4.0
When it comes to the morphogenesis...it fails...due to the clock() function.
Anyone can help? Thanks a lot!!

Build : warning : failed to (or don't know how to) build
'D:\Research\ITK\InsightApplications-2.4.0\bin\Morphogenesis\fluid'
Compiling...
CellsViewerBase.cxx
D:\Research\ITK\InsightApplications-
2.4.0\src\Morphogenesis\CellsViewerBase.h(118) : warning C4002: too many
actual parameters for macro 'GetCurrentTime'
D:\Research\ITK\InsightApplications-
2.4.0\src\Morphogenesis\CellsViewerBase.cxx(196) : error C2065: 'clock' :
undeclared identifier
D:\Research\ITK\InsightApplications-
2.4.0\src\Morphogenesis\CellsViewerBase.cxx(379) : warning C4002: too many
actual parameters for macro 'GetCurrentTime'

  Error due to the function clock() shown below;
Please help!


/**
 *    Initiate the execution of the simulation
 */
void
CellsViewerBase
::Run(void)
{
  m_Stop = false;
  if( !m_StartTime )
  {
   m_StartTime = clock();
  }
  while( !m_Stop )
    {
    m_Cells->AdvanceTimeStep();
    Fl::check();
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060120/768980b2/attachment.html


More information about the Insight-users mailing list