Re: [CMake] missing qt on windows

2012-05-15 Thread Sweety Pie
Hey there,
Please try this, it may work

1- Open CMake - cmake-gui (on the Desktop) - if you are using win7 make
sure you open the program in administrator mode - right click on the icon
and click on run as administrator.
2- Click on Add Entry again
   Set name to QT_QMAKE_EXECUTABLE
   Set type to Path
   Set value to C:/Qt/4.8.1/bin/qmake.exe
   Click OK

:)
On 15 May 2012 11:36, Gonzalo Amadio gonzaloama...@gmail.com wrote:

 Hello, I am trying to install MITK on windows 7 64bit.

 It is required to have QT, I downloaded it from
 http://qt.nokia.com/downloads and istalled it.

 I installed the Cmake GUI. And Visual Studio 10 express (in the
 configuration, i choose visual studio 10 compiler).

 I have the following error when trying to Generate.

 Setting build type to 'Debug' as none was specified.
 Check for working C compiler using: Visual Studio 10
 Check for working C compiler using: Visual Studio 10 -- works
 Detecting C compiler ABI info
 Detecting C compiler ABI info - done
 Check for working CXX compiler using: Visual Studio 10
 Check for working CXX compiler using: Visual Studio 10 -- works
 Detecting CXX compiler ABI info
 Detecting CXX compiler ABI info - done
 CMake Error at C:/Program Files (x86)/CMake
 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
 (MESSAGE):
  Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
 QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
 QT_QTCORE_LIBRARY) (Required is at least version 4.6.2)
 Call Stack (most recent call first):
 C:/Program Files (x86)/CMake
 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288
 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake
 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1172
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
 CMakeLists.txt:188 (find_package)
 Configuring incomplete, errors occurred!



 --
 
 Gonzalo Amadio


 --

 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

Re: [CMake] Fwd: Fwd: Help with CMAKE

2012-03-29 Thread Sweety Pie
I have installed the  Windows Platform SDK but the same error shows up:(
I didnt get what do you mean by :  Run CMake with --debug-trycompile

??
Thank you

On 28 March 2012 16:06, Aashish Chaudhary aashish.chaudh...@kitware.comwrote:

 Did not read the entire thread but.. based on your last email..

 I believe this is the page you need to go to:

 http://www.microsoft.com/download/en/default.aspx

 and then search for windows sdk for windows 7 or windows sdk for vista


 On Wed, Mar 28, 2012 at 2:01 AM, Sweety Pie sweetyp198...@gmail.comwrote:


 Any one can advice plz???


 Yes the VC++ runs a simple code perfectly without the CMAKE
 but I don't have the Microsoft Windows SDK   in the start menu and when i
 checked this link


 http://msdn.microsoft.com/en-us/library/windows/desktop/ms759194(v=vs.85).aspx


 it says install the Core SDK which I didn't find there. Any ideas which
 one shall I install??


 On 28 March 2012 01:01, David Cole david.c...@kitware.com wrote:

 In the Start menu, do you have a Microsoft Windows SDK ...?

 If not, install it.

 If so, please verify that you can build a simple hello world command
 line Win32 app WITHOUT CMake before trying to use CMake. CMake needs
 Visual Studio to be able to build a simple app before it can be
 useful.


 On Tue, Mar 27, 2012 at 3:17 PM, Sweety Pie sweetyp198...@gmail.com
 wrote:
  I have installed Cmake 2.8.7 but still the same error occures. How can
 I
  know whether the corresponding Windows Platform
  SDK installed is proper or not?

 
 
 
  On 27 March 2012 15:33, David Cole david.c...@kitware.com wrote:
 
  On Tue, Mar 27, 2012 at 4:37 AM, Sweety Pie sweetyp198...@gmail.com
  wrote:
   The visual studio runs perfectly but the compiler in the Cmake shows
   this
   error:
  
   Check for working C compiler using: Visual Studio 10
  
   Check for working C compiler using: Visual Studio 10 -- broken
  
   CMake Error at C:/Program Files (x86)/CMake
   2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  
   The C compiler cl is not able to compile a simple test program.
  
   It fails with the following output:
  
   Change Dir: C:/Program Files (x86)/CGAL-3.8/CMakeFiles/CMakeTmp
  
   Run Build
   Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
  
   cmTryCompileExec.vcxproj /p:Configuration=Debug
  
   Microsoft (R) Build Engine Version 4.0.30319.1
  
   [Microsoft .NET Framework, Version 4.0.30319.261]
  
   Copyright (C) Microsoft Corporation 2007. All rights reserved.
  
   Build started 3/27/2012 11:04:22 AM.
  
   Project C:\Program Files
  
   (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj on
 node 1
  
   (default targets).
  
   InitializeBuildStatus:
  
   Creating
 cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild
   because AlwaysCreate was specified.
  
   ClCompile:
  
   C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe
 /c /Zi
   /nologo /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
   CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /MDd /GS /fp:precise
 /Zc:wchar_t
   /Zc:forScope /FocmTryCompileExec.dir\Debug\\ /FdC:/Program Files
   (x86)/CGAL-3.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb /Gd
 /TC
   /analyze- /errorReport:queue testCCompiler.c /Zm1000 /GZ
  
   cl : Command line warning D9035: option 'GZ' has been deprecated and
   will
  
   be removed in a future release [C:\Program Files
  
   (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
  
   cl : Command line warning D9036: use 'RTC1' instead of 'GZ'
 [C:\Program
  
   Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
  
   testCCompiler.c
  
   ManifestResourceCompile:
  
   C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe
 /nologo
  
 /focmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res
   cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc
  
   Link:
  
   C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe
   /ERRORREPORT:QUEUE /OUT:C:\Program Files
   (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe
   /VERSION:0.0 /INCREMENTAL /NOLOGO kernel32.lib user32.lib
 gdi32.lib
   winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
   oleaut32.lib
   uuid.lib odbc32.lib odbccp32.lib /MANIFEST
  
  
 /ManifestFile:cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest
   /MANIFESTUAC:level='asInvoker' uiAccess='false' /DEBUG
   /PDB:C:\Program
   Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb
   /SUBSYSTEM:CONSOLE /STACK:1000 /TLBID:1 /DYNAMICBASE /NXCOMPAT
   /IMPLIB:C:/Program Files
   (x86)/CGAL-3.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib
   /MACHINE:X86
   cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res
  
   cmTryCompileExec.dir\Debug\testCCompiler.obj /machine:X86 /debug
  
   LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
 [C:\Program
  
   Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj

Re: [CMake] Fwd: Help with CMAKE

2012-03-27 Thread Sweety Pie
The visual studio runs perfectly but the compiler in the Cmake shows this
error:

Check for working C compiler using: Visual Studio 10

Check for working C compiler using: Visual Studio 10 -- broken

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler cl is not able to compile a simple test program.

 It fails with the following output:

 Change Dir: C:/Program Files (x86)/CGAL-3.8/CMakeFiles/CMakeTmp

  Run Build
Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

cmTryCompileExec.vcxproj /p:Configuration=Debug

 Microsoft (R) Build Engine Version 4.0.30319.1

 [Microsoft .NET Framework, Version 4.0.30319.261]

 Copyright (C) Microsoft Corporation 2007. All rights reserved.

  Build started 3/27/2012 11:04:22 AM.

 Project C:\Program Files

(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj on node 1

(default targets).

 InitializeBuildStatus:

 Creating cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild
because AlwaysCreate was specified.

 ClCompile:

 C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi
/nologo /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t
/Zc:forScope /FocmTryCompileExec.dir\Debug\\ /FdC:/Program Files
(x86)/CGAL-3.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb /Gd /TC
/analyze- /errorReport:queue testCCompiler.c /Zm1000 /GZ

 cl : Command line warning D9035: option 'GZ' has been deprecated and will

be removed in a future release [C:\Program Files

(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

 cl : Command line warning D9036: use 'RTC1' instead of 'GZ' [C:\Program

Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

 testCCompiler.c

 ManifestResourceCompile:

 C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo
/focmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res
cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc

 Link:

 C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe
/ERRORREPORT:QUEUE /OUT:C:\Program Files
(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe
/VERSION:0.0 /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib odbc32.lib odbccp32.lib /MANIFEST
/ManifestFile:cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest
/MANIFESTUAC:level='asInvoker' uiAccess='false' /DEBUG /PDB:C:\Program
Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb
/SUBSYSTEM:CONSOLE /STACK:1000 /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:C:/Program Files
(x86)/CGAL-3.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib /MACHINE:X86
cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res

cmTryCompileExec.dir\Debug\testCCompiler.obj /machine:X86 /debug

 LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' [C:\Program

Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

 Done Building Project C:\Program Files

(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj (default

targets) -- FAILED.

  Build FAILED.

  C:\Program Files

(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj (default

target) (1) -

 (ClCompile target) -

 cl : Command line warning D9035: option 'GZ' has been deprecated and will
be removed in a future release [C:\Program Files
(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

cl : Command line warning D9036: use 'RTC1' instead of 'GZ' [C:\Program
Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

C:\Program Files

(x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj (default

target) (1) -

 (Link target) -

 LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' [C:\Program
Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

  2 Warning(s)

1 Error(s)

  Time Elapsed 00:00:01.62

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:6 (project)

 Configuring incomplete, errors occurred!

On 25 March 2012 00:49, Sweety Pie sweetyp198...@gmail.com wrote:

 I use CMake 2.8.4
 I have both installed but in the config of Cmake I choose this option:
 Visual Studio 10
 What is the windows platform SDK??
 Thank you for helping.

 On 24 March 2012 21:54, David Cole david.c...@kitware.com wrote:

 Can you build a non-cmake-generated hello, world project with VS 10?

 What version of CMake?
 Is it the Express Edition of Visual Studio 10?
 Do you have a Windows Platform SDK installed?


 On Sat, Mar 24, 2012 at 1:55 PM, Sweety Pie sweetyp198...@gmail.com
 wrote:
 
 
  -- Forwarded message --
  From: Sweety Pie sweetyp198...@gmail.com
  Date: 17 March 2012 19:53
  Subject: Help with CMAKE
  To: cmake@cmake.org
 
 
  Hey everyone,
  Am trying to use Cmake with Visual studio 10 to generate

[CMake] Fwd: Help with CMAKE

2012-03-24 Thread Sweety Pie
-- Forwarded message --
From: Sweety Pie sweetyp198...@gmail.com
Date: 17 March 2012 19:53
Subject: Help with CMAKE
To: cmake@cmake.org


Hey everyone,
Am trying to use Cmake with Visual studio 10 to generate some .sln files.
When I press on configure button am getting this error:

CMake Error at C:/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler cl is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/CGAL-3.9/CMakeFiles/CMakeTmp


C:\CGAL-3.9\CMakeFiles\CMakeTmp\testCCompiler.c /Zm1000

1

1 testCCompiler.c

1LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'

== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped


Please help me. :(
--

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] Fwd: Help with CMAKE

2012-03-24 Thread Sweety Pie
I use CMake 2.8.4
I have both installed but in the config of Cmake I choose this option:
Visual Studio 10
What is the windows platform SDK??
Thank you for helping.

On 24 March 2012 21:54, David Cole david.c...@kitware.com wrote:

 Can you build a non-cmake-generated hello, world project with VS 10?

 What version of CMake?
 Is it the Express Edition of Visual Studio 10?
 Do you have a Windows Platform SDK installed?


 On Sat, Mar 24, 2012 at 1:55 PM, Sweety Pie sweetyp198...@gmail.com
 wrote:
 
 
  -- Forwarded message --
  From: Sweety Pie sweetyp198...@gmail.com
  Date: 17 March 2012 19:53
  Subject: Help with CMAKE
  To: cmake@cmake.org
 
 
  Hey everyone,
  Am trying to use Cmake with Visual studio 10 to generate some .sln files.
  When I press on configure button am getting this error:
 
  CMake Error at C:/CMake
  2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
 
  The C compiler cl is not able to compile a simple test program.
 
  It fails with the following output:
 
  Change Dir: C:/CGAL-3.9/CMakeFiles/CMakeTmp
 
 
  C:\CGAL-3.9\CMakeFiles\CMakeTmp\testCCompiler.c /Zm1000
 
  1
 
  1 testCCompiler.c
 
  1LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
 
  == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
 
 
  Please help me. :(
 
 
  --
 
  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