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
Dear all,
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.
The application requires following external dependencies with versions
mentioned or more advanced versions:
- CMake-2.6
On 11.01.12 11:55:32, Kedar Moharana wrote:
Dear all,
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.
The application requires following external dependencies with versions
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
Hello Kedar,
can you start the compiler from a command prompt
(DOS-box)?
That is: does the command gcc work?
If not, then you will have to add the location of the
compiler to your path:
path=c:\MinGW\bin;%PATH%
This, however, should have been taken care of by the
installation procedure.
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
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