View Single Post
Old 09-28-2012, 10:09 PM   #7
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
You shouldn't waste your time on me

I made a stupid mistake, I added paths to my user account, while the SDK cmd runs as administrator. I added "D:\QtSDK\mingw\bin" to the system path, and I still get an error while running "cmake ." [Should I run that with no target? Does that question even make sense? ] after adding the path to the System path, however, it's probably another mistake of mine. The file C:\Users\andlia\AppData\Local\Temp\nmE9D.tmp did not exist when I tried to retrieve it. I'm on thin ice in Windows, I'm sorry...

Code:
D:\prog\sigil>cmake .
-- Building for: NMake Makefiles
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for CL compiler version
-- Check for CL compiler version - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/amd64/cl.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: D:/prog/sigil/CMakeFiles/CMakeTmp



  Run Build Command:nmake /NOLOGO "cmTryCompileExec2829198104\fast"

        "C:\Program Files (x86)\Microsoft Visual Studio
  10.0\VC\Bin\amd64\nmake.exe" -f
  CMakeFiles\cmTryCompileExec2829198104.dir\build.make /nologo -L
  CMakeFiles\cmTryCompileExec2829198104.dir\build

        "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
  D:\prog\sigil\CMakeFiles\CMakeTmp\CMakeFiles 1

  Building C object
  CMakeFiles/cmTryCompileExec2829198104.dir/testCCompiler.c.obj

        C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe
  @C:\Users\andlia\AppData\Local\Temp\nmD63.tmp

  testCCompiler.c

  Linking C executable cmTryCompileExec2829198104.exe

        "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E vs_link_exe
  C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe /nologo
  @CMakeFiles\cmTryCompileExec2829198104.dir\objects1.rsp
  @C:\Users\andlia\AppData\Local\Temp\nmE9D.tmp

  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
  or corrupt

  LINK Pass 1 failed.  with 2

  NMAKE : fatal error U1077: '"C:\Program Files (x86)\CMake
  2.8\bin\cmake.exe"' : return code '0xffffffff'

  Stop.

  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
  10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'

  Stop.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:12 (project)


-- Configuring incomplete, errors occurred!

D:\prog\sigil>
Man Eating Duck is offline   Reply With Quote