Dear all,<div>  I am trying to build from a source code using CMAKE on Windows 7. I have no prior experience in building from source code, so I need your help in this regard.</div><div><br></div><div>The application requires following external dependencies with versions mentioned or more advanced versions: <ul>

  <li>CMake-2.6 (build system)</li>
  <li>Qt-4.4 (UI framework)</li>
  <li>gcc-4.3 (C, C++ and Fortran compilers)</li></ul><div>So I installed CMake 2.8.7 in C:\Program files\CMake 2.8 directory, Qt-library-4.8.0 in the C:\Qt directory. For gcc-4.3, when I googled, I found I can install MinGW and so I installed the latest version in C:\MinGW directory.</div>
<div><br></div><div>When I am trying to build with CMAKE command, I am getting following error message:</div><div>________________________________</div><div><br></div><div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
The C compiler identification is unknown</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">The CXX compiler identification is unknown</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">The Fortran compiler identification is unknown</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Check for working C compiler: bcc32</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error: your C compiler: &quot;bcc32&quot; was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Check for working C compiler: bcc32 -- broken</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  The C compiler &quot;bcc32&quot; is not able to compile a simple test program.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  It fails with the following output:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">   </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  CMake will not be able to correctly generate this project.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">Call Stack (most recent call first):</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  CMakeLists.txt:2 (project)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error: your C compiler: &quot;bcc32&quot; was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error: your CXX compiler: &quot;bcc32&quot; was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error: your Fortran compiler: &quot;CMAKE_Fortran_COMPILER-NOTFOUND&quot; was not found.   Please set CMAKE_Fortran_COMPILER to a valid compiler path or name.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Configuring incomplete, errors occurred!</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">_________________________________</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">I am using the Windows native command prompt.</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
Can anyone tell me why these compilers are not detected? If I have to give some path, then which files do I have to edit?</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
Thanks in advance for your suggestion.</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Best wishes</p></div>
<div><br></div>-- <br>******************************************************************************************<br>Kedar Moharana<br>Research Scholar<br>Laboratory for Protein Biochemistry &amp; Biomolecular Engineering (LProBE)<div>
Ghent University, </div><div>9000 Ghent, Belgium</div><div>******************************************************************************************</div><br>
</div>