Uncodin / bypass

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.
http://uncodin.github.com/bypass/
Apache License 2.0
1.52k stars 193 forks source link

Compiling library with boost (Homebrew) and Xcode 6 fails #181

Open DivineDominion opened 9 years ago

DivineDominion commented 9 years ago

I've got boost via homebrew:

$ ls -l /usr/local/include/boost/algorithm/string.hpp 
-rw-r--r--  1 ctm  admin  1061 May  9 23:52 /usr/local/include/boost/algorithm/string.hpp

Still I get the following error from the example project (and in my own):

bypass/src/parser.h:27:10: 'boost/algorithm/string.hpp' file not found
DivineDominion commented 9 years ago

By accident I found a stackoverflow thread which mentioned to use -I/usr/local/include for "Other C Flags". This way, the project compiles! I wonder why, though: shouldn't the header paths be used, and shouldn't C++ be used? (Putting the same argument into "Other C++ Flags" doesn't help.)

dagezi commented 9 years ago

@DivineDominion Thanks, your trick worked!