gheinrich / bibnumber

Recognize bib numbers from racing photos
118 stars 39 forks source link

build on macos failed #7

Open kolisko opened 7 years ago

kolisko commented 7 years ago

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?

gheinrich commented 7 years ago

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.

huugooo commented 6 years ago

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

Good luck !

dayanand-nani commented 6 years ago

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 dayanand.nani@gmail.com

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