On 11 Nov 2011, at 12:49, Andre de Boer wrote:
PATH = […] and TM_CXX = -I/opt/local/include
TM_CXX is the compiler, so unset this (it defaults to ‘g++’ for C++).
When I test quantlib with g++ -I/opt/local/include/ -I/opt/local/include/boost testQuantlib.cpp -o testQuantlib -L/opt/local/lib/ -lQuantlib it compiles fine.
How must I set the shell variables to use quantlib to compile with TextMate?
You need to set TM_CXX_FLAGS to include the flags used above.