error in usin list with boost
Neil Hodgson
nyamatongwe+thunder at gmail.com
Sun Jun 5 17:34:04 EDT 2005
GujuBoy:
> i have created a "cpp" file which has the followin code and when i try
> to compile it..it does not know what "list" is..it says its
> undefined..i also tried using #include <boost/python/list.hpp>
I would have expected this (except the cstdint.h line which may not
be needed but it was in the code I copied from) to already be in your
code if you are using Boost Python:
#include <boost/python.hpp>
#include <boost/cstdint.hpp>
using namespace boost::python;
Have you read the Tutorial Introduction?
http://www.boost.org/libs/python/doc/tutorial/doc/html/index.html
Neil
More information about the Python-list
mailing list