ni.com is currently experiencing issues. Support teams are actively working on the resolution.
We appreciate your patience as we improve our online experience.
ni.com is currently experiencing issues. Support teams are actively working on the resolution.
We appreciate your patience as we improve our online experience.
|
Visual C++로 개발 한 NI Vision 프로그램을 Visual Studio 2005에서 컴파일 시 하기와 같은 에러가 발생합니다.
fatal error C1083 : Cannot open include file : 'nivision.h' or fatal error LNK1104: cannot open file 'nivision.lib'
컴파일 할 수 있는 방법이 있습니까?
#include <nivision.h> 파일을 소스코드 또는 헤더파일에 추가할 경우 컴파일러는 Visual Studio 2005에 명시된 디렉토리에서 nivision.h 파일을 로드하도록 되어 있습니다. Vision 디렉토리가 추가되어 있지 않을 경우 하기와 같은 에러가 발생합니다.
하기의 과정을 통해서 관련 디렉토리를 추가하실 수 있습니다.
1. Tools»Options 을 선택합니다.
2. Projects & Solutions에서 VC++ Directories 를 선택합니다.
3. 디렉토리 항목 표시에서 Include Files를 선택합니다. nivision.h 파일의 경로를 추가하여 컴파일러가 vision 헤더파일을 로드 할 수 있도록 합니다.
4. 디렉토리 항목 표시에서 Library Files을 선택하고 nivision.lib 파일의 경로를 추가합니다.
해당 디렉토리가 없을 경우 Vision Development Module 을 재설치 하시기 바랍니다. 설치 중 툴킷 선택 시 텍스트 기반 언어 지원 항목을 선택하기 바랍니다.
Visual Studio가 이미 설치 되어 있다면, Visual Studio 기반 지원항목이 기본으로 선택 되어 있습니다.
|