0
LNK2019 및 LNK2001과 관련된 모든 제안을 완료했지만 문제가 해결되지 않았습니다. 내 문제는 phonon 및 DLL 함께 할 수 있지만 내 프로젝트에 .pro
파일이 없기 때문에 필요한 라이브러리를 연결하는 방법을 알아낼 수 없습니다. 저는 vsaddin과 vs2010 및 cmake를 사용하고 있습니다. 내가 가진오류 LNK2019 및 LNK2001 : Phonon이 vs2010에서 확인되지 않은 외부 기호
set(QT_LIBS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml QtXmlPatterns phonon)
오류는 다음과 같다 :
12>MainWindow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Phonon::Path::~Path(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall MainWindow::MainWindow(class QString const &,class QWidget *,class QFlags<enum Qt::WindowType>)" ([email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@@@@Z)
12>MainWindow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class Phonon::Path __cdecl Phonon::createPath(class Phonon::MediaNode *,class Phonon::MediaNode *)" ([email protected]@@[email protected]@[email protected]@[email protected]) referenced in function "public: __thiscall MainWindow::MainWindow(class QString const &,class QWidget *,class QFlags<enum Qt::WindowType>)" ([email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@@@@Z)
12>MainWindow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Phonon::MediaObject::setTickInterval(int)" ([email protected]@[email protected]@[email protected]) referenced in function "public: __thiscall MainWindow::MainWindow(class QString const &,class QWidget *,class QFlags<enum Qt::WindowType>)" ([email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@@@@Z)
...
12>MainWindow.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Phonon::AudioOutput::metaObject(void)const " ([email protected]@[email protected]@[email protected]@XZ)
12>MainWindow.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall Phonon::AudioOutput::qt_metacast(char const *)" ([email protected]@[email protected]@UAEPAX[email protected])
12>MainWindow.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Phonon::AudioOutput::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@[email protected]@[email protected]@@[email protected])
12>MainWindow.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Phonon::MediaObject::metaObject(void)const " ([email protected]@[email protected]@[email protected]@XZ)
12>MainWindow.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall Phonon::MediaObject::qt_metacast(char const *)" ([email protected]@[email protected]@[email protected])
12>MainWindow.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Phonon::MediaObject::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@[email protected]@[email protected]@@[email protected])
...
12>F:\Projects\build_0.02_audio\bin\Debug\Rashomon.exe : fatal error LNK1120: 37 unresolved externals
이 업데이트는 무엇입니까? 내 프로젝트에서 동일한 문제가 발생하고 해결책을 찾을 수 없습니다. –