After I downloaded and installed libgsl, I get the following error:
g++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" -
DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ocropus\" -DVERSION=\"0.3\" -
DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -
DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -
DHAVE_LIBIULIB=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBBLAS=1 -DHAVE_FORK=1 -
DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -
DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -
DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils -I/
local/include -I -I/local/include -g -O2 -Wall -Wno-sign-compare -
Wno-write-strings -Wno-deprecated -g -O2 -MT glclass.o -MD -MP -
MF .deps/glclass.Tpo -c -o glclass.o `test -f './ocr-line/glclass.cc'
|| echo './'`./ocr-line/glclass.cc
In file included from ./include/glinerec.h:57,
from ./ocr-line/glclass.cc:5:
./include/glutils.h:139: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:105: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:129: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:175: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:236: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:421: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:644: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:1166: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:1403: warning: ignoring #pragma omp parallel
./ocr-line/glclass.cc:1623: warning: ignoring #pragma omp parallel
./ocr-utils/components.h:275: warning: struct
ocropus::IComponentConstructor has virtual functions but non-virtual
destructor
/local/include/colib/narray.h: In member function colib::narray<T>&
colib::narray<T>::truncate(int) [with T = char] :
./ocr-utils/narray-binio.h:48: instantiated from here
/local/include/colib/narray.h:261: warning: no return statement in
function returning non-void
/local/include/colib/narray.h: In member function colib::narray<T>&
colib::narray<T>::truncate(int) [with T = int] :
./ocr-line/glclass.cc:295: instantiated from here
/local/include/colib/narray.h:261: warning: no return statement in
function returning non-void
/local/include/colib/rowarrays.h: In function T
colib::rowdist_euclidean(colib::narray<T>&, int, colib::narray<T>&)
[with T = float] :
./ocr-line/glclass.cc:396: instantiated from here
/local/include/colib/rowarrays.h:94: error: call of overloaded sqrt
(float) is ambiguous
/local/include/colib/iarith.h:345: note: candidates are:
colib::interval colib::sqrt(colib::interval)
/local/include/colib/iarith.h:620: note:
colib::dinterval colib::sqrt(colib::dinterval)
On Jun 18, 12:36 pm, "[email protected]"
<[email protected]> wrote:
> On Jun 18, 8:18 pm, Bill <[email protected]> wrote:
>
> > In file included from ./include/glinerec.h:57,
> > from ./ocr-line/glclass.cc:5:
> > ./include/glutils.h:139: warning: ignoring #pragma omp parallel
> > In file included from ./ocr-line/glclass.cc:6:
> > ./include/gsl.h:4:28: error: gsl/gsl_linalg.h: No such file or
> > directory
>
> > Seems to be a missing file.
>
> Actually a missing library, gsl. To build on Mac I needed libjpeg,
> libgsl, libtiff and libpng. Leptonica as you've found you can live
> without.
>
> See also my patches for defects 158, 168 and 169.
>
> http://code.google.com/p/ocropus/issues/detail?id=169
>
> Duncan
>
> Duncan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---