Hi,
as it might help others here is how I got this running under Windows:
- Downloaded the nlopt-dll folder
- Install Visual Studio Version Python was built with, in my case
2008 Express for Python 2.6
- in the Start menu there should be an entry to start a VS shell with
"lib" on the path
- run the lib command from the readme-windows
- Changes to setup.py:
import numpy
setup (name = 'nlopt',
# ...
include_dirs = ['.', numpy.get_include()]
)
- run the setup.py command as in the readme
- add the directory to the Pythonpath, can be done with right-click on
the workspace symbol
On Linux I didn't have to change anything but maybe you like to
include the changes to setup.py.
Robert
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss