2013-02-22 2 views
0

이러한 오류 메시지와 관련된 문제점은 무엇입니까? 나는 모든 것을 검사하려고했지만 여전히 오류의 원인을 찾지 못했습니다.VC++ 2010 Express에서 프로젝트를 빌드 할 때 오류가 발생했습니다.

당신에 따르면, obj 오류 다음에 오류 LNK2019가 표시됩니다. 함수에서 참조 된 확인되지 않은 외부 기호 imp__is_CaptureVideo가 무엇인지, 그 원인은 무엇입니까?

내가 ++ 비주얼 익스프레스 C를 사용하고

2010 년 감사합니다. 당신이 '추가를 추가 한 것처럼

1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_CaptureVideo referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnButtonStart(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_StopLiveVideo referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnButtonStop(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_SetImageMem referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnBnClickedButtonLoadParameter(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_AllocImageMem referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnBnClickedButtonLoadParameter(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_SetColorMode referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnBnClickedButtonLoadParameter(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_AOI referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnBnClickedButtonLoadParameter(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_FreeImageMem referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnBnClickedButtonLoadParameter(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_ParameterSet referenced in function "private: void __thiscall CIdsSimpleLiveDlg::OnBnClickedButtonLoadParameter(void)" (?OnBnClicke[email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_EnableMessage referenced in function "private: bool __thiscall CIdsSimpleLiveDlg::OpenCamera(void)" ([email protected]@@AAE_NXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_GetSensorInfo referenced in function "private: bool __thiscall CIdsSimpleLiveDlg::OpenCamera(void)" ([email protected]@@AAE_NXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_RenderBitmap referenced in function "private: long __thiscall CIdsSimpleLiveDlg::OnUEyeMessage(unsigned int,long)" ([email protected]@@[email protected]) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_ExitCamera referenced in function "private: void __thiscall CIdsSimpleLiveDlg::ExitCamera(void)" ([email protected]@@AAEXXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_GetColorDepth referenced in function "private: int __thiscall CIdsSimpleLiveDlg::InitDisplayMode(void)" ([email protected]@@AAEHXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_SetDisplayMode referenced in function "private: int __thiscall CIdsSimpleLiveDlg::InitDisplayMode(void)" ([email protected]@@AAEHXZ) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_GetDuration referenced in function "private: int __thiscall CIdsSimpleLiveDlg::InitCamera(unsigned long *,struct HWND__ *)" ([email protected]@@[email protected]@@Z) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_InitCamera referenced in function "private: int __thiscall CIdsSimpleLiveDlg::InitCamera(unsigned long *,struct HWND__ *)" ([email protected]@@[email protected]@@Z) 
1>IdsSimpleLiveDlg.obj : error LNK2019: unresolved external symbol __imp__is_ImageFormat referenced in function "private: void __thiscall CIdsSimpleLiveDlg::GetMaxImageSize(int *,int *)" ([email protected]@@[email protected]) 
1>nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv 
1>nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc 
1>C:\Program Files\IDS\uEye\Develop\Source\SimpleLive\Debug\po.exe : fatal error LNK1120: 19 unresolved externals 
+0

Ahem, 소스 코드? –

+2

좋은데, 아무도 당신이 실제로 무엇을 시도하는지 알지 못합니다. 라이브러리를 연결하지 않은 것처럼 보입니다. –

+1

VB C++ 2010 btw는 무엇입니까? C++과 VB의 혼합? – Axel

답변

0

내가 라이브러리 디렉토리에 디렉토리를 추가, 속성 내 프로젝트의 다음을 클릭하여 특파원 라이브러리를 추가 한

보인다 라이브러리 디렉토리 '를 VS 프로젝트에 추가했지만 실제 라이브러리 파일 (windows extension : .lib)은 링크하지 않았습니다. 나는 당신이 한 것은

Project Properties -> Configuration Properties-> Linker -> General -> Additional Library Directories

생각하고 제 3 자 'lib 디렉토리는'내부에있는 directoy을 추가했습니다. 그러나 실제로이 파일은 '.lib'파일과 링크되지 않습니다 (VS가 연결된 .lib 파일을 검색하는 디렉토리를 추가 한 것입니다). 같은 목록이 Right click on your project -> Project Properties -> Configuration Properties-> Linker -> Input -> Additional Dependencies

:

는 다음을 시도

'kernel32.lib;user32.lib;...;%(AdditionalDependencies)' 

가 그리고 당신의 'lib 디렉토리 파일'의 이름이 나타납니다 내부 somewehere. 그렇지 않으면 추가해야합니다. 나는. 제 3 자 라이브러리의 라이브러리 이름이 'myLib.lib'인 경우 대신에 삽입 할 것입니다.

'kernel32.lib;user32.lib;...;myLib.lib;%(AdditionalDependencies)' 
관련 문제