Re: Library Link error.
- From: "Dhananjaya R" <Dhananjaya.r@xxxxxxxxxx>
- Date: Thu, 9 Jun 2005 16:11:13 +0530
I do have the Library's that are needed and i have linked them. The the
functions and the class on which the linker is complaining is part of the
project..
So i am not sure on what may be causing that problem...
Regards
"Guy" <Guy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3CE3530-4EF1-4256-B9A2-E3454C1DA75F@xxxxxxxxxxxxxxxx
> That's not the compiler giving the error, it's the linker. It needs to
> reference the lib file for the library you are calling - you need to
> reference it in your project.
>
> "Dhananjaya R" wrote:
>
> > Hi All,
> >
> > i am developing a image viewer application which draws a JPG file on the
HP
> > IPAQ (CE WM 2003).. I am using some libraries providing the compression
and
> > a DIBSection Wrapper class by Chris Munder ... but the following link
error
> > is coming. I am struck at this point please help me.
> >
> > I do have header file included in the application and the header has the
> > declaration of the functions the compiler says unresolved.
> >
> > public:
> > CDIBSectionLite(void);
> > virtual ~CDIBSectionLite();
> > void DeleteObject();
> >
> > BOOL LoadJPG(LPCTSTR lpszFileName);
> >
> > // Operations (Display)
> > public:
> > BOOL Draw(CDC* pDC, CPoint ptDest, BOOL bForceBackground = FALSE);
> > BOOL Stretch(CDC* pDC, CPoint ptDest, CSize size, BOOL
bForceBackground
> > = FALSE);
> >
> > Please help on solving this problem
> >
> > PocketPCTestView.cpp
> > Linking...
> > Creating library ARMDbg/PocketPCTest.lib and object
> > ARMDbg/PocketPCTest.exp
> > PocketPCTestView.obj : error LNK2019: unresolved external symbol
"public:
> > int __cdecl CDIBSectionLite::LoadJPG(unsigned short const *)"
> > (?oadJPG@CDIBSectionLite@@QAAHPBG@Z) referenced in function "protected:
> > __cdecl CPocketPCTestView::CPocketPCTest
> > View(void)" (??0CPocketPCTestView@@IAA@XZ)
> > PocketPCTestView.obj : error LNK2019: unresolved external symbol
"public:
> > __cdecl CDIBSectionLite::CDIBSectionLite(void)"
(??0CDIBSectionLite@@QAA@XZ)
> > referenced in function "protected: __cdecl
> > CPocketPCTestView::CPocketPCTestView(void)" (??0CPocket
> > PCTestView@@IAA@XZ)
> > PocketPCTestView.obj : error LNK2019: unresolved external symbol
"public:
> > virtual __cdecl CDIBSectionLite::~CDIBSectionLite(void)"
> > (??1CDIBSectionLite@@UAA@XZ) referenced in function "public: virtual
__cdecl
> > CPocketPCTestView::~CPocketPCTestView(voi
> > d)" (??1CPocketPCTestView@@UAA@XZ)
> > PocketPCTestView.obj : error LNK2019: unresolved external symbol
"public:
> > int __cdecl CDIBSectionLite::Draw(class CDC *,class CPoint,int)"
> > (?Draw@CDIBSectionLite@@QAAHPAVCDC@@VCPoint@@H@Z) referenced in function
> > "public: virtual void __cdecl CPocket
> > PCTestView::OnDraw(class CDC *)"
(?OnDraw@CPocketPCTestView@@UAAXPAVCDC@@@Z)
> > ARMDbg/PocketPCTest.exe : fatal error LNK1120: 4 unresolved externals
> > Error executing link.exe.
> > Creating browse info file...
> >
> > PocketPCTest.exe - 5 error(s), 0 warning(s)
> >
> > regards
> > Dhananjaya
> >
> >
> >
.
- References:
- RE: Library Link error.
- From: Guy
- RE: Library Link error.
- Prev by Date: Re: Divx on Mitac Mio 168
- Next by Date: Codec development
- Previous by thread: RE: Library Link error.
- Next by thread: Re: Nevomedia Server problem
- Index(es):
Relevant Pages
|