This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, May 17, 2006 3:15:39 AM(UTC)
Groups: Registered
Posts: 14
Hi,
I am developing application using Lead tools 13 and VC++. I had added include & lib folders in project settings.
After that, I had also added following declarations in stdafx.h
#include "ClassLib\ltWrappr.h"
#include "ltocr.h"
I have written only 4-5 line in button click event:
L_HOCR m_LeadOcr = NULL;
L_INT nRet;
BITMAPHANDLE LEADBitmap;
nRet = L_LoadBitmap
("D:\\Projects\\EI-ReEngg\\iPreCode\\path\\input\\Job201\\batch23\\Job0010101.tif",&LEADBitmap,0,ORDER_BGR,NULL,NULL);
And it is giving following errors:
Error 1 error LNK2019: unresolved
external symbol _L_LoadBitmap@24 referenced in function "public: void
__thiscall CLEADdemo3Dlg::OnBnClickedButton1(void)"
(?OnBnClickedButton1@CLEADdemo3Dlg@@QAEXXZ)
LEADdemo3Dlg.obj
Error 2 fatal error LNK1120: 1
unresolved externals
D:\VikasVC\LEADdemo3\Debug\LEADdemo3.exe
1
Please advice ASAP.
Thanks In Advance
Vikas Kohli
#2
Posted
:
Sunday, May 21, 2006 1:26:00 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
This is probably a LIB file issue. Try including the LIB file
ltfil_n.lib to your application. This is in the
"...\LEADTOOLS\LIB" folder on your machine.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.