setup.py:
from distutils.core import setup
from distutils.extension import Extension
import os.path
import sys
if sys.platform == "win32" :
    include_dirs = ["C:/Boost/include/boost-1_41","."]
    libraries=["boost_python-mgw"]
    library_dirs=['C:/Boost/lib']
else :
    include_dirs =
["/usr/include/boost-1_41",".","/usr/lib","/usr/include/ni","/usr/include"]
    libraries=["boost_python","OpenNI"]
    library_dirs=["/usr/lib","/usr/include/ni","/usr/include"]
files = ['OpenNIContextWrapper.cpp', 'OpenNIDepthGeneratorWrapper.cpp',\
    'OpenNIImageGeneratorWrapper.cpp','OpenNIImageMetaDataWrapper.cpp',\
    'conversionHelpers.cpp','PythonOutputStream.cpp','wrapper.cpp']
gccargs=["-export-dynamic"]
setup(name="OpenNIImageMetaDataWrapper",
      ext_modules=[
                    Extension("OpenNIImageMetaDataWrapper",files,
                    library_dirs=library_dirs,
                    libraries=libraries,
                    include_dirs=include_dirs,
                    depends=[],
		    extra_link_args=gccargs),
                    ]
     )
This builds: build/lib.linux-i686-2.6/OpenNIImageMetaDataWrapper.so ->
/usr/lib/python2.6/site-packages
python session:
>>> import OpenNIImageMetaDataWrapper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define init function
(initOpenNIImageMetaDataWrapper)
>>>
I'll be waiting semi-patiently ;-) for your linux make files.
Thanks!
Jeff.
bjam --toolset=msvc-10.0 --build-type=complete stage ;) Hey, noticed you included linux support! Much appreciated. It build fine
on my box..on to some code!
Had to change testOpenNIPythonWrapper.py to:
imageDataRaw = imageGenerator.GetBGR24ImageMapRaw()
			cv.SetData( currentImageFrame, imageDataRaw,imageGenerator.XRes()*3)
depthDataRaw = depthGenerator.GetGrayscale8DepthMapRaw()
			cv.SetData( currentDepthFrame, depthDataRaw,imageGenerator.XRes() )
in the unittestVideoStreams function.
works fine now!
Thanks again for building this!