I am using the Visual Studio 8 2005 generator with cmake and intel fortran
compiler.

I load the solution in Visual studio and when I compile I get the following
error

 

Building Fortran object test.obj

C:\Users\Alin M Elena\testFortran\test.f90(2) : Error: Error in opening the
compiled module file.  Check INCLUDE paths.   [M_CONSTANTS]

use m_constants

----^

C:\Users\Alin M Elena\testFortran\test.f90(4) : Error: This name does not
have a type, and must have an explicit type.   [ONE]

print *,one

--------^

compilation aborted for C:\Users\Alin M Elena\testFortran\test.f90 (code 1)

Project : error PRJ0019: A tool returned an error code from "Building
Fortran object test.obj"

 

The project compiles without any problems when I use the nmake Makefile
generator.

The files for the project are here

http://www.cmake.org/pipermail/cmake/2007-December/018204.html

 

Alin

 

____________________________________________________________________

"...if the universities will not study useless subjects, who will?"

                           G. F. Fitzgerald, Nature, 45/46, 392 (1892)

______________________________________________________________________

Mr. Alin M. ELENA

Atomistic Simulation Centre

School of Mathematics and Physics

Queen's University Belfast

Office: +44 (0)28 9097 1428

Fax: +44 (0)28 9097 5359

http://titus.phy.qub.ac.uk/group/Alin/

[EMAIL PROTECTED]

[EMAIL PROTECTED]

______________________________________________________________________

 

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to