Well firstly, you need to give g++ a hint about where to find the boost includes, using the -I parameter.
Second, normally includes go like this: #include <boost/numeric/conversion/converter_policies.hpp>
Hi
could some one point to a link how how to link/compile with boost? or tell me whats missing from the makefile below?
thanks alot
#include <converter_policies.hpp>
using boost::floor;
...
cout << floor(12.45) << endl;
...
the make file;
OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp))
COMP = g++
proj: $(OBJS)
$(COMP) -Wall -o proj $(OBJS)
#-Wall turns on all warnings
clean:
rm -rf *.o proj
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users