fongoses / leptonica

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

dwamorph2_reg and dwamorph3_reg don't link? #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try compile and link dwamorph2_reg and dwamorph3_reg.

What is the expected output? What do you see instead?
I expect to link dwamorph2_reg and dwamorph3_reg.
dwamorph2_reg and dwamorph3_reg fail to link because of an "unresolved
external symbol pixMorphDwa_3" error.

What version of the product are you using? On what operating system?
leptonlib-1.64
Microsoft Visual Studio 2008 SP1 with latest updates also applied.
Windows XP Pro SP3.

Please provide any additional information below.
Maybe pixMorphDwa_3 is one of those auto-gen'ed functions that you have to
create by running another program? If so, then I think the comments at the
top of dwamorph2_reg and dwamorph3_reg should indicate the proper steps you
need to go thru to run these regression tests.

Original issue reported on code.google.com by tomp2...@gmail.com on 15 Jan 2010 at 7:13

GoogleCodeExporter commented 9 years ago
This is fixed as follows:
(1) dwamorph1_reg.c is now just a generator of linear dwa C code: 
dwalineargen.c.
   It is no longer part of a regression test.

(2) dwamorph2_reg.c --> (renamed) dwamorph1_reg.c
(3) dwamorph3_reg.c --> (renamed) dwamorph2_reg.c
Both of these require dwalinear.3.c and dwalinearlow.3.c to be available for
compilation, so these will now be precomputed and in the prog directory.

Then when you make dwamorph1_reg, it first compiles the dwalinear*.3.c files,
and links them.  Likewise, dwamorph2_reg links those files.

Will be fixed in 1.65

Original comment by dan.bloo...@gmail.com on 18 Jan 2010 at 1:20

Attachments:

GoogleCodeExporter commented 9 years ago
here's the other file of auto-gen'd code for all the linear Sels

Original comment by dan.bloo...@gmail.com on 18 Jan 2010 at 1:22

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 1.65

Original comment by dan.bloo...@gmail.com on 8 Apr 2010 at 6:03