All pastes #481205 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-10 18:17 UTC
rendered paste body
Determining if the C compiler works failed with the following output:


Microsoft (R) Visual Studio Version 8.0.50727.762.

Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32 ------

1>Compiling...

1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86

1>Copyright (C) Microsoft Corporation.  All rights reserved.

1>cl /Od /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\" /Fd"Debug/cmTryCompileExec.pdb" /W3 /c /Zi /TC    /DWIN32 /D_WINDOWS  /Zm1000   /D_DEBUG         -DCMAKE_INTDIR=\"Debug\"

1>   ".\testCCompiler.c"

1>testCCompiler.c

1>Compiling manifest to resources...

1>Linking...

1>Microsoft (R) Incremental Linker Version 8.00.50727.762

1>Copyright (C) Microsoft Corporation.  All rights reserved.

1>"/OUT:Debug\cmTryCompileExec.exe" /VERSION:0.0 /INCREMENTAL /MANIFEST "/MANIFESTFILE:cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest" /DEBUG "/PDB:Debug\cmTryCompileExec.pdb" /SUBSYSTEM:CONSOLE /STACK:10000000 /machine:I386 /debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib 

1>".\cmtrycompileexec.dir\debug\testCCompiler.obj" 

1>".\cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res" 

1>testCCompiler.obj : error LNK2019: unresolved external symbol __imp__printf referenced in function _main

1>testCCompiler.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _main

1>testCCompiler.obj : error LNK2001: unresolved external symbol __RTC_Shutdown

1>testCCompiler.obj : error LNK2001: unresolved external symbol __RTC_InitBase

1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup

1>Debug\cmTryCompileExec.exe : fatal error LNK1120: 5 unresolved externals

1>Build log was saved at "file://c:\svn\windbus\winDBus\windbus-build\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"

1>cmTryCompileExec - 6 error(s), 0 warning(s)

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