
Hello to all,
Thank you for giving me an oppurtunity to interact with you
all through this mailing list..
After installing boost python and bjam from ubuntu 9.04
repositories i can't find a clear detailed description about compiling and
running the boost python program from it's tutorials .. Can any among you
please tell me what are the options we need to be give to compile like
g++ filename path/to/boost etc.,
and run this hello world boost python program
http://wiki.python.org/moin/boost.python/SimpleExample using and without
bjam.
This is what i did. I created a c++ file named hello.cpp with
the contents..
#include <string>
namespace { // Avoid cluttering the global namespace.
// A couple of simple C++ functions that we want to expose to Python.
std::string greet() { return "hello, world"; }
int square(int number) { return number * number; }
}
#include