PDA

View Full Version : Pb building VMS


fedcod
6th March 2007, 20:26
Hi,
I'm using visual studio 2005,last version of VMS and DirectX 8 SDK.

When I build the project, I got the following linker error :

1>Linking...
1>desktop_mode.obj : warning LNK4229: invalid directive '/delayload:vms_desktop.dll' encountered; ignored
1>dxcontext.obj : warning LNK4229: invalid directive '/delayload:d3d8.dll' encountered; ignored
1>nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMT.lib(new.obj)
1>nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMT.lib(delete.obj)
1>nafxcw.lib(wincore.obj) : error LNK2005: _IsPlatformNT already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _InitMultipleMonitorStubs already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xGetSystemMetrics@4 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xMonitorFromPoint@12 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xMonitorFromRect@8 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xMonitorFromWindow@8 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xGetMonitorInfo@8 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xEnumDisplayMonitors@16 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _xEnumDisplayDevices@16 already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnGetSystemMetrics already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnMonitorFromWindow already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnMonitorFromRect already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnMonitorFromPoint already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnGetMonitorInfo already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnEnumDisplayMonitors already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_pfnEnumDisplayDevices already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_fMultiMonInitDone already defined in dxcontext.obj
1>nafxcw.lib(wincore.obj) : error LNK2005: _g_fMultimonPlatformNT already defined in dxcontext.obj
1>LINK : fatal error LNK1104: cannot open file 'libci.lib'


Any Idea ?