This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, March 26, 2007 7:44:45 PM(UTC)
Groups: Registered
Posts: 2
Hi,
i am working with borland c++ 5.5.1 when tried to compile this code i am getting the following error.i am using the evaluation version of the leadtools v15.This is the code
#define UNICODE
#define _UNICODE
#include
#include
#include "..\..\..\include\ltdoc.h"
int main()
{
cout<<"Testing with lead tool ocr";
return 0;
}
C:\Program Files\LEAD Technologies\LEADTOOLS EVAL 15\Examples\API\foodll>bcc32 ocrlead.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
ocrlead.cpp:
Error E2303 ..\..\..\include\ltdoc.h 855: Type name expected
Error E2303 ..\..\..\include\ltdoc.h 859: Type name expected
Error E2303 ..\..\..\include\ltdoc.h 863: Type name expected
*** 3 errors in Compile ***
Note:i have also used the patches available for lead tool main eval 15.How to correct this error
#2
Posted
:
Thursday, March 29, 2007 8:26:35 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Try including l_bitmap.h as well. For the most part, you will always need to include this because it includes many of the other LEADTOOLS includes.
I checked out the lines that are failing, and each of them use pBITMAPHANDLE, which is defined in l_bitmap.h
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.