I wish to include this in my cpp file:
#include <boost/lambda/lambda.hpp>
For my Makefile Project I have selected Properties>Path and Symbols>GNU C++>Include Directories>
and added:
/opt/local/include
But I get this error when I try to build:
**** Build of configuration Default for project Main ****
make all
g++ -O2 -g -Wall -fmessage-length=0 -c -o Main.o Main.cpp
Main.cpp:107:35: error: boost/lambda/lambda.hpp: No such file or directory
What might the problem be?
The file /opt/local/include/boost/lambda/lambda.hpp exists.
This is my makefile:
CXXFLAGS = -O2 -g -Wall -fmessage-length=0
SRCS = Main.cpp
OBJS = Main.o
LIBS = -framework CoreMIDI -framework CoreAudio -framework CoreFoundation -framework CoreServices
TARGET = Main
$(TARGET): $(OBJS)
$(CXX) -Wall -D__MACOSX_CORE__ -o $(TARGET) $(SRCS) $(LIBS)
all: $(TARGET)
clean:
rm -f $(OBJS) $(TARGET)
Should work.