bibnumber icon indicating copy to clipboard operation
bibnumber copied to clipboard

build on macos failed

Open kolisko opened this issue 8 years ago • 3 comments

Hi, I installed all libraries using homebrew:

1 Michal-MacBook-Pro:bibnumber kolisko$ brew list
activemq  boost		 boost-python  elinks	  gettext  icu4c     kubernetes-cli  libmpc	 libtiff     lynx		 ncurses   opencv   pkg-config	readline  tailor     wget
ant	  boost-bcp	 carthage      erlang@19  glib	   ilmbase   leptonica	     libpng	 libtool     lzlib		 nmap	   openexr  python3	s-lang	  tesseract  wxmac
autoconf  boost-build	 check	       freealut   gmp	   isl	     libconfig	     librdkafka  libtoxcore  midnight-commander  node	   openssl  qrencode	sqlite	  toxic      xz
automake  boost-compute  coreutils     gcc	  gnu-sed  jpeg      libevent	     libsodium	 libvpx      mpfr		 numpy	   opus     quilt	swig2	  vim	     yasm
bash	  boost-mpi	 eigen	       gdbm	  grep	   kafkacat  libffi	     libssh2	 links	     mysql		 open-mpi  pcre     rabbitmq	swig@2	  watch
0 Michal-MacBook-Pro:bibnumber kolisko$ 

and build failed:

0 Michal-MacBook-Pro:bibnumber kolisko$ make -C bibnumber/Debug
Building file: ../batch.cpp
Invoking: Cross G++ Compiler
g++ -O0 -g3 -pedantic -Wall -Wextra -c -fmessage-length=0 -MMD -MP -MF"batch.d" -MT"batch.d" -o "batch.o" "../batch.cpp"
../batch.cpp:7:10: fatal error: 'boost/algorithm/string/predicate.hpp' file not found
#include <boost/algorithm/string/predicate.hpp>
         ^
1 error generated.
make: *** [batch.o] Error 1

any idea?

kolisko avatar Jul 05 '17 22:07 kolisko

Sorry I don't have a mac I am not sure how to install Boost. Google suggests brew install boost you might want to check whether Boost headers are properly installed in your include path.

gheinrich avatar Jul 06 '17 11:07 gheinrich

brew install opencv brew install opencv@2 brew install Boost brew install Tesseract brew install Leptonica

Good luck !

huugooo avatar Feb 01 '18 02:02 huugooo

Hi @huugooo

can you please kindly help me in setting up this project in windows / machine.

If you have a doc / steps for setting up ,kindly please share . my gmail user name [email protected]

I have been trying to set this up from couple of weeks unfortuantely I couldn't.

dayanand-nani avatar Feb 26 '18 13:02 dayanand-nani