Link to home
Start Free TrialLog in
Avatar of ferolv
ferolv

asked on

unresoved externals LNK 2001

Using Microsoft visual C++ 5.0, I'm trying to compile a test program.  However whenever I try to build the project, I get a Linker 2001 error.  I think what is happening is that the linker is decorating the function names because in the output window the function names are preceded by an underscore.  The question  is, how do I fix this error?

Avatar of trestan
trestan
Flag of Canada image

This error usually occurs when you did not include the file containing the symbol. Pls post more codes about your program.
Avatar of nietod
nietod

what is the function that it is complaining about?  Is this a function from a library you are using?
Go to Project | Settings | C/C++ | Code Generation and make sure that the "Use run-time library" is on "Multithreaded DLL" (for Release builds) or "Debug Multithreaded DLL" (for Debug builds).
ASKER CERTIFIED SOLUTION
Avatar of nari
nari

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial