Try going into your properties and change LIBCMT to LIBCMTD
...
http://developer.valvesoftware.com/wiki/Compiling_under_VS2008#Fix_debug_com
pilation


-----Original Message-----
From: Ben Tucker [mailto:[email protected]] 
Sent: Monday, June 08, 2009 12:43 PM
To: HLCoders - Submit
Subject: [hlcoders] Strange Compiling Errors - VS2008

I'm working on a mod from scratch using Orange Box. I'm using VS2008 and I
followed the dev wiki's tutorial on it, yet I'm having these strange errors:

------ Build started: Project: Client (SDK), Configuration: Debug Win32
------

Linking...

LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter_noinfo already
defined in memoverride.obj

Creating library .\Debug_sdk/Client.lib and object .\Debug_sdk/Client.exp

.\Debug_sdk/Client.dll : fatal error LNK1169: one or more multiply defined
symbols found

Build log was saved at "file://c:\Documents and Settings\Benjamin\My
Documents\Mods\CyberSpace Branch\src\game\client\Debug_sdk\BuildLog.htm"

Client (SDK) - 2 error(s), 0 warning(s)

------ Build started: Project: Server (SDK), Configuration: Debug Win32
------

Linking...

LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter_noinfo already
defined in memoverride.obj

Creating library .\Debug_sdk/Server.lib and object .\Debug_sdk/Server.exp

LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other
libs; use /NODEFAULTLIB:library

.\Debug_sdk/Server.dll : fatal error LNK1169: one or more multiply defined
symbols found

Build log was saved at "file://c:\Documents and Settings\Benjamin\My
Documents\Mods\CyberSpace Branch\src\game\server\Debug_sdk\BuildLog.htm"

Server (SDK) - 2 error(s), 1 warning(s)

========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========



As far as I know I haven't changed any of these files...
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to