PDA

View Full Version : unresolved external symbol __imp__SystemParametersInfoA@16 referenced in function


Anddos
05-28-2007, 09:38 PM
i am compiling the mymod for the first time with visual studio 2005 express in release mode and get this problem ,


1>Linking...
1>tier2.lib(tier2.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
1> Creating library Release HL2MP/client.lib and object Release HL2MP/client.exp
1>in_mouse.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoA@16 referenced in function "public: virtual void __thiscall CInput::ActivateMouse(void)" (?ActivateMouse@CInput@@UAEXXZ)
1>Release HL2MP/client.dll : fatal error LNK1120: 1 unresolved externals
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://c:\mod\src\cl_dll\Release HL2MP\BuildLog.htm"
1>client_hl2mp - 2 error(s), 2 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

ProZak
05-29-2007, 01:40 AM
Make sure user32.lib is included in your project. To check whether is it or not do this:

1) Goto the properties of your project
2) Configuration Properties > Linker > Input
3) Make sure user32.lib is present under Additional Dependencies
4) Recompile :)

This is my best guess anyway :)

Anddos
05-29-2007, 02:10 AM
it is included before i posted

Marine
05-29-2007, 02:53 AM
Make sure you have the MICROSOFT PLATFORM SDK installed -- also make sure in the properties you have selected the proper lib directory.