Windows XP Professional SP3에 Windows SDK 7.1을 설치했습니다. 이제 설치가 정상적으로 진행되고 있는지, 그리고 이미 문제가 있는지 확인하고 있습니다. cl.exe는 Windows SDK 7.1 명령 프롬프트에서 간단한 hello world C++ 코드를 컴파일 할 수 없습니다.Windows SDK 7.1 명령 프롬프트 LNK1104
Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.1\.
Targeting Windows XP x86 Debug
C:\Program Files\Microsoft SDKs\Windows\v7.1>cd /d "D:\My Documents\Sources"
D:\My Documents\Sources>cl /EHsc /FeD:\Target\hello hello.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
hello.cpp
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1104: cannot open file 'C:\Documents'
나는 D에 hello.cpp
를 이동하려고 : \와 같은 결과로 결국 다음 명령 프롬프트 출력의 스냅 샷입니다. 반면에 CSC.exe는 동일한 명령 프롬프트에서 hello world C# 코드를 문제없이 컴파일했습니다. 지금 어떻게해야합니까?
Visual Studio가 설치되어 있지 않습니다. Windows SDK를 설치하여 Qt Creator에서 VS2010 용 Qt Framework 4.8.0을 사용할 수 있고 SharpDevelop에서 C#을 조금 배울 수 있습니다.