Problem GDIClient.lib missing

Poscik

Addon Developer
Addon Developer
Joined
Mar 28, 2008
Messages
512
Reaction score
3
Points
18
Location
Sulejówek
Hi! I'm little bored today, so I decided to have some fun with D3D7Client compiling and modifying few things. I can't compile new module, because GDIClient.lib is missing. I didn't find it in any SDK kit. I have VC2008, Microsoft SDK, DX9 sdk and DX7sdk. So where I can find this missed library?
 

Poscik

Addon Developer
Addon Developer
Joined
Mar 28, 2008
Messages
512
Reaction score
3
Points
18
Location
Sulejówek
Ahhh, I didn't realized, that I have to compile this library myself ;)
 

Poscik

Addon Developer
Addon Developer
Joined
Mar 28, 2008
Messages
512
Reaction score
3
Points
18
Location
Sulejówek
I'll attach next problem to this thread. Now I have problem with linker. Sources of GDIClient and D3D7Client have been downloaded from svn and haven't been modificated. I have 090331 beta and the same version of SDK. I'm compiling both GDIClient and D3D7Client in release mode. GDIClient has no errors. D3D7Client has those:

Code:
Linking...
GDIClient.lib(GDIClient.obj) : error LNK2005: "public: virtual void __thiscall oapi::Module::clbkTimeJump(double,double,double)" (?clbkTimeJump@Module@oapi@@UAEXNNN@Z) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "public: virtual void __thiscall oapi::Module::clbkVesselJump(void *)" (?clbkVesselJump@Module@oapi@@UAEXPAX@Z) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "public: struct oapi::GraphicsClient::VIDEODATA * __thiscall oapi::GraphicsClient::GetVideoData(void)" (?GetVideoData@GraphicsClient@oapi@@QAEPAUVIDEODATA@12@XZ) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "protected: virtual bool __thiscall oapi::GraphicsClient::clbkUseLaunchpadVideoTab(void)const " (?clbkUseLaunchpadVideoTab@GraphicsClient@oapi@@MBE_NXZ) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "protected: virtual void __thiscall oapi::GraphicsClient::clbkCloseSession(bool)" (?clbkCloseSession@GraphicsClient@oapi@@MAEX_N@Z) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "protected: virtual void __thiscall oapi::GraphicsClient::clbkUpdate(bool)" (?clbkUpdate@GraphicsClient@oapi@@MAEX_N@Z) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "protected: struct HINSTANCE__ * __thiscall oapi::GraphicsClient::ModuleInstance(void)const " (?ModuleInstance@GraphicsClient@oapi@@IBEPAUHINSTANCE__@@XZ) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "protected: struct HINSTANCE__ * __thiscall oapi::GraphicsClient::OrbiterInstance(void)const " (?OrbiterInstance@GraphicsClient@oapi@@IBEPAUHINSTANCE__@@XZ) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "protected: struct HWND__ * __thiscall oapi::GraphicsClient::LaunchpadVideoTab(void)const " (?LaunchpadVideoTab@GraphicsClient@oapi@@IBEPAUHWND__@@XZ) already defined in orbiter.lib(Orbiter.exe)
GDIClient.lib(GDIClient.obj) : error LNK2005: "public: virtual void __thiscall oapi::VisObject::clbkEvent(unsigned long,unsigned int)" (?clbkEvent@VisObject@oapi@@UAEXKI@Z) already defined in orbiter.lib(Orbiter.exe)

What I have to do with it?
 
Top