Hi,all:<br><br><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">I am building "Darcy0.1"(</span></font> <a href="http://www.cs.mu.oz.au/~gavinb/download.php?file=darcy-0.1.tar.gz">
http://www.cs.mu.oz.au/~gavinb/download.php?file=darcy-0.1.tar.gz</a> <font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">) now.<br><br>But it has some error as below:<br></span></font>


<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">--------------------Configuration: 
TestRenderMeshSource - Win32 
Release--------------------</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">Compiling...</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">TestRenderMeshSource.cxx</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">D:\darcy01\darcy01\itkSeashellMeshSource.txx(216) 
: error C2065: 'M_PI' : undeclared identifier</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft 
Visual Studio\VC98\INCLUDE\xmemory(61) : while compiling class-template member 
function 'void __thiscall itk::SeashellMeshSource&lt;class 
itk::Mesh&lt;float,3,class 
itk::DefaultStaticMeshTraits&lt;float,3,3,float,float,floa</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">t&gt; &gt; 
&gt;::GenerateData(void)'</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">itkTracer.cxx</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">Generating 
Code...</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">Error executing 
cl.exe.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ALL_BUILD - 1 error(s), 0 
warning(s)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">=================================================================</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">I can't find the define about M_PI , Have anybody can give me some help ?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">My environment is on the win xp and 
VC 6.0.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">And ITK,VTK,FLTK,SOViewer have been 
build with Cmake.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">My CmakeLists.txt as below 
:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">=================================================================</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">PROJECT(Darcy)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">#---------------------------------------------------------------------------</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">FIND_PACKAGE(ITK)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">IF(ITK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp; 
INCLUDE(${ITK_USE_FILE})</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ELSE(ITK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp; MESSAGE(FATAL_ERROR &quot;Cannot build 
without ITK.&nbsp; Please set ITK_DIR.&quot;)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ENDIF(ITK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">FIND_PACKAGE(FLTK)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">IF(FLTK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp; 
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ELSE(FLTK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp; MESSAGE(FATAL_ERROR &quot;Cannot build 
without FLTK.&nbsp; Please set FLTK_DIR.&quot;)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ENDIF(FLTK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">FIND_PACKAGE(VTK)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">IF(VTK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp; INCLUDE 
(${VTK_USE_FILE})</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ELSE(VTK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp; MESSAGE(FATAL_ERROR &quot;Cannot build 
without ITK.&nbsp; Please set VTK_DIR.&quot;)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ENDIF(VTK_FOUND)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"># This should be found as a 
package</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"># --&gt; Change this to point to the 
correct location</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">SET(SOV_SOURCE_DIR 
D:/SOViewer/SOViewer)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">SET(SOV_BINARY_DIR 
${SOV_SOURCE_DIR}/Build)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">INCLUDE(${SOV_SOURCE_DIR}/DartConfig.cmake)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US"># Just so the generated GUI can find 
the Base class</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">INCLUDE_DIRECTORIES(${Darcy_SOURCE_DIR})</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">#---------------------------------------------------------------------------</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ADD_EXECUTABLE(TestTriangleCellWithNormalAndCentroid</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TestTriangleCellWithNormalAndCentroid.cxx)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">TARGET_LINK_LIBRARIES(TestTriangleCellWithNormalAndCentroid</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ITKCommon 
ITKIO)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">#---------------------------------------------------------------------------</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ADD_EXECUTABLE(TestSeashellMeshSource 
TestSeashellMeshSource.cxx itkTracer.cxx)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">TARGET_LINK_LIBRARIES(TestSeashellMeshSource</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ITKCommon 
ITKIO)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">#---------------------------------------------------------------------------</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ADD_EXECUTABLE(TestRenderMeshSource 
TestRenderMeshSource.cxx itkTracer.cxx)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">TARGET_LINK_LIBRARIES(TestRenderMeshSource</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ITKCommon 
ITKIO)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">#---------------------------------------------------------------------------</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">ADD_EXECUTABLE(darcy darcy 
</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DarcyApp 
</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
DarcyBase</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; itkTracer 
)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">TARGET_LINK_LIBRARIES(darcy 
</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ITKCommon ITKIO 
ITKSpatialObject</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SOViewer</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
${GLU_LIBRARY}</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
${GLUT_LIBRARY}</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${FLTK_LIBRARY} 
)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">FLTK_WRAP_UI(darcy 
DarcyGUI.fl)</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">&nbsp;</span></font></p>
<p class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial;" lang="EN-US">#---------------------------------------------------------------------------</span></font></p><br><br><br>