See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: UMMU LNK 2005 errors  (Read 2568 times)

0 Members and 1 Guest are viewing this topic.

Offline Xyon

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
13 January 2012, 01:28:23
I'm having a bit of a headscratch with this.

Code: [Select]
1>UMmuSDK.lib(ActionArea.obj) : error LNK2005: "public: virtual bool __thiscall MFD::ConsumeKeyImmediate(char *)" (?ConsumeKeyImmediate@MFD@@UAE_NPAD@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(ActionArea.obj) : error LNK2005: "public: virtual void __thiscall MFD::WriteStatus(void *)const " (?WriteStatus@MFD@@UBEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(ActionArea.obj) : error LNK2005: "public: virtual void __thiscall MFD::ReadStatus(void *)" (?ReadStatus@MFD@@UAEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(UMmuSDK.obj) : error LNK2005: "public: virtual bool __thiscall MFD::ConsumeKeyImmediate(char *)" (?ConsumeKeyImmediate@MFD@@UAE_NPAD@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(UMmuSDK.obj) : error LNK2005: "public: virtual void __thiscall MFD::WriteStatus(void *)const " (?WriteStatus@MFD@@UBEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(UMmuSDK.obj) : error LNK2005: "public: virtual void __thiscall MFD::ReadStatus(void *)" (?ReadStatus@MFD@@UAEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(universal_mmu.obj) : error LNK2005: "public: virtual bool __thiscall MFD::ConsumeKeyImmediate(char *)" (?ConsumeKeyImmediate@MFD@@UAE_NPAD@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(universal_mmu.obj) : error LNK2005: "public: virtual void __thiscall MFD::WriteStatus(void *)const " (?WriteStatus@MFD@@UBEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)
1>UMmuSDK.lib(universal_mmu.obj) : error LNK2005: "public: virtual void __thiscall MFD::ReadStatus(void *)" (?ReadStatus@MFD@@UAEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)

Does UMMU.lib define an MFD or something?



Offline Centaur

  • Sr. Member
  • ****
  • Posts: 252
  • Karma: 0
Reply #1 - 30 April 2012, 09:57:16
I have the same error


Centaur

Offline Centaur

  • Sr. Member
  • ****
  • Posts: 252
  • Karma: 0
Reply #2 - 30 April 2012, 12:28:04
Found, orbiter.lib called twice


Centaur

Offline SolarLiner

  • Global Moderator
  • Legend
  • *****
  • Posts: 2769
  • Country: France fr
  • Karma: 55
  • a été remercié par Le Créateur
Reply #3 - 30 April 2012, 16:31:51
Quote
Centaur a écrit:
Found, orbiter.lib called twice

Yes, be sure that headers and library files aren't already included, is written by the compiler if this type of error occur.


« Last Edit: 30 April 2012, 16:31:51 by SolarLiner »