Re: [CMake] Visual Studio 2012 Express for WD and cmake 2.8.9

2012-09-20 Thread Glenn Coombs
Thanks for that - I will try it again with the 2.8.10 release candidate.

--
Glenn


On 18 September 2012 22:17, David Cole david.c...@kitware.com wrote:

 On Mon, Sep 17, 2012 at 1:02 PM, Glenn Coombs glenn.coo...@gmail.comwrote:

 Hi,

 I just installed the Visual Studio 2012 Express edition for Windows
 Desktop and cmake 2.8.9 is having some issues with it.  Initially when I
 ran the cmake configure step it failed to find the devenv or msbuild
 program:

 CMake was unable to find a build program corresponding to Visual Studio
 11. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different
 build tool.

 I then edited the CMakeVS11FindMake.cmake file to tell it to use the same
 MSBuild that the VS2012 command prompt uses
 (C:/Windows/Microsoft.NET/Framework/v4.0.30319):

 IF(NOT CMAKE_CROSSCOMPILING)
   FIND_PROGRAM(CMAKE_MAKE_PROGRAM
 NAMES MSBuild
 HINTS

 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir]

 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WDExpress\\11.0\\Setup\\VS;ProductDir]

 $ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR
 Version]/

 c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR
 Version]/

 $ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0;CLR
 Version]/
 C:/Windows/Microsoft.NET/Framework/v4.0.30319
 )
 ENDIF()

 and that gets me a bit further.  The error message is now:

 Check for working C compiler using: Visual Studio 11

 Check for working C compiler using: Visual Studio 11 -- works

 Detecting C compiler ABI info

 CMake Error at C:/Program Files (x86)/CMake
 2.8.9/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31
 (TRY_COMPILE):

 Cannot copy output executable

 ''

 to destination specified by COPY_FILE:


 'C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeDetermineCompilerABI_C.bin'

 Unable to find the executable at any of:


 C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/cmTryCompileExec66551527.exe


 C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec66551527.exe


 C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Development/cmTryCompileExec66551527.exe

 Call Stack (most recent call first):

 C:/Program Files (x86)/CMake
 2.8.9/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
 (CMAKE_DETERMINE_COMPILER_ABI)

 CMakeLists.txt:3 (project)

 Is it possible to hack an existing cmake 2.8.9 install to work with
 VS2012 Express or am I going to have to wait for cmake 2.8.10 ?

 --
 Glenn


 --

 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



 You will need a new build of CMake to fix this problem.

 Brad just merged some changes to our 'next' branch today to address this
 issue.

 If you can build CMake from source, you can try it out right now if you
 checkout the 'next' branch and build it.

 If not, you could wait till tomorrow morning, and there will hopefully be
 a nightly build available that you can download and try.

 Or, if it's not urgent, and you can wait till next week: we have
 tentatively scheduled our first release candidate for CMake 2.8.10 for next
 Wednesday, 9/26/2012.


 HTH,
 David


--

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

Re: [CMake] Visual Studio 2012 Express for WD and cmake 2.8.9

2012-09-19 Thread Bogdan Cristea
On Wednesday 19 September 2012 08:56:02 you wrote:
 Premium and Express are two very different beasts.

Indeed, just learned that: I have used cmake 2.8.8 and it detects VS 2012 
ultimate, while cmake 2.8.9 does not detect VS 2012 Express for Win8.

Are there any plans to support VS Express 2012 ?

regards
-- 
Bogdan
--

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


Re: [CMake] Visual Studio 2012 Express for WD and cmake 2.8.9

2012-09-19 Thread David Cole
On Wed, Sep 19, 2012 at 1:48 PM, Bogdan Cristea crist...@gmail.com wrote:

 On Wednesday 19 September 2012 08:56:02 you wrote:
  Premium and Express are two very different beasts.

 Indeed, just learned that: I have used cmake 2.8.8 and it detects VS 2012
 ultimate, while cmake 2.8.9 does not detect VS 2012 Express for Win8.

 Are there any plans to support VS Express 2012 ?

 regards
 --
 Bogdan



Yes, of course.

Please see my email from yesterday:
http://www.cmake.org/pipermail/cmake/2012-September/052053.html
--

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

Re: [CMake] Visual Studio 2012 Express for WD and cmake 2.8.9

2012-09-18 Thread David Cole
On Mon, Sep 17, 2012 at 1:02 PM, Glenn Coombs glenn.coo...@gmail.comwrote:

 Hi,

 I just installed the Visual Studio 2012 Express edition for Windows
 Desktop and cmake 2.8.9 is having some issues with it.  Initially when I
 ran the cmake configure step it failed to find the devenv or msbuild
 program:

 CMake was unable to find a build program corresponding to Visual Studio
 11. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different
 build tool.

 I then edited the CMakeVS11FindMake.cmake file to tell it to use the same
 MSBuild that the VS2012 command prompt uses
 (C:/Windows/Microsoft.NET/Framework/v4.0.30319):

 IF(NOT CMAKE_CROSSCOMPILING)
   FIND_PROGRAM(CMAKE_MAKE_PROGRAM
 NAMES MSBuild
 HINTS

 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir]

 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WDExpress\\11.0\\Setup\\VS;ProductDir]

 $ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR
 Version]/

 c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR
 Version]/

 $ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0;CLR
 Version]/
 C:/Windows/Microsoft.NET/Framework/v4.0.30319
 )
 ENDIF()

 and that gets me a bit further.  The error message is now:

 Check for working C compiler using: Visual Studio 11

 Check for working C compiler using: Visual Studio 11 -- works

 Detecting C compiler ABI info

 CMake Error at C:/Program Files (x86)/CMake
 2.8.9/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31
 (TRY_COMPILE):

 Cannot copy output executable

 ''

 to destination specified by COPY_FILE:


 'C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeDetermineCompilerABI_C.bin'

 Unable to find the executable at any of:


 C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/cmTryCompileExec66551527.exe


 C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec66551527.exe


 C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Development/cmTryCompileExec66551527.exe

 Call Stack (most recent call first):

 C:/Program Files (x86)/CMake
 2.8.9/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
 (CMAKE_DETERMINE_COMPILER_ABI)

 CMakeLists.txt:3 (project)

 Is it possible to hack an existing cmake 2.8.9 install to work with VS2012
 Express or am I going to have to wait for cmake 2.8.10 ?

 --
 Glenn


 --

 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



You will need a new build of CMake to fix this problem.

Brad just merged some changes to our 'next' branch today to address this
issue.

If you can build CMake from source, you can try it out right now if you
checkout the 'next' branch and build it.

If not, you could wait till tomorrow morning, and there will hopefully be a
nightly build available that you can download and try.

Or, if it's not urgent, and you can wait till next week: we have
tentatively scheduled our first release candidate for CMake 2.8.10 for next
Wednesday, 9/26/2012.


HTH,
David
--

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] Visual Studio 2012 Express for WD and cmake 2.8.9

2012-09-17 Thread Glenn Coombs
Hi,

I just installed the Visual Studio 2012 Express edition for Windows Desktop
and cmake 2.8.9 is having some issues with it.  Initially when I ran the
cmake configure step it failed to find the devenv or msbuild program:

CMake was unable to find a build program corresponding to Visual Studio
11. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different
build tool.

I then edited the CMakeVS11FindMake.cmake file to tell it to use the same
MSBuild that the VS2012 command prompt uses
(C:/Windows/Microsoft.NET/Framework/v4.0.30319):

IF(NOT CMAKE_CROSSCOMPILING)
  FIND_PROGRAM(CMAKE_MAKE_PROGRAM
NAMES MSBuild
HINTS

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir]

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WDExpress\\11.0\\Setup\\VS;ProductDir]

$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR
Version]/

c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR
Version]/

$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0;CLR
Version]/
C:/Windows/Microsoft.NET/Framework/v4.0.30319
)
ENDIF()

and that gets me a bit further.  The error message is now:

Check for working C compiler using: Visual Studio 11

Check for working C compiler using: Visual Studio 11 -- works

Detecting C compiler ABI info

CMake Error at C:/Program Files (x86)/CMake
2.8.9/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31
(TRY_COMPILE):

Cannot copy output executable

''

to destination specified by COPY_FILE:

'C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeDetermineCompilerABI_C.bin'

Unable to find the executable at any of:

C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/cmTryCompileExec66551527.exe

C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec66551527.exe

C:/data/perforceCheckouts/sim/vxe/diamond/DEV/glenn.coombs/cmake/CMakeFiles/CMakeTmp/Development/cmTryCompileExec66551527.exe

Call Stack (most recent call first):

C:/Program Files (x86)/CMake
2.8.9/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)

CMakeLists.txt:3 (project)

Is it possible to hack an existing cmake 2.8.9 install to work with VS2012
Express or am I going to have to wait for cmake 2.8.10 ?

--
Glenn
--

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