Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, March 26, 2007 7:49:45 PM(UTC)
mellison1049

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

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, March 29, 2007 8:31:35 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 766


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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.120 seconds.