[TxMt] Re: boost library

Allan Odgaard mailinglist at textmate.org
Sun Oct 16 07:11:13 UTC 2011


On 16 Oct 2011, at 00:08, Andre de Boer wrote:

> I added /opt/local/include in TextMate's path:
> /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

Do *not* alter/set PATH (unless you know what you’er doing). This is unrelated to running C++ code but affects a lot of other stuff.

> Boost is in /opt/local/include:

I assume you’re using the built-in “Run” command for C/C++ on ⌘R.

In this case you want to set the TM_CXX_FLAGS variable to something like: -I/opt/local/include

Additionally, since your program reads from stdin you should read http://blog.macromates.com/2009/interactive-input/



More information about the textmate mailing list