"OPNET 기초다지기"에서 설명하였듯이, 32비트 윈도우에서 Visual Studio .NET 2003을 컴파일러로 사용하기 위한 환경 변수 설정은 다음과 같다.

======================================================================
INCLUDE:
C:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\include;
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include;
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include;
C:\Program Files\Microsoft Visual Studio .NET\SDK\v1.1\include

 

LIB:
C:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\lib;
C:\Program Files\Microsoft Visual Studio .NET\Vc7\lib;
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Lib;
C:\Program Files\Microsoft Visual Studio .NET\SDK\v1.1\Lib

 

PATH:
C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE;
C:\Program Files\Microsoft Visual Studio .NET\VC7\BIN;
C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools;
C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\bin;
C:\Program Files\Microsoft Visual Studio .NET\SDK\v1.1\bin;
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;

 

DevEnvDir:
C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE

 

MSVCDir:
C:\Program Files\Microsoft Visual Studio .NET\Vc7

 

VCINSTALLDIR:
C:\Program Files\Microsoft Visual Studio .NET

 

VSINSTALLDIR:
C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE
======================================================================

 

그런데, 경우에 따라서는  Visual Studio .NET 2003이 설치된 경로가 "\Program Files\Microsoft Visual Studio .NET\"이 아니라 "\Program Files\Microsoft Visual Studio .NET 2003\"으로 되어 있는 경우도 있다. 이럴 때에는 다음과 같이 Visual Studio .NET 2003이 설치된 경로대로 변경해서 설정해주면 된다.

======================================================================
INCLUDE:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include;
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include;
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include;
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include

 

LIB:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\lib;
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib;
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib;
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib

 

PATH:
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE;
C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN;
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools;
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin;
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin;
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;

 

DevEnvDir:
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE

 

MSVCDir:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7

 

VCINSTALLDIR:
C:\Program Files\Microsoft Visual Studio .NET 2003

 

VSINSTALLDIR:
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
======================================================================

 

요즘 Visual Studio .NET 2003을 사용하는 사람이 많지는 않겠지만, 몇일전까지 Visutal C++ 6.0을 사용했던 본인도 있었으니까...

 

Posted by 신상헌
,