<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello Thor,</div><div><br></div><div>I added /opt/local/include in TextMate's path:</div>/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/include<div><br></div><div>Boost is in /opt/local/include:</div><div><br></div><div><div>MacBook-Pro-van-Andre-de-Boer:include aajd$ pwd</div><div>/opt/local/include</div></div><div><div>MacBook-Pro-van-Andre-de-Boer:include aajd$ ls boost</div><div>accumulators<span class="Apple-tab-span" style="white-space:pre">                     </span>date_time.hpp<span class="Apple-tab-span" style="white-space:pre">                       </span>intrusive_ptr.hpp<span class="Apple-tab-span" style="white-space:pre">           </span>....</div><div><br></div></div><div>But I still get this message:</div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0); font-family: LuxiMono, 'Bitstream Vera Sans Mono', Monaco, 'Courier New', monospace; font-size: 12px; ">/Users/aajd/Desktop/Rspace/test.cpp:1:35: error: boost/lambda/lambda.hpp: No such file or directory</span></div><div><div><div><br></div><div>Thanks for the help,</div><div>Andre</div><div><br></div><div><br></div><div>On 15 okt. 2011, at 20:27, Thor Erik Lie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Just make sure it's in Textmate's path (configured in the preferences), then it should work like a charm :)<div><br></div><div>Best regards</div><div>Thor<br><br>lørdag 15. oktober 2011 skrev Andre de Boer  følgende:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
How can I include the boost library in a c++ program with TextMate?<br>
So I can run programs like using TextMate.<br>
<br>
#include <boost/lambda/lambda.hpp><br>
#include <iostream><br>
#include <iterator><br>
#include <algorithm><br>
<br>
int main()<br>
{<br>
    using namespace boost::lambda;<br>
    typedef std::istream_iterator<int> in;<br>
<br>
    std::for_each(<br>
        in(std::cin), in(), std::cout << (_1 * 3) << " " );<br>
}<br>
<br>
<br>
Thanks for the reaction,<br>
Andre<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'textmate@lists.macromates.com')">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</blockquote></div><br><br>-- <br>Best regards / Med vennlig hilsen<div>Thor Erik Lie</div>+47 976 20 928<br><a href="http://thorerik.net/" target="_blank">http://thorerik.net</a><br>
<br>
<br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate</blockquote></div><br></div></body></html>