Linker Errors
In need of help.......
...... with my favourite mag Pc Format they gave away an engine that had been made by the bitmap brothers and its a 2d engine, the structure of it is by using classes in a .lib file which i also have the source to. Yet, when it comes to compiling the demo of how to use the engine i get the following errors (see below). I have Ms Vc++ 6.0 if that helps.
--------------------Configuration: demo - Win32 Debug--------------------
Compiling...
demo.cpp
Linking...
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
gamesystem.lib(gs_keyboard.obj) : error LNK2001: unresolved external symbol _c_dfDIKeyboard
gamesystem.lib(gs_keyboard.obj) : error LNK2001: unresolved external symbol _GUID_SysKeyboard
gamesystem.lib(gs_visual.obj) : error LNK2001: unresolved external symbol _IID_IDirectDraw2
gamesystem.lib(gs_visual.obj) : error LNK2001: unresolved external symbol _DirectDrawCreate@12
gamesystem.lib(gs_input.obj) : error LNK2001: unresolved external symbol _DirectInputCreateA@16
Debug/demo.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
demo.exe - 6 error(s), 1 warning(s)
Edited by - PsyVision on January 27, 2001 5:37:24 AM
PsYvIsIoN
Simple suggestion. RTFM!
In any case, you''ll need to add dxguid.lib ddraw.lib dinput.lib to the project. Go to Project->Settings->Linker and add them to a whole host of other libs already there.
==========================================
In a team, you either lead, follow or GET OUT OF THE WAY.
In any case, you''ll need to add dxguid.lib ddraw.lib dinput.lib to the project. Go to Project->Settings->Linker and add them to a whole host of other libs already there.
==========================================
In a team, you either lead, follow or GET OUT OF THE WAY.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
hehe, i have read the manual and it gives u the borland command line compiler and another one and i get an error when using the other, vide its called.
PsYvIsIoN
Okay, I''ll make myself more precise. RTFM of the product you''re using.
You''re supposed to be using MSVC 6.0, so I don''t understand how Borland Command Line tools and V IDE can come into the picture. There is no mention of these 2 tools in the Visual C++ docs.
==========================================
In a team, you either lead, follow or GET OUT OF THE WAY.
You''re supposed to be using MSVC 6.0, so I don''t understand how Borland Command Line tools and V IDE can come into the picture. There is no mention of these 2 tools in the Visual C++ docs.
==========================================
In a team, you either lead, follow or GET OUT OF THE WAY.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement