|
From: WestSun <huj...@gm...> - 2012-02-28 12:42:48
|
I built Opticks project with Optick's sources code by myself, and built Framework,Gui,Desktop... each project has include the corresponding .props files. But when i compile this solution , I get these error: 1>Framework.lib(InteractiveApplication.obj) : error LNK2019: unresolved external symbol "int __cdecl qInitResources_Application(void)" (?qInitResources_Application@@YAHXZ),referenced in function "public: virtual int __thiscall InteractiveApplication::run(int,char * *)" (?run@InteractiveApplication@@UAEHHPAPAD@Z) 1>Gui.lib(ApplicationWindow.obj) : error LNK2001:unresolved external symbol "public: virtual struct QMetaObject const * __thiscall ApplicationWindow::metaObject(void)const " (?metaObject@ApplicationWindow@@UBEPBUQMetaObject@@XZ) 1>Gui.lib(ApplicationWindow.obj) : error LNK2001: unresolved external "public: virtual void * __thiscall ApplicationWindow::qt_metacast(char const *)" (?qt_metacast@ApplicationWindow@@UAEPAXPBD@Z) 1>Gui.lib(ApplicationWindow.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall ApplicationWindow::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@ApplicationWindow@@UAEHW4Call@QMetaObject@@HPAPAX@Z) 1>Gui.lib(ApplicationWindow.obj) : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall GraphicGroupImp::metaObject(void)const " (?metaObject@GraphicGroupImp@@UBEPBUQMetaObject@@XZ) How to fix it? thanks! -- View this message in context: http://opticks-devs.2021163.n4.nabble.com/Link-error-tp4427966p4427966.html Sent from the opticks-devs mailing list archive at Nabble.com. |