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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to