magwyz / pastec

Image recognition open source index and search engine
http://pastec.io
GNU Lesser General Public License v3.0
620 stars 175 forks source link

Wrap includes in platform-specific #ifndef guards so that Pastec compiles on OS X #21

Closed ryanfb closed 8 years ago

jeresig commented 8 years ago

I can confirm that this works on OS X. You'll need to install some dependencies to get it to work, namely by running brew install opencv jsoncpp. This is fantastic work Ryan - thank you so much for tackling this!

magwyz commented 8 years ago

Hello,

I think this pull request moves the Apple platform to C++11. I think it would be better to move all the platforms to C++11 in the CMakeLists.txt file. However I have failed to do it properly until now so I merge your pull request. Thank you very much for your contribution.