gotomypc / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

How to run the 'C' programs in prog folder of Leptonica in Windows platform #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download leptonica lib & source files
2. Build it in Microsoft Visual Studio 2010

What is the expected output? What do you see instead?
Need to run the lineremoval.c from leptonica by calling from Java. 

While compiling the source in Visual Studio 2010, getting below error.

Cannot open include file: 'freetype.h': No such file or directory

What version of the product are you using? On what operating system?

Leptonica 1.68 - Windows 7 64 bit System

Please provide any additional information below.

Original issue reported on code.google.com by smdk...@gmail.com on 2 Sep 2014 at 10:17

GoogleCodeExporter commented 9 years ago
Both freetype.h and freetype.c are included with the distribution of 1.71.

I suggest that you build with 1.71.  1.68 is now about 3 years old.

Tom Powers can answer more authoritatively.

  -- Dan

Original comment by dan.bloo...@gmail.com on 9 Sep 2014 at 2:35

GoogleCodeExporter commented 9 years ago
See "Building the prog directory programs" [1] for instructions on how to build 
programs like lineremoval.c. While freetype.h and freetype.c are included in 
the distribution, freetype.c is NOT built as part of the standard VS2008 
solution. In all the time I've been working on the Windows version of Leptonica 
no one has complained about this omission.

[1] http://tpgit.github.io/UnOfficialLeptDocs/vs2008/building-prog-dir.html

Original comment by tomp2...@gmail.com on 12 Jan 2015 at 8:58