[CMake] C/CXX/Fortran Compiler not found.

Arjen Markus arjen.markus at deltares.nl
Thu Jan 12 02:49:50 EST 2012


Hi Kedar,

strange, I use both the gcc/gfortran combination and the MSVC/Ifort 
combination with CMake and I have no problems such as you describe.
Well, at least it is working for you now.

Regards,

Arjen

On 2012-01-11 17:06, Kedar Moharana wrote:
> Dear Arjen,
>    Just by googling I found a solution on internet which suggested to 
> install VB and Intel Fortran. I tried and now cmake is detecting the C, 
> CXX and Fortran compiler.
> Thanks for the suggestion anyway.
> regards,
> Kedar
> 
> 
> On Wed, Jan 11, 2012 at 1:24 PM, Arjen Markus <arjen.markus at deltares.nl 
> <mailto:arjen.markus at deltares.nl>> wrote:
> 
>     Hi Kedar,
> 
>     if CMake can find the Fortran compiler and the command
>     "gcc" works from that same environment/DOS-box, then I
>     see no particular reason why CMake should not be able to
>     find it. Are the messages still the same (except for
>     the Fortran part)?
> 
>     Note that you should start in a completely clean directory,
>     as CMake keeps track of previous builds and build attempts
>     via all kinds of files in that directory. They may interfere
>     with the proper operation.
> 
>     Regards,
> 
>     Arjen
> 
>     On Wed, 11 Jan 2012 12:28:25 +0100
>      Kedar Moharana <kedar.moharana at ugent.be
>     <mailto:kedar.moharana at ugent.be>> wrote:
> 
>         Dear Arjen,
>          Thank you very much for the reply.
>         Indeed, gcc command is not working on windows command prompt.
> 
>         As you mentioned, I tried to set the path with
>         "path=c:\MinGW\bin;%PATH%"
>         command.
>         Now gcc is working.
> 
>         when I tried to build with CMAKE, it can detect the Fortran
>         compiler; but C
>         and CXX is not detected yet.
> 
> 
> 
> 
>     DISCLAIMER: This message is intended exclusively for the
>     addressee(s) and may contain confidential and privileged
>     information. If you are not the intended recipient please notify the
>     sender immediately and destroy this message. Unauthorized use,
>     disclosure or copying of this message is strictly prohibited.
>     The foundation 'Stichting Deltares', which has its seat at Delft,
>     The Netherlands, Commercial Registration Number 41146461, is not
>     liable in any way whatsoever for consequences and/or damages
>     resulting from the improper, incomplete and untimely dispatch,
>     receipt and/or content of this e-mail.
> 
> 
> 
> 
> 
> 
> 
> -- 
> ******************************************************************************************
> Kedar Moharana
> Research Scholar
> Laboratory for Protein Biochemistry & Biomolecular Engineering (LProBE)
> Ghent University, 
> 9000 Ghent, Belgium
> ******************************************************************************************
> 

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.






More information about the CMake mailing list