Sign in to follow this  

Wierd Link Error Please help

Recommended Posts

When I try to link my application with DXUT (both projects compile fine alone). I get this error when linking my project: 1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library 1>dxut.lib(DXUT.obj) : error LNK2001: unresolved external symbol __imp__InitCommonControls@0 1>dxut.lib(DXUTmisc.obj) : error LNK2001: unresolved external symbol _DXTraceW@20 I think the bottom two are because I didn't link to some library (I linked to only the directx9 libraries, not DX10). I looked up the functions and noticed that one is in a COM .lib and another one (the second) is part of directX. The first one however puzzles me. What does this mean and how can I fix it? Also, I am kinda a nooby to C++ linking (just came from C# and XNA). I was wondering, what is the difference between a DLL and a LIB (Advantages/Disadvantages)? [Edited by - jdub on October 11, 2008 1:38:37 AM]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this