how to resolve "error lnk 2001"

From: yanwan (yanwan.yan_at_postgrad.manchester.ac.uk)
Date: 12/08/04


Date: Wed, 8 Dec 2004 14:21:36 -0000

I met this problem in executing a c++ project in visual studio.
Does anyone have suggestions to resolve "error lnk 2001"?

--------------------Configuration: reconstruction - Win32
Debug--------------------
Linking...
icarus_camera.obj : error LNK2001: unresolved external symbol _dgels_
icarus_leastsquares.obj : error LNK2001: unresolved external symbol _dgels_
icarus_maths.obj : error LNK2001: unresolved external symbol _dgels_
icarus_dialog.obj : error LNK2001: unresolved external symbol _sdQueryCache
icarus_form.obj : error LNK2001: unresolved external symbol _sdQueryCache
icarus_dialog.obj : error LNK2001: unresolved external symbol _sdInitCache
icarus_form.obj : error LNK2001: unresolved external symbol _sdInitCache
icarus_dialog.obj : error LNK2001: unresolved external symbol _sdClearCache
icarus_form.obj : error LNK2001: unresolved external symbol _sdClearCache
icarus_form.obj : error LNK2001: unresolved external symbol _sdReadFrameData
icarus_iformat.obj : error LNK2001: unresolved external symbol "bool __cdecl
getImageData(char *,unsigned char *)" (?getImageData@@YA_NPADPAE@Z)
icarus_iformat.obj : error LNK2001: unresolved external symbol "bool __cdecl
getImageSize(char *,unsigned int *,unsigned int *)"
(?getImageSize@@YA_NPADPAI1@Z)
icarus_iformat.obj : error LNK2001: unresolved external symbol "bool __cdecl
writeFidoFile(char *,int,int,unsigned char *)"
(?writeFidoFile@@YA_NPADHHPAE@Z)
icarus_iformat.obj : error LNK2001: unresolved external symbol "bool __cdecl
writeDPXFile(char *,int,int,unsigned char *)"
(?writeDPXFile@@YA_NPADHHPAE@Z)
icarus_image.obj : error LNK2001: unresolved external symbol _ex_parseFile
icarus_image.obj : error LNK2001: unresolved external symbol _sdCloseMovie
icarus_main.obj : error LNK2001: unresolved external symbol _sdCloseMovie
icarus_image.obj : error LNK2001: unresolved external symbol
_sdOpenMovieRead
icarus_image.obj : error LNK2001: unresolved external symbol
_sdWriteFrameData
icarus_image.obj : error LNK2001: unresolved external symbol
_sdOpenMovieWrite
icarus_leastsquares.obj : error LNK2001: unresolved external symbol _dgesvd_
icarus_maths.obj : error LNK2001: unresolved external symbol _dgesvd_
icarus_maths.obj : error LNK2001: unresolved external symbol _dscal_
icarus_maths.obj : error LNK2001: unresolved external symbol _dnrm2_
icarus_maths.obj : error LNK2001: unresolved external symbol _dgetri_
icarus_maths.obj : error LNK2001: unresolved external symbol _dgetrf_
icarus_optimizer.obj : error LNK2001: unresolved external symbol _subplx_
icarus_primitive.obj : error LNK2001: unresolved external symbol _dsyevd_
Debug/reconstruction.exe : fatal error LNK1120: 21 unresolved externals
Error executing link.exe.

reconstruction.exe - 29 error(s), 0 warning(s)

Thank you!

yanwan



Relevant Pages

  • Re: win CE 6.0 build error - R3 with latest QFE(upto Aug 2009)
    ... Did you install QFEs after installing R3? ... As far as I know no QFEs were released since the release of R3. ... gwes_lib.lib: error LNK2001: unresolved external symbol ... : fatal error LNK1120: 18 unresolved externals ...
    (microsoft.public.windowsce.platbuilder)
  • linkage errors in release build with VS2005
    ... I am having linkage errors in my release build as ff: ... Class3.obj: error LNK2019: unresolved external symbol ... If I use the CRT Debug Dll in my "C++ code generation" setting, the errors go away - - also this is not pratical - i.e. will lead to run time crashes, since I cannot mix Debug dll and release dlls are memory is allocated differently between the two. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: RtlMoveMemory not being found to link in
    ... DFAXT.obj: error LNK2001: unresolved external symbol ... Debug/BOAEF.dll: fatal error LNK1120: 1 unresolved externals ... This tells me that it is not seeing the definition of RtlCopyMemory from the module, so it is treating it as a Fortran routine with implicit interface. ... I'm writing this from home where I don't have CVF installed, but if I try compiling your source with Intel Visual Fortran, I get errors about the mismatch of the first two arguments to RtlCopyMemory. ...
    (comp.lang.fortran)
  • Re: NetApiBufferFree and DsGetDcNameW missing when build Kerberos.dll
    ... After installed the "Roll-up QEF to 2007", the Kerberos.dll was not created from sysgen. ... So I checked the build.log found the "kerberos.dll" link error LNK1120: 2 unresolved externals. ... Microsoft Incremental Linker Version 7.10.4017 ... kerberos.lib: error LNK2019: unresolved external symbol ...
    (microsoft.public.windowsce.platbuilder)
  • Prb building in Debug mode
    ... fine in Release mode, but when I switch to Debug, I get errors. ... SlaughterHelper.obj: error LNK2019: unresolved external symbol ... Debug\\ReadAcc.exe: fatal error LNK1120: 2 unresolved externals ...
    (microsoft.public.dotnet.languages.vc)