how to resolve "error lnk 2001"

Y

yanwan

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
 
V

Victor Bazarov

yanwan said:
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_

These are from not having the right libraries for the linker to resolve
the symbols from. Not a language problem. Off-topic here.

Try for the next half-a-year to ask _all_ questions you have in the VC++
newsgroup: microsoft.public.vc.language. You'll learn a great deal about
your IDE and the particulars of the compiler, and when you're ready to
ask _language_ questions, come back.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top