Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Bill Hoffman
On 7/15/2010 12:07 PM, Verweij, Arjen wrote: Hi Bill, I don't think we ended up with those flags after installing the intel compiler for the dashboard we run at Kitware. Are you sure that came from the installer? Not really. I wasn't around when that system was set up. I tried from cmd.exe,

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Verweij, Arjen
Hi Bill, >I don't think we ended up with those flags after installing the intel >compiler for the dashboard we run at Kitware. Are you sure that came >from the installer? Not really. I wasn't around when that system was set up. I tried from cmd.exe, MKS ksh and cygwin shell to get something wit

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Bill Hoffman
On 7/15/2010 4:19 AM, Verweij, Arjen wrote: Spot on Bill: C:\Users\madymo\build\CMakeFiles\CMakeTmp>cat CMakeLists.txt cmake_minimum_required(VERSION 2.8) PROJECT(CMAKE_TRY_COMPILE Fortran) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(CMAKE_Fortran_FLAGS " /w /I:"C:\Program Files\VNI\CTT5.0\include\IA32" /

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Verweij, Arjen
Spot on Bill: C:\Users\madymo\build\CMakeFiles\CMakeTmp>cat CMakeLists.txt cmake_minimum_required(VERSION 2.8) PROJECT(CMAKE_TRY_COMPILE Fortran) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(CMAKE_Fortran_FLAGS " /w /I:"C:\Program Files\VNI\CTT5.0\include\IA32" /fpe:3 /nologo ${COMPILE_DEFINITIONS}") INCL

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Bill Hoffman
On 7/14/2010 12:46 PM, John Drescher wrote: Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what you expect on a 64-bit computer. Since the CMake binary is by default 32-bit, you need some logic to make sure you're looking where you think you're looking. I had that cover

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread John Drescher
> Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what > you expect on a 64-bit computer. Since the CMake binary is by default > 32-bit, you need some logic to make sure you're looking where you think > you're looking. > I had that covered. I just shortened the example not t

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Ryan Pavlik
Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what you expect on a 64-bit computer. Since the CMake binary is by default 32-bit, you need some logic to make sure you're looking where you think you're looking. See also: http://public.kitware.com/Bug/view.php?id=9992 - relat

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Eric Noulard
2010/7/14 John Drescher : > On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjen > wrote: >> Hi, >> >>> >>>You seem to have a path using \ instead of / >>> >> >> Isn't that to be expected of a PATH setting on a Windows computer? >> Anyway, the path to the Visual Studio compiler is of the same format

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Bill Hoffman
On 7/14/2010 11:23 AM, John Drescher wrote: On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjen wrote: Hi, You seem to have a path using \ instead of / Isn't that to be expected of a PATH setting on a Windows computer? Anyway, the path to the Visual Studio compiler is of the same format and

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread John Drescher
On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjen wrote: > Hi, > >> >>You seem to have a path using \ instead of / >> > > Isn't that to be expected of a PATH setting on a Windows computer? > Anyway, the path to the Visual Studio compiler is of the same format and > cmake deals with it just fine. >

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Verweij, Arjen
Hi, >Likely someone forgot to use a VERBATIM somewhere. I guess that would be in the cmake sources then, since my CMakeLists.txt is quite unspectacular. :) Arjen ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.k

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Verweij, Arjen
Hi, > >You seem to have a path using \ instead of / > Isn't that to be expected of a PATH setting on a Windows computer? Anyway, the path to the Visual Studio compiler is of the same format and cmake deals with it just fine. Regards, Arjen ___ Powered

[CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Andreas Mohr
On Wed, Jul 14, 2010 at 10:16:36AM -0400, cmake-requ...@cmake.org wrote: > CMake Error at CMakeLists.txt:4 (SET): > Syntax error in cmake code at > > S:/mnt/usr3/people/verweija/build/CMakeFiles/CMakeTmp/CMakeLists.txt:4 > > when parsing string > > Files\VNI\CTT5.0\include\IA32" /fpe

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread John Drescher
On Wed, Jul 14, 2010 at 10:16 AM, Verweij, Arjen wrote: > > Hi, > > > > I’m trying a little F90 example on Windows with cmake. Apparently something > is amiss, but I can’t find much on Google about it; at least not about this > particular case. > > > > All I do is cmake ..\f90example and the fol

[CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Verweij, Arjen
Hi, I'm trying a little F90 example on Windows with cmake. Apparently something is amiss, but I can't find much on Google about it; at least not about this particular case. All I do is cmake ..\f90example and the following appears in my terminal: S:\mnt\usr3\people\verweija\build>cmake ..\f90e