• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 4 5 6 7 8 ... 117 Next »

Linker errors when trying to compile
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Linker errors when trying to compile
09-09-2021, 10:29 AM (This post was last modified: 09-09-2021, 12:27 PM by LittleCoaks.)
#1
LittleCoaks Offline
Junior Member
**
Posts: 22
Threads: 16
Joined: Dec 2020
I've been stuck on this problem for a while now. I'm building with Visual Studio 2019. I've built fine before, but even since i tried adding 4 different files to the build, 2 headers and 2 cpp files, i get 8 LNK2001 errors followed by LNK1180 fatal error. I already added the files to CMakeLists.txt but i am still having issues. Any help on this is appreciated. Below is the log from Visual Studio

Code:
3>LocalPlayersWidget.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl LocalPlayersWidget::metaObject(void)const " (?metaObject@LocalPlayersWidget@@UEBAPEBUQMetaObject@@XZ)
3>LocalPlayersWidget.obj : error LNK2001: unresolved external symbol "public: virtual void * __cdecl LocalPlayersWidget::qt_metacast(char const *)" (?qt_metacast@LocalPlayersWidget@@UEAAPEAXPEBD@Z)
3>LocalPlayersWidget.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl LocalPlayersWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@LocalPlayersWidget@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z)
3>LocalPlayersWidget.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const LocalPlayersWidget::staticMetaObject" (?staticMetaObject@LocalPlayersWidget@@2UQMetaObject@@B)
3>LocalPlayersWindow.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl LocalPlayersWindow::metaObject(void)const " (?metaObject@LocalPlayersWindow@@UEBAPEBUQMetaObject@@XZ)
3>LocalPlayersWindow.obj : error LNK2001: unresolved external symbol "public: virtual void * __cdecl LocalPlayersWindow::qt_metacast(char const *)" (?qt_metacast@LocalPlayersWindow@@UEAAPEAXPEBD@Z)
3>LocalPlayersWindow.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl LocalPlayersWindow::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@LocalPlayersWindow@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z)
3>LocalPlayersWindow.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const LocalPlayersWindow::staticMetaObject" (?staticMetaObject@LocalPlayersWindow@@2UQMetaObject@@B)
3>C:\Users\15165\Rio Modding Project\Project Rio\PR official\Build\x64\Release\Project Rio\bin\Project Rio.exe : fatal error LNK1120: 8 unresolved externals
3>Done building project "DolphinQt.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 32 up-to-date, 1 skipped ==========
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Linker errors when trying to compile - LittleCoaks - 09-09-2021, 10:29 AM
RE: Linker errors when trying to compile - Zopolis4 - 09-09-2021, 04:23 PM
RE: Linker errors when trying to compile - LittleCoaks - 09-10-2021, 01:09 AM
RE: Linker errors when trying to compile - JosJuice - 09-10-2021, 01:13 AM
RE: Linker errors when trying to compile - LittleCoaks - 09-10-2021, 01:34 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode