저는 C++에 새로운 것이므로 샘플 C++ 프로그램을 다운로드했습니다. 샘플 프로그램은 컴파일 다음과 같은 오류 칠 것 같다 : -오류 LNK2019 해결되지 않은 외부 기호
Error 22 error LNK2019: unresolved external symbol [email protected] referenced in function "protected: virtual int __thiscall COpenTsrv::OnInitDialog(void)" ([email protected]@@MAEHXZ) Opentsrv.obj
내가 언급 함수에 추적을하지만 난 그것을 잘못 아무것도 몰라?
BOOL COpenTsrv::OnInitDialog()
{
CDialog::OnInitDialog();
CenterWindow();
acsEnumServerNames(ST_CSTA, AddToList, (unsigned long) (CComboBox*)&m_TserverListControl);
UpdateData(FALSE);
다음은 빌드 로그입니다. 외관상으로는 아직도 다른 과실이 있고 그러나 첫번째 것으로 시작하고 싶으면.
1>Generating Code...
1>Compiling resources...
1>Compiling manifest to resources...
1>Linking...
1>Opentsrv.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: virtual int __thiscall COpenTsrv::OnInitDialog(void)" (? [email protected]@@MAEHXZ)
1>Opentsrv.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall COpenTsrv::OnSelchangeTserverlist(void)" ([email protected]@@IAEXXZ)
1>Opentsrv.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: virtual void __thiscall COpenTsrv::OnOK(void)" ([email protected]@@MAEXXZ)
1>Tsapi.obj : error LNK2001: unresolved external symbol [email protected]
1>Opentsrv.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: virtual void __thiscall COpenTsrv::OnOK(void)" ([email protected]@@MAEXXZ)
1>Opentsrv.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: virtual void __thiscall COpenTsrv::OnOK(void)" ([email protected]@@MAEXXZ)
1>Opentsrv.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: long __thiscall COpenTsrv::OnTsapiAcsConfirmation(unsigned int,long)" ([email protected]@@[email protected])
1>Sampldlg.obj : error LNK2019: unresolved external symbol _cstaMak[email protected] referenced in function "protected: void __thiscall CSampleDlg::OnCall(void)" ([email protected]@@IAEXXZ)
1>Sampldlg.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall CSampleDlg::OnHangup(void)" ([email protected]@@IAEXXZ)
1>Sampldlg.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall CSampleDlg::OnAnswer(void)" ([email protected]@@IAEXXZ)
1>Tsapi.obj : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: long __thiscall CTsapiWnd::OnTsapiMsg(unsigned int,long)" ([email protected]@@[email protected])
1>C:\Users\steventang\Documents\Visual Studio 2005\Projects\TSAPINEW\Debug\TSAPINEW.exe : fatal error LNK1120: 10 unresolved externals
1>Build log was saved at "file://c:\Users\steventang\Documents\Visual Studio 2005\Projects\TSAPINEW\TSAPINEW\Debug\BuildLog.htm"
1>TSAPINEW - 12 error(s), 21 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
올바른 방향으로 나를 가리켜 줄 수 있으면 도움이 될 것입니다.
고마워요.
소스 또는 라이브러리 파일이 누락 되었습니까? –
링커 명령 줄에 {csta32.lib}이 (가)없는 것 같습니다. –
어떻게 링커 명령 줄에 csta32.lib를 추가합니까 ?? –