Re: [CMake] What activates the fortran module?

2010-01-25 Thread Bill Hoffman

John Drescher wrote:

I am testing running cmake to generate Visual Studio 2005 projects
under wine and things are going good. I have built 2 projects without
any problems then the third project had the following error:

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeFortranInformation.cmake:25
(GET_FILENAME_COMPONENT):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:1 (PROJECT)

this error went away after a few tries and I was able to build the 3rd
project however I now have this on the 4th project. The thing is I
have no fortran code at all. I suspect that the problem may be due to
environment variables being carried over from the linux system to
wine.



You should try cmake --trace and see what file is trying to activate 
Fortran.


-Bill

--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] What activates the fortran module?

2010-01-24 Thread John Drescher
I am testing running cmake to generate Visual Studio 2005 projects
under wine and things are going good. I have built 2 projects without
any problems then the third project had the following error:

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeFortranInformation.cmake:25
(GET_FILENAME_COMPONENT):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:1 (PROJECT)

this error went away after a few tries and I was able to build the 3rd
project however I now have this on the 4th project. The thing is I
have no fortran code at all. I suspect that the problem may be due to
environment variables being carried over from the linux system to
wine.

Thanks in advance,
John M. Drescher
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake