Forgive me. I have not read your message with attention. I thought you had a Fortran program. CMake should not be looking for Fortran.... weird... does your code have any dependency with Fortran libraries?
Just a tip: you can track down the error reported by CMake by putting message(something to show) in your CMakeFortranInformation.cmake. Maybe it could help you in finding the problem []'s Renato Quoting Mathieu Malaterre <[email protected]>: > My project is: project(foo C CXX) I do not see why it should load any > fortran thingy at any point in time... > > And yes I configured using -G "NMake Makefiles" > > thx > > On Mon, Jun 29, 2009 at 3:28 PM, Renato Elias<[email protected]> wrote: > > > > My guess is that Intel Fortran compiler does not support integration with > > free Visual Studio versions. Have you tried to use NMake? > > > > cheers > > > > Renato. > > > > > > On Mon, Jun 29, 2009 at 7:45 AM, Mathieu Malaterre > > <[email protected]> wrote: > >> > >> Hi there, > >> > >> I am trying to compile a c/c++ project using the free VC toolkit > >> 2003 and I am getting an error about the fortran compiler being not > >> found: > >> > >> -- Detecting C compiler ABI info - done > >> -- Using FREE VC TOOLS, NO DEBUG available > >> CMake Error at C:/Program Files/CMake > >> 2.6/share/cmake-2.6/Modules/CMakeFortranInformation.cmake:7 > >> (GET_FILENAME_COMPONENT): > >> get_filename_component called with incorrect number of arguments > >> Call Stack (most recent call first): > >> CMakeLists.txt:1 (PROJECT) > >> > >> > >> I solved it using: > >> $ cat CMakeFortranInformation.cmake > >> ... > >> IF(CMAKE_Fortran_COMPILER) > >> GET_FILENAME_COMPONENT(CMAKE_BASE_NAME ${CMAKE_Fortran_COMPILER} NAME_WE) > >> ENDIF(CMAKE_Fortran_COMPILER) > >> ... > >> > >> Let me know if I should report a bug. > >> > >> Thx > >> -- > >> Mathieu > >> _______________________________________________ > >> 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 > > > > > > > > -- > > Renato N. Elias > > =================================== > > High Performance Computing Center (NACAD) > > Federal University of Rio de Janeiro (UFRJ) > > Rio de Janeiro, Brazil > > > > > > > > -- > Mathieu > _______________________________________________ > 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 > _______________________________________________ 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
