[Numpy-discussion] access ndarray in C++

Joris De Ridder Joris.DeRidder@ster.kuleuven...
Wed Apr 23 06:11:53 CDT 2008


Hi Sebastian,

> this is a great ( short ) recipe !

Thanks!

> Could you elaborate on the line
> "You need to compile myextension.cpp and make a shared library from
> it. The easiest way is to use Scons with the constructor file: !?

David already gave the answer. Scons allows you to make shared  
libraries of your C++ code without having to worry about whether it  
should be a .dll,  a .so, or a .dylab library. Plus, it's very easy to  
install.

Cheers,
Joris


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the Numpy-discussion mailing list